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

155 lines
4.2 KiB
Plaintext
Raw Normal View History

export default {
2018-06-15 11:03:24 -04:00
"/posts/398": {
id: 398,
name: "Uwe Keim",
username: "uwe_keim",
avatar_template: "/user_avatar/meta.discourse.org/uwe_keim/{size}/5697.png",
uploaded_avatar_id: 5697,
created_at: "2013-02-05T21:29:00.280Z",
cooked:
"<p>Any plans to support localization of UI elements, so that I (for example) could set up a completely German speaking forum?</p>",
post_number: 1,
post_type: 1,
updated_at: "2013-02-05T21:29:00.280Z",
like_count: 0,
reply_count: 1,
reply_to_post_number: null,
quote_count: 0,
incoming_link_count: 314,
reads: 475,
score: 1702.25,
yours: false,
topic_id: 280,
topic_slug: "internationalization-localization",
display_username: "Uwe Keim",
primary_group_name: null,
version: 1,
can_edit: true,
can_delete: false,
can_recover: true,
user_title: null,
raw:
"Any plans to support localization of UI elements, so that I (for example) could set up a completely German speaking forum?",
actions_summary: [
{ id: 2, count: 0, hidden: false, can_act: true },
{ id: 3, count: 0, hidden: false, can_act: true },
{ id: 4, count: 0, hidden: false, can_act: true },
{ id: 5, count: 0, hidden: true, can_act: true },
{ id: 6, count: 0, hidden: false, can_act: true },
{ id: 7, count: 0, hidden: false, can_act: true },
{ id: 8, count: 0, hidden: false, can_act: true }
2018-06-15 11:03:24 -04:00
],
moderator: false,
admin: false,
staff: false,
user_id: 255,
hidden: false,
hidden_reason_id: null,
trust_level: 2,
deleted_at: null,
user_deleted: false,
edit_reason: null,
can_view_edit_history: true,
wiki: false
},
"/posts/18": {
id: 18,
username: "eviltrout",
avatar_template:
"//www.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9.png?s={size}&r=pg&d=identicon",
name: "Evil Trout",
uploaded_avatar_id: 9,
created_at: "2015-08-13T14:49:11.840Z",
cooked: "<p>This is the first post.</p>",
post_number: 1,
post_type: 1,
updated_at: "2015-08-13T14:49:11.840Z",
reply_count: 0,
reply_to_post_number: null,
quote_count: 0,
incoming_link_count: 0,
reads: 1,
score: 0,
yours: true,
topic_id: 9,
topic_slug: "this-is-a-test-topic",
display_username: "",
primary_group_name: null,
version: 1,
can_edit: true,
can_delete: false,
can_recover: true,
user_title: null,
raw: "This is the first post.",
actions_summary: [
{ id: 3, can_act: true },
{ id: 4, can_act: true },
{ id: 5, hidden: true, can_act: true },
{ id: 7, can_act: true },
{ id: 8, can_act: true }
],
moderator: false,
admin: true,
staff: true,
user_id: 1,
hidden: false,
hidden_reason_id: null,
trust_level: 4,
deleted_at: null,
user_deleted: false,
edit_reason: null,
can_view_edit_history: true,
wiki: false
},
"/posts/19": {
id: 19,
username: "eviltrout",
avatar_template:
"//www.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9.png?s={size}&r=pg&d=identicon",
name: "Evil Trout",
uploaded_avatar_id: 9,
created_at: "2015-08-13T14:49:18.231Z",
cooked: "<p>This is the second post.</p>",
post_number: 2,
post_type: 1,
updated_at: "2015-08-13T14:49:18.231Z",
reply_count: 0,
reply_to_post_number: null,
quote_count: 0,
incoming_link_count: 0,
reads: 1,
score: 0,
yours: true,
topic_id: 9,
topic_slug: "this-is-a-test-topic",
display_username: "",
primary_group_name: null,
version: 1,
can_edit: true,
can_delete: true,
can_recover: true,
read: true,
user_title: null,
raw: "This is the second post.",
actions_summary: [
{ id: 3, can_act: true },
{ id: 4, can_act: true },
{ id: 5, hidden: true, can_act: true },
{ id: 7, can_act: true },
{ id: 8, can_act: true }
],
moderator: false,
admin: true,
staff: true,
user_id: 1,
hidden: false,
hidden_reason_id: null,
trust_level: 4,
deleted_at: null,
user_deleted: false,
edit_reason: null,
can_view_edit_history: true,
wiki: false
}
};