speedruncom.js 1.3.1 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -40
- package/lib/Client.d.ts +11 -0
- package/lib/Client.js +23 -0
- package/lib/endpoints/endpoints.get.d.ts +537 -0
- package/{dist → lib}/endpoints/endpoints.get.js +1 -1
- package/lib/endpoints/endpoints.post.d.ts +1055 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/{dist → lib}/interfaces.d.ts +2 -2
- package/lib/responses.d.ts +553 -0
- package/package.json +7 -10
- package/src/Client.ts +30 -0
- package/src/endpoints/endpoints.get.ts +480 -500
- package/src/endpoints/endpoints.post.ts +965 -974
- package/src/index.ts +3 -3
- package/src/interfaces.ts +2 -2
- package/src/responses.ts +649 -716
- package/tsconfig.json +1 -2
- package/dist/BaseClient.d.ts +0 -30
- package/dist/BaseClient.js +0 -78
- package/dist/Client.d.ts +0 -222
- package/dist/Client.js +0 -646
- package/dist/build-client.d.ts +0 -1
- package/dist/build-client.js +0 -64
- package/dist/endpoints/endpoints.get.d.ts +0 -560
- package/dist/endpoints/endpoints.post.d.ts +0 -1066
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -4
- package/dist/responses.d.ts +0 -616
- package/src/BaseClient.ts +0 -108
- package/src/build-client.ts +0 -80
- /package/{dist → lib}/endpoints/endpoints.post.js +0 -0
- /package/{dist → lib}/enums.d.ts +0 -0
- /package/{dist → lib}/enums.js +0 -0
- /package/{dist → lib}/interfaces.js +0 -0
- /package/{dist → lib}/responses.js +0 -0
- /package/{dist → lib}/types.d.ts +0 -0
- /package/{dist → lib}/types.js +0 -0
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
package/dist/responses.d.ts
DELETED
|
@@ -1,616 +0,0 @@
|
|
|
1
|
-
import * as Interfaces from './interfaces.js';
|
|
2
|
-
export interface GetGameLeaderboard2 {
|
|
3
|
-
/**
|
|
4
|
-
* Runs in the leaderboard.
|
|
5
|
-
*/
|
|
6
|
-
runList: Interfaces.GameRun[];
|
|
7
|
-
/**
|
|
8
|
-
* Every Player with a run in a game.
|
|
9
|
-
*/
|
|
10
|
-
playerList: Interfaces.Player[];
|
|
11
|
-
pagination: Interfaces.Pagination;
|
|
12
|
-
}
|
|
13
|
-
export interface GetGameLeaderboard {
|
|
14
|
-
leaderboard: Interfaces.Leaderboard;
|
|
15
|
-
}
|
|
16
|
-
export interface GetGameData {
|
|
17
|
-
game: Interfaces.Game;
|
|
18
|
-
categories: Interfaces.Category[];
|
|
19
|
-
levels: Interfaces.Level[];
|
|
20
|
-
moderators: Interfaces.GameModerator[];
|
|
21
|
-
platforms: Interfaces.Platform[];
|
|
22
|
-
regions: Interfaces.Region[];
|
|
23
|
-
theme?: Interfaces.Theme[];
|
|
24
|
-
users: Interfaces.User[];
|
|
25
|
-
values: Interfaces.Value[];
|
|
26
|
-
variables: Interfaces.Variable[];
|
|
27
|
-
}
|
|
28
|
-
export interface GetGameSummary {
|
|
29
|
-
game: Interfaces.Game;
|
|
30
|
-
gameBoosts: Interfaces.GameBoost[];
|
|
31
|
-
gameModerators: Interfaces.GameModerator[];
|
|
32
|
-
forum: Interfaces.Forum;
|
|
33
|
-
newsList: Interfaces.GameNews[];
|
|
34
|
-
gameStats: Interfaces.GameStats[];
|
|
35
|
-
stats: Interfaces.GameStats;
|
|
36
|
-
relatedGames: Interfaces.Game[];
|
|
37
|
-
seriesList: Interfaces.Series[];
|
|
38
|
-
theme: Interfaces.Theme;
|
|
39
|
-
threadList: Interfaces.Thread[];
|
|
40
|
-
users: Interfaces.User[];
|
|
41
|
-
challengeList: Interfaces.Challenge[];
|
|
42
|
-
challengeCount: number;
|
|
43
|
-
guideCount: number;
|
|
44
|
-
levelCount: number;
|
|
45
|
-
newsCount: number;
|
|
46
|
-
relatedCount: number;
|
|
47
|
-
resourceCount: number;
|
|
48
|
-
streamCount: number;
|
|
49
|
-
threadCount: number;
|
|
50
|
-
}
|
|
51
|
-
export interface GetGameRecordHistory {
|
|
52
|
-
playerList: Interfaces.Player[];
|
|
53
|
-
runList: Interfaces.GameRun[];
|
|
54
|
-
}
|
|
55
|
-
export interface GetSearch {
|
|
56
|
-
gameList: Interfaces.Game[];
|
|
57
|
-
newsList: Interfaces.GameNews[];
|
|
58
|
-
pageList: Interfaces.Article[];
|
|
59
|
-
seriesList: Interfaces.Series[];
|
|
60
|
-
userList: Interfaces.User[];
|
|
61
|
-
challengeList: Interfaces.Challenge[] | null;
|
|
62
|
-
}
|
|
63
|
-
export interface GetLatestLeaderboard {
|
|
64
|
-
categories: Interfaces.Category[];
|
|
65
|
-
games: Interfaces.Game[];
|
|
66
|
-
levels: Interfaces.Level[];
|
|
67
|
-
players: Interfaces.Player[];
|
|
68
|
-
regions: Interfaces.Region[];
|
|
69
|
-
runs: Interfaces.GameRun[];
|
|
70
|
-
values: Interfaces.Value[];
|
|
71
|
-
variables: Interfaces.Variable[];
|
|
72
|
-
platforms: Interfaces.Platform[];
|
|
73
|
-
}
|
|
74
|
-
export interface GetRun {
|
|
75
|
-
game: Interfaces.Game;
|
|
76
|
-
category: Interfaces.Category;
|
|
77
|
-
level?: Interfaces.Level;
|
|
78
|
-
platform?: Interfaces.Platform;
|
|
79
|
-
players: Interfaces.Player[];
|
|
80
|
-
region?: Interfaces.Region;
|
|
81
|
-
run: Interfaces.GameRun;
|
|
82
|
-
users: Interfaces.User[];
|
|
83
|
-
values: Interfaces.Value[];
|
|
84
|
-
variables: Interfaces.Variable[];
|
|
85
|
-
}
|
|
86
|
-
export interface GetUserSummary {
|
|
87
|
-
user: Interfaces.User;
|
|
88
|
-
userProfile: Interfaces.UserReducedProfile;
|
|
89
|
-
userStats: Interfaces.UserStats;
|
|
90
|
-
/**
|
|
91
|
-
* Empty list if the user has set game follows to private.
|
|
92
|
-
*/
|
|
93
|
-
userGameFollowerStats: Interfaces.UserGameFollow[];
|
|
94
|
-
userGameModeratorStats: Interfaces.UserModerationStats[];
|
|
95
|
-
userGameRunnerStats: Interfaces.UserGameRunnerStats[];
|
|
96
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
97
|
-
games: Interfaces.Game[];
|
|
98
|
-
theme: Interfaces.Theme;
|
|
99
|
-
titleList: Interfaces.Title[];
|
|
100
|
-
}
|
|
101
|
-
export interface GetUserComments {
|
|
102
|
-
articleList: Interfaces.Article[];
|
|
103
|
-
commentList: Interfaces.Comment[];
|
|
104
|
-
forumList: Interfaces.Forum[];
|
|
105
|
-
gameList: Interfaces.Game[];
|
|
106
|
-
likeList: Interfaces.Like[];
|
|
107
|
-
newsList: Interfaces.GameNews[];
|
|
108
|
-
runList: Interfaces.GameRun[];
|
|
109
|
-
threadList: Interfaces.Thread[];
|
|
110
|
-
userList: Interfaces.User[];
|
|
111
|
-
pagination: Interfaces.Pagination;
|
|
112
|
-
}
|
|
113
|
-
export interface GetUserPopoverData {
|
|
114
|
-
user: Interfaces.User;
|
|
115
|
-
userProfile: Interfaces.UserReducedProfile;
|
|
116
|
-
userStats: Interfaces.UserStats;
|
|
117
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
118
|
-
/**
|
|
119
|
-
* Contains games sometimes
|
|
120
|
-
*/
|
|
121
|
-
games: Interfaces.Game[];
|
|
122
|
-
titleList: Interfaces.Title[];
|
|
123
|
-
}
|
|
124
|
-
export interface GetTitle {
|
|
125
|
-
titleList: Interfaces.Title[];
|
|
126
|
-
}
|
|
127
|
-
export interface GetArticleList {
|
|
128
|
-
articleList: Interfaces.Article[];
|
|
129
|
-
pagination: Interfaces.Pagination;
|
|
130
|
-
gameList: Interfaces.Game[];
|
|
131
|
-
userList: Interfaces.User[];
|
|
132
|
-
}
|
|
133
|
-
export interface GetArticle {
|
|
134
|
-
article: Interfaces.Article;
|
|
135
|
-
relatedArticleList: Interfaces.Article[];
|
|
136
|
-
gameList: Interfaces.Game[];
|
|
137
|
-
userList: Interfaces.User[];
|
|
138
|
-
}
|
|
139
|
-
export interface GetChallenge {
|
|
140
|
-
challenge: Interfaces.Challenge;
|
|
141
|
-
game: Interfaces.Game;
|
|
142
|
-
moderatorList: Interfaces.ChallengeModerator[];
|
|
143
|
-
standingList: Interfaces.ChallengeStanding[];
|
|
144
|
-
theme: Interfaces.Theme;
|
|
145
|
-
userList: Interfaces.User[];
|
|
146
|
-
challengeRunCount: number;
|
|
147
|
-
gameFollowerCount: number;
|
|
148
|
-
titleList: Interfaces.Title[];
|
|
149
|
-
}
|
|
150
|
-
export interface GetChallengeLeaderboard {
|
|
151
|
-
challengeRunList: Interfaces.ChallengeRun[];
|
|
152
|
-
playerList: Interfaces.Player[];
|
|
153
|
-
userList: Interfaces.User[];
|
|
154
|
-
pagination: Interfaces.Pagination;
|
|
155
|
-
}
|
|
156
|
-
export interface GetChallengeRun {
|
|
157
|
-
challenge: Interfaces.Challenge;
|
|
158
|
-
challengeRun: Interfaces.ChallengeRun;
|
|
159
|
-
game: Interfaces.Game;
|
|
160
|
-
playerList: Interfaces.Player[];
|
|
161
|
-
userList: Interfaces.User[];
|
|
162
|
-
}
|
|
163
|
-
export interface GetChallengeGlobalRankingList {
|
|
164
|
-
rankingList: Interfaces.GlobalChallengeRanking[];
|
|
165
|
-
userList: Interfaces.User[];
|
|
166
|
-
}
|
|
167
|
-
export interface GetGameList {
|
|
168
|
-
article: Interfaces.Article;
|
|
169
|
-
relatedArticleList: Interfaces.Article[];
|
|
170
|
-
gameList: Interfaces.Game[];
|
|
171
|
-
userList: Interfaces.User[];
|
|
172
|
-
}
|
|
173
|
-
export interface GetPlatformList {
|
|
174
|
-
platformList: Interfaces.Platform[];
|
|
175
|
-
}
|
|
176
|
-
export interface GetCommentList {
|
|
177
|
-
commentable: Interfaces.Commentable;
|
|
178
|
-
commentList: Interfaces.Comment[];
|
|
179
|
-
likeList: Interfaces.Like[];
|
|
180
|
-
userList: Interfaces.User[];
|
|
181
|
-
pagination: Interfaces.Pagination;
|
|
182
|
-
}
|
|
183
|
-
export interface GetForumList {
|
|
184
|
-
forumList: Interfaces.Forum[];
|
|
185
|
-
gameList: Interfaces.Game[];
|
|
186
|
-
userList: Interfaces.User[];
|
|
187
|
-
}
|
|
188
|
-
export interface GetStaticData {
|
|
189
|
-
areas: Interfaces.Area[];
|
|
190
|
-
colors: Interfaces.Color[];
|
|
191
|
-
gameTypeList: Interfaces.GameTypeDetails[];
|
|
192
|
-
notificationSettings: Interfaces.NotificationSettingStaticData[];
|
|
193
|
-
regionList: Interfaces.Region[];
|
|
194
|
-
socialNetworkList: Interfaces.SocialNetwork[];
|
|
195
|
-
/**
|
|
196
|
-
* Unknown type
|
|
197
|
-
*/
|
|
198
|
-
supporterPlanList?: null;
|
|
199
|
-
}
|
|
200
|
-
export interface GetHomeSummary {
|
|
201
|
-
stream?: Interfaces.Stream;
|
|
202
|
-
}
|
|
203
|
-
export interface GetSeriesList {
|
|
204
|
-
seriesList: Interfaces.Series[];
|
|
205
|
-
pagination: Interfaces.Pagination;
|
|
206
|
-
}
|
|
207
|
-
export interface GetSeriesSummary {
|
|
208
|
-
series: Interfaces.Series;
|
|
209
|
-
forum: Interfaces.Forum;
|
|
210
|
-
gameList: Interfaces.Game[];
|
|
211
|
-
moderatorList: Interfaces.SeriesModerator[];
|
|
212
|
-
theme: Interfaces.Theme;
|
|
213
|
-
threadList: Interfaces.Thread[];
|
|
214
|
-
userList: Interfaces.User[];
|
|
215
|
-
gameCount: number;
|
|
216
|
-
streamCount: number;
|
|
217
|
-
threadCount: number;
|
|
218
|
-
}
|
|
219
|
-
export interface GetGameLevelSummary {
|
|
220
|
-
category: Interfaces.Category;
|
|
221
|
-
runList: Interfaces.GameRun[];
|
|
222
|
-
playerList: Interfaces.Player[];
|
|
223
|
-
}
|
|
224
|
-
export interface GetGameRandom {
|
|
225
|
-
game: Interfaces.Game;
|
|
226
|
-
}
|
|
227
|
-
export interface GetGuideList {
|
|
228
|
-
guideList: Interfaces.Guide[];
|
|
229
|
-
users: Interfaces.User[];
|
|
230
|
-
}
|
|
231
|
-
export interface GetGuide {
|
|
232
|
-
guideList: Interfaces.Guide[];
|
|
233
|
-
users: Interfaces.User[];
|
|
234
|
-
}
|
|
235
|
-
export interface GetNewsList {
|
|
236
|
-
newsList: Interfaces.GameNews[];
|
|
237
|
-
users: Interfaces.User[];
|
|
238
|
-
}
|
|
239
|
-
export interface GetNews {
|
|
240
|
-
news: Interfaces.GameNews;
|
|
241
|
-
users: Interfaces.User[];
|
|
242
|
-
}
|
|
243
|
-
export interface GetNewsList {
|
|
244
|
-
newsList: Interfaces.GameNews[];
|
|
245
|
-
users: Interfaces.User[];
|
|
246
|
-
}
|
|
247
|
-
export interface GetResource {
|
|
248
|
-
resource: Interfaces.Resource;
|
|
249
|
-
game: Interfaces.Game[];
|
|
250
|
-
users: Interfaces.User[];
|
|
251
|
-
}
|
|
252
|
-
export interface GetResourceList {
|
|
253
|
-
resourceList: Interfaces.Resource[];
|
|
254
|
-
users: Interfaces.User[];
|
|
255
|
-
}
|
|
256
|
-
export interface GetRun {
|
|
257
|
-
game: Interfaces.Game;
|
|
258
|
-
category: Interfaces.Category;
|
|
259
|
-
level?: Interfaces.Level;
|
|
260
|
-
platform?: Interfaces.Platform;
|
|
261
|
-
players: Interfaces.Player[];
|
|
262
|
-
region?: Interfaces.Region;
|
|
263
|
-
run: Interfaces.GameRun;
|
|
264
|
-
users: Interfaces.User[];
|
|
265
|
-
values: Interfaces.Value[];
|
|
266
|
-
variables: Interfaces.Variable[];
|
|
267
|
-
}
|
|
268
|
-
export interface GetStreamList {
|
|
269
|
-
gameList: Interfaces.Game[];
|
|
270
|
-
streamList: Interfaces.Stream[];
|
|
271
|
-
userList: Interfaces.User[];
|
|
272
|
-
pagination: Interfaces.Pagination;
|
|
273
|
-
}
|
|
274
|
-
export interface GetThread {
|
|
275
|
-
thread: Interfaces.Thread;
|
|
276
|
-
commentList: Interfaces.Comment[];
|
|
277
|
-
userList: Interfaces.User[];
|
|
278
|
-
likeList: Interfaces.Like[];
|
|
279
|
-
pagination: Interfaces.Pagination;
|
|
280
|
-
}
|
|
281
|
-
export interface GetThreadList {
|
|
282
|
-
threadList: Interfaces.Thread[];
|
|
283
|
-
pagination: Interfaces.Pagination;
|
|
284
|
-
users: Interfaces.User[];
|
|
285
|
-
}
|
|
286
|
-
export interface GetThreadStateByCommentId {
|
|
287
|
-
forum: Interfaces.Forum;
|
|
288
|
-
thread: Interfaces.Thread;
|
|
289
|
-
commentId: string;
|
|
290
|
-
pagination: Interfaces.Pagination;
|
|
291
|
-
}
|
|
292
|
-
export interface GetUserLeaderboard {
|
|
293
|
-
categories: Interfaces.Category[];
|
|
294
|
-
games: Interfaces.Game[];
|
|
295
|
-
levels: Interfaces.Level[];
|
|
296
|
-
platforms: Interfaces.Platform[];
|
|
297
|
-
regions: Interfaces.Region[];
|
|
298
|
-
runs: Interfaces.GameRun[];
|
|
299
|
-
user: Interfaces.User;
|
|
300
|
-
userProfile: Interfaces.UserReducedProfile;
|
|
301
|
-
users: [];
|
|
302
|
-
players: Interfaces.Player[];
|
|
303
|
-
values: Interfaces.Value[];
|
|
304
|
-
variables: Interfaces.Variable[];
|
|
305
|
-
/**
|
|
306
|
-
* Unused null key
|
|
307
|
-
*/
|
|
308
|
-
followedGameIds: null;
|
|
309
|
-
challengeList: Interfaces.Challenge[];
|
|
310
|
-
challengeRunList: Interfaces.GameRun[];
|
|
311
|
-
}
|
|
312
|
-
export interface GetUserModeration {
|
|
313
|
-
gameList: Interfaces.Game[];
|
|
314
|
-
gameModeratorList: Interfaces.GameModerator[];
|
|
315
|
-
platformList: Interfaces.Platform[];
|
|
316
|
-
seriesList: Interfaces.Series[];
|
|
317
|
-
seriesModeratorList: Interfaces.SeriesModerator[];
|
|
318
|
-
userGameModeratorStatsList: Interfaces.UserModerationStats[];
|
|
319
|
-
}
|
|
320
|
-
export interface GetUserSummary {
|
|
321
|
-
user: Interfaces.User;
|
|
322
|
-
userProfile: Interfaces.UserReducedProfile;
|
|
323
|
-
userStats: Interfaces.UserStats;
|
|
324
|
-
/**
|
|
325
|
-
* Empty list if the user has set game follows to private
|
|
326
|
-
*/
|
|
327
|
-
userGameFollowerStats: Interfaces.UserGameFollow[];
|
|
328
|
-
userGameModeratorStats: Interfaces.UserModerationStats[];
|
|
329
|
-
userGameRunnerStats: Interfaces.UserGameRunnerStats[];
|
|
330
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
331
|
-
games: Interfaces.Game[];
|
|
332
|
-
theme: Interfaces.Theme;
|
|
333
|
-
titleList: Interfaces.Title[];
|
|
334
|
-
}
|
|
335
|
-
export interface GetUserComments {
|
|
336
|
-
articleList: Interfaces.Article[];
|
|
337
|
-
commentList: Interfaces.Comment[];
|
|
338
|
-
forumList: Interfaces.Forum[];
|
|
339
|
-
gameList: Interfaces.Game[];
|
|
340
|
-
likeList: Interfaces.Like[];
|
|
341
|
-
newsList: Interfaces.GameNews[];
|
|
342
|
-
runList: Interfaces.GameRun[];
|
|
343
|
-
threadList: Interfaces.Thread[];
|
|
344
|
-
userList: Interfaces.User[];
|
|
345
|
-
pagination: Interfaces.Pagination;
|
|
346
|
-
}
|
|
347
|
-
export interface GetUserThreads {
|
|
348
|
-
commentList: Interfaces.Comment[];
|
|
349
|
-
forumList: Interfaces.Forum[];
|
|
350
|
-
likeList: Interfaces.Like[];
|
|
351
|
-
threadList: Interfaces.Thread[];
|
|
352
|
-
userList: Interfaces.User[];
|
|
353
|
-
pagination: Interfaces.Pagination;
|
|
354
|
-
}
|
|
355
|
-
export interface GetUserPopoverData {
|
|
356
|
-
user: Interfaces.User;
|
|
357
|
-
userProfile: Interfaces.UserReducedProfile;
|
|
358
|
-
userStats: Interfaces.UserStats;
|
|
359
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
360
|
-
/**
|
|
361
|
-
* Contains games sometimes
|
|
362
|
-
*/
|
|
363
|
-
games: Interfaces.Game[];
|
|
364
|
-
titleList: Interfaces.Title[];
|
|
365
|
-
}
|
|
366
|
-
export interface GetTitleList {
|
|
367
|
-
titleList: Interfaces.Title[];
|
|
368
|
-
}
|
|
369
|
-
export interface GetTitle {
|
|
370
|
-
title: Interfaces.Title;
|
|
371
|
-
}
|
|
372
|
-
export interface GetAuditLogList {
|
|
373
|
-
auditLogList: Interfaces.AuditLogEntry[];
|
|
374
|
-
userList: Interfaces.User[];
|
|
375
|
-
gameList: Interfaces.Game[];
|
|
376
|
-
categoryList: Interfaces.Category[];
|
|
377
|
-
/**
|
|
378
|
-
* Array of `Level`s referenced in an Audit Log.
|
|
379
|
-
* When empty, this is `null`, not an empty array.
|
|
380
|
-
*/
|
|
381
|
-
levelList: Interfaces.Level[] | null;
|
|
382
|
-
variableList: Interfaces.Variable[];
|
|
383
|
-
valueList: Interfaces.Value[];
|
|
384
|
-
runList: Interfaces.GameRun[];
|
|
385
|
-
pagination: Interfaces.Pagination;
|
|
386
|
-
}
|
|
387
|
-
export interface GetCommentable {
|
|
388
|
-
commentable: Interfaces.Commentable;
|
|
389
|
-
}
|
|
390
|
-
export interface GetConversationMessages {
|
|
391
|
-
conversation: Interfaces.Conversation;
|
|
392
|
-
participants: Interfaces.ConversationParticipant[];
|
|
393
|
-
messages: Interfaces.ConversationMessage[];
|
|
394
|
-
users: Interfaces.User[];
|
|
395
|
-
userBlocks: Interfaces.UserBlock[];
|
|
396
|
-
}
|
|
397
|
-
export interface GetConversations {
|
|
398
|
-
conversations: Interfaces.Conversation[];
|
|
399
|
-
participants: Interfaces.ConversationParticipant[];
|
|
400
|
-
users: Interfaces.User[];
|
|
401
|
-
systemMessages: Interfaces.SystemMessage[];
|
|
402
|
-
}
|
|
403
|
-
export interface GetForumReadStatus {
|
|
404
|
-
forumReadStatusList: Interfaces.ForumReadStatus[];
|
|
405
|
-
}
|
|
406
|
-
export interface GetGameSettings {
|
|
407
|
-
settings: Interfaces.GameSettings;
|
|
408
|
-
moderatorList: Interfaces.GameModerator[];
|
|
409
|
-
theme: Interfaces.Theme;
|
|
410
|
-
gameList: Interfaces.Game[];
|
|
411
|
-
userList: Interfaces.User[];
|
|
412
|
-
}
|
|
413
|
-
export interface GetModerationGames {
|
|
414
|
-
/**
|
|
415
|
-
* List of Games you moderate. `null` when not logged in.
|
|
416
|
-
*/
|
|
417
|
-
games: Interfaces.Game[] | null;
|
|
418
|
-
/**
|
|
419
|
-
* `GameModerationStats` of the games you moderate. `null` when not logged in.
|
|
420
|
-
*/
|
|
421
|
-
gameModerationStats: Interfaces.GameModerationStats[] | null;
|
|
422
|
-
}
|
|
423
|
-
export interface GetModerationRuns {
|
|
424
|
-
categories: Interfaces.Category[];
|
|
425
|
-
games: Interfaces.Game[];
|
|
426
|
-
levels: Interfaces.Level[];
|
|
427
|
-
pagination: Interfaces.Pagination;
|
|
428
|
-
platforms: Interfaces.Platform[];
|
|
429
|
-
players: Interfaces.Player[];
|
|
430
|
-
regions: Interfaces.Region[];
|
|
431
|
-
runs: Interfaces.GameRun[];
|
|
432
|
-
values: Interfaces.Value[];
|
|
433
|
-
variables: Interfaces.Variable[];
|
|
434
|
-
users: Interfaces.User[];
|
|
435
|
-
}
|
|
436
|
-
export interface GetNotifications {
|
|
437
|
-
unreadCount: number;
|
|
438
|
-
notifications: Interfaces.Notification[];
|
|
439
|
-
pagination: Interfaces.Pagination;
|
|
440
|
-
}
|
|
441
|
-
export interface GetRunSettings {
|
|
442
|
-
settings: Interfaces.RunSettings;
|
|
443
|
-
users: Interfaces.User[];
|
|
444
|
-
}
|
|
445
|
-
export interface GetSeriesSettings {
|
|
446
|
-
settings: Interfaces.SeriesSettings;
|
|
447
|
-
moderatorList: Interfaces.SeriesModerator[];
|
|
448
|
-
gameList: Interfaces.Game[];
|
|
449
|
-
theme: Interfaces.Theme;
|
|
450
|
-
userList: Interfaces.User[];
|
|
451
|
-
}
|
|
452
|
-
export interface GetSession {
|
|
453
|
-
session: Interfaces.Session;
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* NB: if no theme is set then this response will be empty
|
|
457
|
-
*/
|
|
458
|
-
export interface GetThemeSettings {
|
|
459
|
-
settings?: Interfaces.ThemeSettings;
|
|
460
|
-
theme?: Interfaces.Theme;
|
|
461
|
-
}
|
|
462
|
-
export interface GetThreadReadStatus {
|
|
463
|
-
threadReadStatusList: Interfaces.ThreadReadStatus[];
|
|
464
|
-
}
|
|
465
|
-
export interface GetTickets {
|
|
466
|
-
ticketList: Interfaces.Ticket[];
|
|
467
|
-
/**
|
|
468
|
-
* Admins can see all notes, users can see messages here.
|
|
469
|
-
*/
|
|
470
|
-
ticketNoteList: Interfaces.TicketNote[];
|
|
471
|
-
pagination: Interfaces.Pagination;
|
|
472
|
-
userList: Interfaces.User[];
|
|
473
|
-
gameList: Interfaces.Game[];
|
|
474
|
-
userModCountList: Interfaces.UserCount[];
|
|
475
|
-
userRunCountList: Interfaces.UserCount[];
|
|
476
|
-
}
|
|
477
|
-
export interface GetUserBlocks {
|
|
478
|
-
userBlocks: Interfaces.UserBlock[];
|
|
479
|
-
}
|
|
480
|
-
export interface GetUserSettings {
|
|
481
|
-
settings: Interfaces.UserSettings;
|
|
482
|
-
gameFollowerList: Interfaces.GameFollower[];
|
|
483
|
-
gameModeratorList: Interfaces.GameModerator[];
|
|
484
|
-
notificationSettings: Interfaces.NotificationSetting[];
|
|
485
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
486
|
-
gameList: Interfaces.Game[];
|
|
487
|
-
themeList: Interfaces.Theme[];
|
|
488
|
-
titleList: Interfaces.Title[];
|
|
489
|
-
supporterCreditList: Interfaces.SupporterCredit[];
|
|
490
|
-
supporterCodeList: Interfaces.SupporterCode[];
|
|
491
|
-
supporterSubscription?: Interfaces.SupporterSubscription;
|
|
492
|
-
experimentList: any;
|
|
493
|
-
enabledExperimentIds: any;
|
|
494
|
-
}
|
|
495
|
-
export interface GetUserSupporterData {
|
|
496
|
-
supporterEndDate: number;
|
|
497
|
-
boostEndDate: number;
|
|
498
|
-
}
|
|
499
|
-
export interface PutUserSupporterNewSubscription {
|
|
500
|
-
subscription: Interfaces.SupporterSubscription;
|
|
501
|
-
paymentIntentClientSecret: string;
|
|
502
|
-
}
|
|
503
|
-
export interface PutAuthLogin {
|
|
504
|
-
loggedIn: boolean;
|
|
505
|
-
tokenChallengeSent?: boolean;
|
|
506
|
-
}
|
|
507
|
-
export interface PutAuthSignup {
|
|
508
|
-
loggedIn: boolean;
|
|
509
|
-
tokenChallengeSent?: boolean;
|
|
510
|
-
}
|
|
511
|
-
export interface PutConversation {
|
|
512
|
-
ok: true;
|
|
513
|
-
conversationId: string;
|
|
514
|
-
messageId: string;
|
|
515
|
-
}
|
|
516
|
-
export interface PutConversationMessage {
|
|
517
|
-
ok: true;
|
|
518
|
-
conversationId: string;
|
|
519
|
-
messageId: string;
|
|
520
|
-
}
|
|
521
|
-
export interface PutGame {
|
|
522
|
-
game: Interfaces.Game;
|
|
523
|
-
}
|
|
524
|
-
export interface PutRunSettings {
|
|
525
|
-
runId: string;
|
|
526
|
-
}
|
|
527
|
-
export interface PutThread {
|
|
528
|
-
thread: Interfaces.Thread;
|
|
529
|
-
}
|
|
530
|
-
export interface PutLike {
|
|
531
|
-
likeList: Interfaces.Like[];
|
|
532
|
-
userList: Interfaces.User[];
|
|
533
|
-
}
|
|
534
|
-
export interface PutTicket {
|
|
535
|
-
ticketId: string;
|
|
536
|
-
}
|
|
537
|
-
export interface PutUserSettings {
|
|
538
|
-
settings: Interfaces.UserSettings;
|
|
539
|
-
}
|
|
540
|
-
export interface GetUserApiKey {
|
|
541
|
-
apiKey: string;
|
|
542
|
-
}
|
|
543
|
-
export interface GetUserFollowers {
|
|
544
|
-
followerList: Interfaces.UserFollower;
|
|
545
|
-
userList: Interfaces.User;
|
|
546
|
-
pagination: Interfaces.Pagination;
|
|
547
|
-
}
|
|
548
|
-
export interface GetUserFollowingGames {
|
|
549
|
-
followerList: Interfaces.UserFollower;
|
|
550
|
-
gameList: Interfaces.Game;
|
|
551
|
-
pagination: Interfaces.Pagination;
|
|
552
|
-
}
|
|
553
|
-
export interface GetUserFollowingUsers {
|
|
554
|
-
followerList: Interfaces.UserFollower;
|
|
555
|
-
userList: Interfaces.User;
|
|
556
|
-
pagination: Interfaces.Pagination;
|
|
557
|
-
}
|
|
558
|
-
export interface GetUserGameBoostData {
|
|
559
|
-
boostAvailableTokens: number;
|
|
560
|
-
boostDistinctGamesCount: number;
|
|
561
|
-
boostDistinctUsersCount: number;
|
|
562
|
-
boostEndDate: number;
|
|
563
|
-
boostGiftedCount: number;
|
|
564
|
-
boostLastTokenDate: number;
|
|
565
|
-
boostNextTokenAmount: number;
|
|
566
|
-
boostNextTokenDate: number;
|
|
567
|
-
boostReceivedCount: number;
|
|
568
|
-
gameBoostList: Interfaces.GameBoost[];
|
|
569
|
-
gameList: Interfaces.Game[];
|
|
570
|
-
isBoosted: boolean;
|
|
571
|
-
userList: Interfaces.User[];
|
|
572
|
-
}
|
|
573
|
-
export interface GetUserDataExport {
|
|
574
|
-
articleList: Interfaces.Article[];
|
|
575
|
-
commentList: Interfaces.Comment[];
|
|
576
|
-
conversationList: Interfaces.ConversationLightweight[];
|
|
577
|
-
gameFollowerList: Interfaces.GameFollower[];
|
|
578
|
-
guideList: Interfaces.Guide[];
|
|
579
|
-
likeList: Interfaces.Like[];
|
|
580
|
-
messageList: Interfaces.ConversationMessage[];
|
|
581
|
-
newsList: Interfaces.GameNews[];
|
|
582
|
-
resourceList: Interfaces.Resource[];
|
|
583
|
-
runList: Interfaces.GameRun[];
|
|
584
|
-
threadList: Interfaces.Thread[];
|
|
585
|
-
ticketList: Interfaces.Ticket[];
|
|
586
|
-
ticketNoteList: Interfaces.TicketNote[];
|
|
587
|
-
user: Interfaces.User;
|
|
588
|
-
userFollowerList: Interfaces.UserFollower[];
|
|
589
|
-
userSettings: Interfaces.UserSettings;
|
|
590
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
591
|
-
}
|
|
592
|
-
export interface PutUserUpdateEmail {
|
|
593
|
-
emailChanged: boolean;
|
|
594
|
-
tokenChallengeSent?: boolean;
|
|
595
|
-
}
|
|
596
|
-
export interface PutUserUpdateName {
|
|
597
|
-
ok: true;
|
|
598
|
-
}
|
|
599
|
-
export interface GetAnnouncementLatest {
|
|
600
|
-
id: string;
|
|
601
|
-
title: string;
|
|
602
|
-
message: string;
|
|
603
|
-
/**
|
|
604
|
-
* Site subpath to a related article.
|
|
605
|
-
*/
|
|
606
|
-
link: string;
|
|
607
|
-
enabled: boolean;
|
|
608
|
-
/**
|
|
609
|
-
* UNIX timestamp of when the announcement was created.
|
|
610
|
-
*/
|
|
611
|
-
createDate: number;
|
|
612
|
-
/**
|
|
613
|
-
* UNIX timestamp of when the announcement was last updated.
|
|
614
|
-
*/
|
|
615
|
-
updateDate: number;
|
|
616
|
-
}
|