discourse/test/javascripts/fixtures/notification_fixtures.js.es6
2019-06-06 08:18:25 +08:00

25 lines
610 B
JavaScript

/*jshint maxlen:10000000 */
import { NOTIFICATION_TYPES } from "fixtures/concerns/notification-types";
export default {
"/notifications": {
notifications: [
{
id: 123,
notification_type: NOTIFICATION_TYPES.replied,
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,
data: { display_username: "aquaman", count: "5" }
}
]
}
};