blob: 7c910015bfd8382994ab66e489b9461baac7420d (
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
|
type Query {
User(id: Int!): User!
}
type Mutation {
shadowHideBadges(userId: Int!): [Badge]!
shadowHideBadge(id: Int!, state: Boolean): [Badge]!
hideBadge(category: String): [Badge]!
updateBadge(
id: Int
post: String
image: String
description: String
time: String
category: String
hidden: Boolean
source: String
designer: String
): [Badge]!
deleteBadge(id: Int!): [Badge]!
pruneUserBadges: [Badge]!
toggleHideMissingBadges: Preferences
toggleHideAWCBadges: Preferences
setBadgeWallCSS(css: String!): Preferences
togglePinnedBadgeWallCategory(category: String!): Preferences
setPinnedBadgeWallCategories(categories: [String!]!): Preferences
setBiography(biography: String!): Preferences
togglePinnedHololiveStream(stream: String!): Preferences
}
type User {
id: Int!
badges: [Badge]!
preferences: Preferences
}
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!]!
}
|