Files
Bianca NenciuandGitHub 8361a6413f DEV: Embed IDs in serializer for about page (#26679)
It used to embed the objects which could lead to duplicated objects
when the same user or category was used multiple times (user was admin,
moderator and category or category was parent for multiple categories).
2024-05-10 20:11:43 +03:00

74 lines
2.0 KiB
JavaScript

export default {
"about.json": {
users: [
{
id: 1,
username: "sam",
name: "Sam Saffron",
avatar_template:
"/user_avatar/meta.discourse.org/sam/{size}/102149_2.png",
title: "co-founder",
last_seen_at: "2030-01-15T13:30:43.272Z",
},
{
id: 32,
username: "codinghorror",
name: "Jeff Atwood",
avatar_template:
"/user_avatar/meta.discourse.org/codinghorror/{size}/110067_2.png",
title: "co-founder",
last_seen_at: "2030-01-15T13:21:56.592Z",
},
{
id: 19,
username: "eviltrout",
name: "Robin Ward",
avatar_template:
"/user_avatar/meta.discourse.org/eviltrout/{size}/5275_2.png",
title: "co-founder",
last_seen_at: "2030-01-14T18:03:08.232Z",
},
],
about: {
can_see_about_stats: true,
stats: {
topic_count: 27480,
post_count: 490358,
user_count: 41719,
topics_last_day: 34,
topics_7_days: 169,
topics_30_days: 517,
posts_last_day: 794,
posts_7_days: 3128,
posts_30_days: 10660,
users_last_day: 123,
users_7_days: 237,
users_30_days: 866,
active_users_last_day: 432,
active_users_7_days: 1004,
active_users_30_days: 2026,
like_count: 499135,
likes_last_day: 120,
likes_7_days: 3449,
likes_30_days: 12313,
chat_messages_last_day: 10,
chat_messages_7_days: 100,
chat_messages_30_days: 1000,
chat_messages_count: 10000,
chat_users_last_day: 10,
chat_users_7_days: 100,
chat_users_30_days: 1000,
chat_users_count: 10000
},
description:
"Discussion about the next-generation open source Discourse forum software",
title: "QUnit Discourse Tests",
locale: "en",
version: "2.2.0.beta8",
https: true,
admin_ids: [1, 32, 19],
moderator_ids: [1, 32, 19],
},
},
};