2014-08-02 05:26:43 +08:00
|
|
|
/*jshint maxlen:10000000 */
|
2019-06-06 08:18:25 +08:00
|
|
|
import { NOTIFICATION_TYPES } from "fixtures/concerns/notification-types";
|
2019-01-16 10:40:16 +08:00
|
|
|
|
2018-06-15 23:03:24 +08:00
|
|
|
export default {
|
|
|
|
"/notifications": {
|
|
|
|
notifications: [
|
|
|
|
{
|
|
|
|
id: 123,
|
2019-06-06 08:18:25 +08:00
|
|
|
notification_type: NOTIFICATION_TYPES.replied,
|
2018-06-15 23:03:24 +08:00
|
|
|
read: false,
|
|
|
|
post_number: 2,
|
|
|
|
topic_id: 1234,
|
|
|
|
slug: "a-slug",
|
|
|
|
data: { topic_title: "some title", display_username: "velesin" }
|
2019-01-16 10:40:16 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 456,
|
2019-06-06 08:18:25 +08:00
|
|
|
notification_type: NOTIFICATION_TYPES.liked_consolidated,
|
2019-01-16 10:40:16 +08:00
|
|
|
read: false,
|
2019-01-16 10:58:11 +08:00
|
|
|
data: { display_username: "aquaman", count: "5" }
|
2019-08-06 18:29:46 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 789,
|
|
|
|
notification_type: NOTIFICATION_TYPES.group_message_summary,
|
|
|
|
read: false,
|
|
|
|
post_number: null,
|
|
|
|
topic_id: null,
|
|
|
|
slug: null,
|
|
|
|
data: {
|
|
|
|
group_id: 41,
|
|
|
|
group_name: "test",
|
|
|
|
inbox_count: 5,
|
|
|
|
username: "test2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 1234,
|
|
|
|
notification_type: NOTIFICATION_TYPES.invitee_accepted,
|
|
|
|
read: false,
|
|
|
|
post_number: null,
|
|
|
|
topic_id: null,
|
|
|
|
slug: null,
|
|
|
|
data: { display_username: "test1" }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 5678,
|
|
|
|
notification_type: NOTIFICATION_TYPES.membership_request_accepted,
|
|
|
|
read: false,
|
|
|
|
post_number: null,
|
|
|
|
topic_id: null,
|
|
|
|
slug: null,
|
|
|
|
data: { group_id: 41, group_name: "test" }
|
2019-01-16 10:58:11 +08:00
|
|
|
}
|
2018-06-15 23:03:24 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
};
|