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

Failed to ignore revisions in .git-blame-ignore-revs.

81 lines
2.0 KiB
JavaScript
Raw Normal View History

2016-12-14 17:26:16 +08:00
export default {
2018-06-15 23:03:24 +08:00
"/groups.json": {
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"
},
{
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"
2018-06-15 23:03:24 +08:00
}
};