discourse/test/javascripts/fixtures/notification_fixtures.js.es6

25 lines
610 B
Plaintext
Raw Normal View History

/*jshint maxlen:10000000 */
import { NOTIFICATION_TYPES } from "fixtures/concerns/notification-types";
2018-06-15 23:03:24 +08:00
export default {
"/notifications": {
notifications: [
{
id: 123,
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" }
},
{
id: 456,
notification_type: NOTIFICATION_TYPES.liked_consolidated,
read: false,
2019-01-16 10:58:11 +08:00
data: { display_username: "aquaman", count: "5" }
}
2018-06-15 23:03:24 +08:00
]
}
};