discourse/test/javascripts/fixtures/user-badges.js.es6

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

71 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-06-30 13:55:44 -04:00
export default {
"/user_badges": {
badges: [
{
id: 874,
name: "Badge 2",
description: null,
badge_type_id: 7
}
],
badge_types: [
{
2018-06-15 11:03:24 -04:00
id: 7,
2016-06-30 13:55:44 -04:00
name: "Silver 2"
2018-06-15 11:03:24 -04:00
}
],
2016-06-30 13:55:44 -04:00
users: [
2018-06-15 11:03:24 -04:00
{
id: 13470,
2016-06-30 13:55:44 -04:00
username: "anne3",
avatar_template:
"//www.gravatar.com/avatar/a4151b1fd72089c54e2374565a87da7f.png?s={size}\u0026r=pg\u0026d=identicon"
2018-06-15 11:03:24 -04:00
}
],
2016-06-30 13:55:44 -04:00
user_badge: {
2018-06-15 11:03:24 -04:00
id: 665,
2016-06-30 13:55:44 -04:00
granted_at: "2014-03-09T20:30:01.190-04:00",
2018-06-15 11:03:24 -04:00
badge_id: 874,
2016-06-30 13:55:44 -04:00
granted_by_id: 13470
2018-06-15 11:03:24 -04:00
}
},
2016-06-30 13:55:44 -04:00
"/user-badges/:username": {
2018-06-15 11:03:24 -04:00
badges: [
{
2016-06-30 13:55:44 -04:00
id: 880,
name: "Badge 8",
description: null,
badge_type_id: 13
},
{
id: 50,
name: "CustomBadge",
description: null,
allow_title: true,
badge_type_id: 3
2016-06-30 13:55:44 -04:00
}
],
badge_types: [
{
id: 13,
name: "Silver 8"
}
],
users: [],
user_badges: [
{
id: 668,
granted_at: "2014-03-09T20:30:01.420-04:00",
badge_id: 880,
granted_by_id: null
},
{
id: 669,
granted_at: "2014-03-09T20:30:01.420-04:00",
badge_id: 50,
granted_by_id: null
2016-06-30 13:55:44 -04:00
}
]
}
};