discourse/test/javascripts/fixtures/private_messages_fixtures.j...

80 lines
2.1 KiB
JavaScript

/*jshint maxlen:10000000 */
export default {
"/topics/private-messages/eviltrout.json": {
users: [
{
id: 19,
username: "eviltrout",
name: null,
avatar_template: "/letter_avatar_proxy/v4/letter/t/f9ae1b/{size}.png"
},
{
id: 13,
username: "mixtape",
name: null,
avatar_template: "/letter_avatar_proxy/v4/letter/m/34f0e0/{size}.png"
}
],
primary_groups: [],
topic_list: {
can_create_topic: true,
draft: null,
draft_key: "new_topic",
draft_sequence: 33,
per_page: 30,
topics: [
{
id: 174,
title: "BUG: Can not render emoji properly :/",
fancy_title: "BUG: Can not render emoji properly :confused:",
slug: "bug-can-not-render-emoji-properly",
posts_count: 1,
reply_count: 0,
highest_post_number: 2,
image_url: null,
created_at: "2019-07-26T01:29:24.008Z",
last_posted_at: "2019-07-26T01:29:24.177Z",
bumped: true,
bumped_at: "2019-07-26T01:29:24.177Z",
unseen: false,
last_read_post_number: 2,
unread: 0,
new_posts: 0,
pinned: false,
unpinned: null,
visible: true,
closed: false,
archived: false,
notification_level: 3,
bookmarked: false,
liked: false,
views: 5,
like_count: 0,
has_summary: false,
archetype: "private_message",
last_poster_username: "mixtape",
category_id: null,
pinned_globally: false,
featured_link: null,
posters: [
{
extras: "latest single",
description: "Original Poster, Most Recent Poster",
user_id: 13,
primary_group_id: null
}
],
participants: [
{
extras: "latest",
description: null,
user_id: 13,
primary_group_id: null
}
]
}
]
}
}
};