discourse/test/javascripts/fixtures/groups-fixtures.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

81 lines
2.0 KiB
JavaScript
Raw Normal View History

2016-12-14 04:26:16 -05:00
export default {
"/groups.json": {
groups: [
2018-06-15 11:03:24 -04:00
{
id: 41,
automatic: false,
name: "discourse",
user_count: 0,
alias_level: 0,
visible: true,
automatic_membership_email_domains: "",
primary_group: false,
title: null,
grant_trust_level: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: "",
bio_cooked: null,
public_admission: true,
allow_membership_requests: false,
full_name: "Awesome Team"
},
2018-06-15 11:03:24 -04:00
{
id: 42,
automatic: false,
name: "Macdonald",
user_count: 0,
alias_level: 99,
visible: true,
automatic_membership_email_domains: "",
primary_group: false,
title: null,
grant_trust_level: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: null,
bio_cooked: null,
public_admission: false,
allow_membership_requests: true,
membership_request_template: "Please add me",
full_name: null
}
],
extras: { group_user_ids: [] },
total_rows_groups: 2,
load_more_groups: "/groups?page=1"
},
"/groups.json?username=eviltrout": {
groups: [
{
id: 41,
automatic: false,
name: "discourse",
user_count: 0,
alias_level: 0,
visible: true,
automatic_membership_email_domains: "",
primary_group: false,
title: null,
grant_trust_level: null,
has_messages: false,
flair_url: null,
flair_bg_color: null,
flair_color: null,
bio_raw: "",
bio_cooked: null,
public_admission: true,
allow_membership_requests: false,
full_name: "Awesome Team"
}
],
extras: { group_user_ids: [] },
total_rows_groups: 1,
load_more_groups: "/groups?page=1"
2016-12-14 04:26:16 -05:00
}
2018-06-15 11:03:24 -04:00
};