0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-14 22:02:53 +01:00
discourse-custom-wizard/test/javascripts/fixtures/categories.js.es6

222 Zeilen
6,8 KiB
Text

2022-03-16 12:33:34 +01:00
export default {
2022-06-15 08:59:09 +02:00
categories: [
2022-03-16 12:33:34 +01:00
{
2022-06-15 08:59:09 +02:00
id: 1,
name: "Uncategorized",
color: "0088CC",
text_color: "FFFFFF",
slug: "uncategorized",
topic_count: 1,
post_count: 1,
position: 0,
description:
"Topics that don't need a category, or don't fit into any other existing category.",
description_text:
"Topics that don't need a category, or don't fit into any other existing category.",
description_excerpt:
"Topics that don't need a category, or don't fit into any other existing category.",
topic_url: "/t/",
read_restricted: false,
permission: 1,
notification_level: 0,
topic_template: null,
has_children: false,
sort_order: null,
sort_ascending: null,
show_subcategory_list: false,
num_featured_topics: 3,
default_view: null,
subcategory_list_style: "rows_with_featured_topics",
default_top_period: "all",
default_list_filter: "all",
minimum_required_tags: 0,
navigate_to_first_post_after_read: false,
custom_fields: {
create_topic_wizard: null,
2022-03-16 12:33:34 +01:00
},
2022-06-15 08:59:09 +02:00
allowed_tags: [],
allowed_tag_groups: [],
allow_global_tags: false,
min_tags_from_required_group: 1,
required_tag_group_name: null,
read_only_banner: null,
uploaded_logo: null,
uploaded_background: null,
can_edit: true,
2022-03-16 12:33:34 +01:00
},
{
2022-06-15 08:59:09 +02:00
id: 2,
name: "Site Feedback",
color: "808281",
text_color: "FFFFFF",
slug: "site-feedback",
topic_count: 20,
post_count: 21,
position: 1,
description:
"<p>Discussion about this site, its organization, how it works, and how we can improve it.</p>",
description_text:
"Discussion about this site, its organization, how it works, and how we can improve it.",
description_excerpt:
"Discussion about this site, its organization, how it works, and how we can improve it.",
topic_url: "/t/about-the-site-feedback-category/1",
read_restricted: false,
permission: 1,
notification_level: 0,
topic_template: null,
has_children: false,
sort_order: null,
sort_ascending: null,
show_subcategory_list: false,
num_featured_topics: 3,
default_view: null,
subcategory_list_style: "rows_with_featured_topics",
default_top_period: "all",
default_list_filter: "all",
minimum_required_tags: 0,
navigate_to_first_post_after_read: false,
custom_fields: {
create_topic_wizard: null,
2022-03-16 12:33:34 +01:00
},
2022-06-15 08:59:09 +02:00
allowed_tags: [],
allowed_tag_groups: [],
allow_global_tags: false,
min_tags_from_required_group: 1,
required_tag_group_name: null,
read_only_banner: null,
uploaded_logo: null,
uploaded_background: null,
can_edit: true,
2022-03-16 12:33:34 +01:00
},
{
2022-06-15 08:59:09 +02:00
id: 3,
name: "Staff",
color: "E45735",
text_color: "FFFFFF",
slug: "staff",
topic_count: 4,
post_count: 7,
position: 2,
description:
"<p>Private category for staff discussions. Topics are only visible to admins and moderators.</p>",
description_text:
"Private category for staff discussions. Topics are only visible to admins and moderators.",
description_excerpt:
"Private category for staff discussions. Topics are only visible to admins and moderators.",
topic_url: "/t/about-the-staff-category/2",
read_restricted: true,
permission: 1,
notification_level: 0,
topic_template: null,
has_children: false,
sort_order: null,
sort_ascending: null,
show_subcategory_list: false,
num_featured_topics: 3,
default_view: null,
subcategory_list_style: "rows_with_featured_topics",
default_top_period: "all",
default_list_filter: "all",
minimum_required_tags: 0,
navigate_to_first_post_after_read: false,
custom_fields: {
create_topic_wizard: null,
2022-03-16 12:33:34 +01:00
},
2022-06-15 08:59:09 +02:00
allowed_tags: [],
allowed_tag_groups: [],
allow_global_tags: false,
min_tags_from_required_group: 1,
required_tag_group_name: null,
read_only_banner: null,
uploaded_logo: null,
uploaded_background: null,
can_edit: true,
2022-03-16 12:33:34 +01:00
},
{
2022-06-15 08:59:09 +02:00
id: 4,
name: "Lounge",
color: "A461EF",
text_color: "652D90",
slug: "lounge",
topic_count: 1,
post_count: 1,
position: 3,
description:
"<p>A category exclusive to members with trust level 3 and higher.</p>",
description_text:
"A category exclusive to members with trust level 3 and higher.",
description_excerpt:
"A category exclusive to members with trust level 3 and higher.",
topic_url: "/t/about-the-lounge-category/3",
read_restricted: true,
permission: 1,
notification_level: 0,
topic_template: null,
has_children: false,
sort_order: null,
sort_ascending: null,
show_subcategory_list: false,
num_featured_topics: 3,
default_view: null,
subcategory_list_style: "rows_with_featured_topics",
default_top_period: "all",
default_list_filter: "all",
minimum_required_tags: 0,
navigate_to_first_post_after_read: false,
custom_fields: {
create_topic_wizard: null,
2022-03-16 12:33:34 +01:00
},
2022-06-15 08:59:09 +02:00
allowed_tags: [],
allowed_tag_groups: [],
allow_global_tags: false,
min_tags_from_required_group: 1,
required_tag_group_name: null,
read_only_banner: null,
uploaded_logo: null,
uploaded_background: null,
can_edit: true,
2022-03-16 12:33:34 +01:00
},
{
2022-06-15 08:59:09 +02:00
id: 5,
name: "Custom Categories",
color: "0088CC",
text_color: "FFFFFF",
slug: "custom-category",
topic_count: 0,
post_count: 0,
position: 10,
description: "Description of custom category",
description_text: "Description of custom category",
description_excerpt: "Description of custom category",
topic_url: "/t/about-the-custom-category/5",
read_restricted: false,
permission: 1,
notification_level: 0,
topic_template: null,
has_children: false,
sort_order: null,
sort_ascending: null,
show_subcategory_list: false,
num_featured_topics: 3,
default_view: null,
subcategory_list_style: "rows_with_featured_topics",
default_top_period: "all",
default_list_filter: "all",
minimum_required_tags: 0,
navigate_to_first_post_after_read: false,
custom_fields: {
create_topic_wizard: null,
2022-03-16 12:33:34 +01:00
},
2022-06-15 08:59:09 +02:00
allowed_tags: [],
allowed_tag_groups: [],
allow_global_tags: false,
min_tags_from_required_group: 1,
required_tag_group_name: null,
read_only_banner: null,
uploaded_logo: null,
uploaded_background: null,
can_edit: true,
},
],
};