0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-23 01:40:29 +01:00
discourse-custom-wizard/test/javascripts/fixtures/groups.js.es6

313 Zeilen
8 KiB
JavaScript

export default {
groups: [
{
id: 1,
automatic: true,
name: "admins",
display_name: "admins",
user_count: 1,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 0,
automatic: true,
name: "everyone",
display_name: "everyone",
user_count: 0,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 3,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 15,
automatic: false,
name: "custom_group",
user_count: 1,
mentionable_level: 1,
messageable_level: 2,
visibility_level: 3,
primary_group: false,
title: "Custom Group",
grant_trust_level: 3,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: "I am prefilled",
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 99,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 2,
automatic: true,
name: "moderators",
display_name: "moderators",
user_count: 0,
mentionable_level: 0,
messageable_level: 99,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 2,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 3,
automatic: true,
name: "staff",
display_name: "staff",
user_count: 1,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 10,
automatic: true,
name: "trust_level_0",
display_name: "trust_level_0",
user_count: 2,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 11,
automatic: true,
name: "trust_level_1",
display_name: "trust_level_1",
user_count: 2,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 12,
automatic: true,
name: "trust_level_2",
display_name: "trust_level_2",
user_count: 1,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 13,
automatic: true,
name: "trust_level_3",
display_name: "trust_level_3",
user_count: 1,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
{
id: 14,
automatic: true,
name: "trust_level_4",
display_name: "trust_level_4",
user_count: 0,
mentionable_level: 0,
messageable_level: 0,
visibility_level: 1,
primary_group: false,
title: null,
grant_trust_level: null,
incoming_email: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
bio_excerpt: null,
public_admission: false,
public_exit: false,
allow_membership_requests: false,
full_name: null,
default_notification_level: 3,
membership_request_template: null,
members_visibility_level: 0,
can_see_members: true,
can_admin_group: true,
publish_read_state: false,
},
],
};