blob: 70ea066a38e6cc7a8122e33e42ae388f1d0f99ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
type Query {
User(id: Int): User
badges(id: Int!, page: Int, size: Int): [Badge!]!
}
type Mutation {
shadowHideBadges(userId: Int!): User!
shadowHideBadge(id: Int!, state: Boolean): User!
hideBadge(category: String): User!
updateBadge(
id: Int
post: String
image: String
description: String
time: String
category: String
hidden: Boolean
source: String
designer: String
): User!
deleteBadge(id: Int!): User!
pruneUserBadges: User!
toggleHideMissingBadges: User!
toggleHideAWCBadges: User!
setBadgeWallCSS(css: String!): User!
togglePinnedBadgeWallCategory(category: String!): User!
setPinnedBadgeWallCategories(categories: [String!]!): User!
setBiography(biography: String!): User!
togglePinnedHololiveStream(stream: String!): User!
}
type User {
id: Int!
badges: [Badge!]!
preferences: Preferences
badgesCount: Int!
}
type Badge {
post: String!
image: String!
description: String
id: Int!
time: String!
category: String
hidden: Boolean!
source: String
designer: String
shadow_hidden: Boolean!
click_count: Int!
}
type Preferences {
created_at: String!
updated_at: String!
user_id: Int!
pinned_hololive_streams: [String!]!
hide_missing_badges: Boolean!
biography: String
badge_wall_css: String!
hide_awc_badges: Boolean!
pinned_badge_wall_categories: [String!]!
}
|