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

28 lines
614 B
Plaintext
Raw Normal View History

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