speedruncom.js 1.1.1 → 1.2.2
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/dist/BaseClient.d.ts +37 -0
- package/dist/BaseClient.js +102 -0
- package/dist/Client.d.ts +227 -0
- package/dist/Client.js +664 -0
- package/dist/build-client.d.ts +1 -0
- package/dist/build-client.js +63 -0
- package/dist/endpoints/endpoints.get.d.ts +562 -0
- package/dist/endpoints/endpoints.get.js +2 -0
- package/dist/endpoints/endpoints.post.d.ts +1061 -0
- package/dist/endpoints/endpoints.post.js +2 -0
- package/dist/enums.d.ts +363 -0
- package/dist/enums.js +404 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/interfaces.d.ts +1400 -0
- package/dist/interfaces.js +1 -0
- package/dist/responses.d.ts +635 -0
- package/dist/responses.js +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.js +1 -0
- package/package.json +1 -1
- package/src/BaseClient.ts +2 -30
- package/src/endpoints/endpoints.get.ts +18 -1
- package/src/responses.ts +1 -28
package/dist/enums.js
ADDED
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
export var TimeDirection;
|
|
2
|
+
(function (TimeDirection) {
|
|
3
|
+
TimeDirection[TimeDirection["Ascending"] = 0] = "Ascending";
|
|
4
|
+
TimeDirection[TimeDirection["Descending"] = 1] = "Descending";
|
|
5
|
+
})(TimeDirection || (TimeDirection = {}));
|
|
6
|
+
export var PlayerMatchMode;
|
|
7
|
+
(function (PlayerMatchMode) {
|
|
8
|
+
PlayerMatchMode[PlayerMatchMode["AllPlayersInOrder"] = 0] = "AllPlayersInOrder";
|
|
9
|
+
PlayerMatchMode[PlayerMatchMode["AllPlayersAnyOrder"] = 1] = "AllPlayersAnyOrder";
|
|
10
|
+
PlayerMatchMode[PlayerMatchMode["AnyPlayersInOrder"] = 2] = "AnyPlayersInOrder";
|
|
11
|
+
PlayerMatchMode[PlayerMatchMode["AnyPlayersAnyOrder"] = 3] = "AnyPlayersAnyOrder";
|
|
12
|
+
})(PlayerMatchMode || (PlayerMatchMode = {}));
|
|
13
|
+
/**The type of the item this object is referencing (eg. a comment on either a run or a thread)*/
|
|
14
|
+
export var ItemType;
|
|
15
|
+
(function (ItemType) {
|
|
16
|
+
ItemType[ItemType["Unknown"] = 0] = "Unknown";
|
|
17
|
+
ItemType[ItemType["Comment"] = 1] = "Comment";
|
|
18
|
+
ItemType[ItemType["Run"] = 2] = "Run";
|
|
19
|
+
ItemType[ItemType["Game"] = 3] = "Game";
|
|
20
|
+
ItemType[ItemType["Guide"] = 4] = "Guide";
|
|
21
|
+
ItemType[ItemType["Resource"] = 5] = "Resource";
|
|
22
|
+
ItemType[ItemType["User"] = 6] = "User";
|
|
23
|
+
ItemType[ItemType["Thread"] = 7] = "Thread";
|
|
24
|
+
ItemType[ItemType["GameMod"] = 8] = "GameMod";
|
|
25
|
+
ItemType[ItemType["Category"] = 9] = "Category";
|
|
26
|
+
ItemType[ItemType["Level"] = 10] = "Level";
|
|
27
|
+
ItemType[ItemType["GameRequest"] = 11] = "GameRequest";
|
|
28
|
+
ItemType[ItemType["Ticket"] = 22] = "Ticket";
|
|
29
|
+
ItemType[ItemType["TicketNote"] = 23] = "TicketNote";
|
|
30
|
+
ItemType[ItemType["News"] = 27] = "News";
|
|
31
|
+
ItemType[ItemType["GameBoostToken"] = 28] = "GameBoostToken";
|
|
32
|
+
ItemType[ItemType["GameBoost"] = 29] = "GameBoost";
|
|
33
|
+
ItemType[ItemType["Article"] = 30] = "Article";
|
|
34
|
+
ItemType[ItemType["UserFollower"] = 31] = "UserFollower";
|
|
35
|
+
ItemType[ItemType["Challenge"] = 32] = "Challenge";
|
|
36
|
+
ItemType[ItemType["ChallengeRun"] = 33] = "ChallengeRun";
|
|
37
|
+
})(ItemType || (ItemType = {}));
|
|
38
|
+
export var ForumType;
|
|
39
|
+
(function (ForumType) {
|
|
40
|
+
ForumType[ForumType["FrontPage"] = 1] = "FrontPage";
|
|
41
|
+
ForumType[ForumType["Supporter"] = 2] = "Supporter";
|
|
42
|
+
ForumType[ForumType["Game"] = 3] = "Game";
|
|
43
|
+
})(ForumType || (ForumType = {}));
|
|
44
|
+
export var DefaultViewType;
|
|
45
|
+
(function (DefaultViewType) {
|
|
46
|
+
DefaultViewType[DefaultViewType["FullGame"] = 0] = "FullGame";
|
|
47
|
+
DefaultViewType[DefaultViewType["Levels"] = 1] = "Levels";
|
|
48
|
+
})(DefaultViewType || (DefaultViewType = {}));
|
|
49
|
+
export var GameOrderType;
|
|
50
|
+
(function (GameOrderType) {
|
|
51
|
+
GameOrderType[GameOrderType["Name"] = 1] = "Name";
|
|
52
|
+
GameOrderType[GameOrderType["NewestReleased"] = 2] = "NewestReleased";
|
|
53
|
+
GameOrderType[GameOrderType["OldestReleased"] = 3] = "OldestReleased";
|
|
54
|
+
GameOrderType[GameOrderType["MostActive"] = 4] = "MostActive";
|
|
55
|
+
GameOrderType[GameOrderType["LeastActive"] = 5] = "LeastActive";
|
|
56
|
+
GameOrderType[GameOrderType["MostPlayers"] = 6] = "MostPlayers";
|
|
57
|
+
GameOrderType[GameOrderType["LeastPlayers"] = 7] = "LeastPlayers";
|
|
58
|
+
GameOrderType[GameOrderType["MostRuns"] = 8] = "MostRuns";
|
|
59
|
+
GameOrderType[GameOrderType["LeastRuns"] = 9] = "LeastRuns";
|
|
60
|
+
GameOrderType[GameOrderType["NewestAdded"] = 10] = "NewestAdded";
|
|
61
|
+
GameOrderType[GameOrderType["OldestAdded"] = 11] = "OldestAdded";
|
|
62
|
+
})(GameOrderType || (GameOrderType = {}));
|
|
63
|
+
export var SitePowerLevel;
|
|
64
|
+
(function (SitePowerLevel) {
|
|
65
|
+
SitePowerLevel[SitePowerLevel["Banned"] = 0] = "Banned";
|
|
66
|
+
SitePowerLevel[SitePowerLevel["User"] = 1] = "User";
|
|
67
|
+
/**@deprecated Unused power level for users that can moderate 'content'.*/
|
|
68
|
+
SitePowerLevel[SitePowerLevel["ContentMod"] = 2] = "ContentMod";
|
|
69
|
+
/**@deprecated Unused power level for users that had more limited version of SiteAdmin.*/
|
|
70
|
+
SitePowerLevel[SitePowerLevel["SiteMod"] = 3] = "SiteMod";
|
|
71
|
+
SitePowerLevel[SitePowerLevel["SiteAdmin"] = 4] = "SiteAdmin";
|
|
72
|
+
})(SitePowerLevel || (SitePowerLevel = {}));
|
|
73
|
+
export var EventType;
|
|
74
|
+
(function (EventType) {
|
|
75
|
+
EventType["None"] = "";
|
|
76
|
+
EventType["CategoryCreated"] = "category-created";
|
|
77
|
+
EventType["CategoryRemoved"] = "category-removed";
|
|
78
|
+
EventType["CategoryRestored"] = "category-restored";
|
|
79
|
+
EventType["CategoryUpdated"] = "category-updated";
|
|
80
|
+
EventType["CommentCreated"] = "comment-created";
|
|
81
|
+
EventType["CommentDeleted"] = "comment-deleted";
|
|
82
|
+
/**
|
|
83
|
+
* New comment updates are not recognized as events as of a few years ago.
|
|
84
|
+
*/
|
|
85
|
+
EventType["CommentUpdated"] = "comment-updated";
|
|
86
|
+
EventType["GameCoversUpdated"] = "game-covers-updated";
|
|
87
|
+
EventType["GameCreated"] = "game-created";
|
|
88
|
+
EventType["GameModeratorCreated"] = "game-moderator-created";
|
|
89
|
+
EventType["GameModeratorRemoved"] = "game-moderator-removed";
|
|
90
|
+
EventType["GameModeratorUpdated"] = "game-moderator-updated";
|
|
91
|
+
EventType["GameNewsPostCreated"] = "game-news-post-created";
|
|
92
|
+
EventType["GameNewsPostEdited"] = "game-news-post-edited";
|
|
93
|
+
EventType["GameNewsPostRemoved"] = "game-news-post-removed";
|
|
94
|
+
EventType["GameRestored"] = "game-restored";
|
|
95
|
+
EventType["GameUpdated"] = "game-updated";
|
|
96
|
+
EventType["GameRequestReviewed"] = "gamerequest-reviewed";
|
|
97
|
+
EventType["LevelCreated"] = "level-created";
|
|
98
|
+
})(EventType || (EventType = {}));
|
|
99
|
+
export var ChallengeState;
|
|
100
|
+
(function (ChallengeState) {
|
|
101
|
+
ChallengeState[ChallengeState["Draft"] = 0] = "Draft";
|
|
102
|
+
ChallengeState[ChallengeState["Published"] = 1] = "Published";
|
|
103
|
+
ChallengeState[ChallengeState["Finalized"] = 2] = "Finalized";
|
|
104
|
+
})(ChallengeState || (ChallengeState = {}));
|
|
105
|
+
/**
|
|
106
|
+
* Who is allowed to perform an action (posting comments, guides or resources).
|
|
107
|
+
*/
|
|
108
|
+
export var ItemPermissionType;
|
|
109
|
+
(function (ItemPermissionType) {
|
|
110
|
+
ItemPermissionType[ItemPermissionType["All"] = 0] = "All";
|
|
111
|
+
ItemPermissionType[ItemPermissionType["Disabled"] = 1] = "Disabled";
|
|
112
|
+
ItemPermissionType[ItemPermissionType["VerifiedHere"] = 2] = "VerifiedHere";
|
|
113
|
+
ItemPermissionType[ItemPermissionType["VerifiedAny"] = 3] = "VerifiedAny";
|
|
114
|
+
ItemPermissionType[ItemPermissionType["ModsOnly"] = 4] = "ModsOnly";
|
|
115
|
+
})(ItemPermissionType || (ItemPermissionType = {}));
|
|
116
|
+
export var ObsoleteFilter;
|
|
117
|
+
(function (ObsoleteFilter) {
|
|
118
|
+
ObsoleteFilter[ObsoleteFilter["Hidden"] = 0] = "Hidden";
|
|
119
|
+
ObsoleteFilter[ObsoleteFilter["Shown"] = 1] = "Shown";
|
|
120
|
+
ObsoleteFilter[ObsoleteFilter["Exclusive"] = 2] = "Exclusive";
|
|
121
|
+
})(ObsoleteFilter || (ObsoleteFilter = {}));
|
|
122
|
+
export var EmulatorFilter;
|
|
123
|
+
(function (EmulatorFilter) {
|
|
124
|
+
EmulatorFilter[EmulatorFilter["Hidden"] = 0] = "Hidden";
|
|
125
|
+
EmulatorFilter[EmulatorFilter["Shown"] = 1] = "Shown";
|
|
126
|
+
EmulatorFilter[EmulatorFilter["Exclusive"] = 2] = "Exclusive";
|
|
127
|
+
})(EmulatorFilter || (EmulatorFilter = {}));
|
|
128
|
+
export var VideoFilter;
|
|
129
|
+
(function (VideoFilter) {
|
|
130
|
+
VideoFilter[VideoFilter["Optional"] = 0] = "Optional";
|
|
131
|
+
VideoFilter[VideoFilter["Required"] = 1] = "Required";
|
|
132
|
+
VideoFilter[VideoFilter["Missing"] = 2] = "Missing";
|
|
133
|
+
})(VideoFilter || (VideoFilter = {}));
|
|
134
|
+
export var TimingMethod;
|
|
135
|
+
(function (TimingMethod) {
|
|
136
|
+
/**LRT if present, otherwise RTA.*/
|
|
137
|
+
TimingMethod[TimingMethod["LRTThenRTA"] = 0] = "LRTThenRTA";
|
|
138
|
+
/**RTA if LRT is present.*/
|
|
139
|
+
TimingMethod[TimingMethod["RTAIfLRT"] = 1] = "RTAIfLRT";
|
|
140
|
+
TimingMethod[TimingMethod["InGameTime"] = 2] = "InGameTime";
|
|
141
|
+
})(TimingMethod || (TimingMethod = {}));
|
|
142
|
+
/**Classifiers for games, provided in `Game.gameTypeIds`.*/
|
|
143
|
+
export var GameType;
|
|
144
|
+
(function (GameType) {
|
|
145
|
+
GameType[GameType["RomHack"] = 1] = "RomHack";
|
|
146
|
+
GameType[GameType["Modification"] = 2] = "Modification";
|
|
147
|
+
GameType[GameType["FanGame"] = 3] = "FanGame";
|
|
148
|
+
GameType[GameType["WebGame"] = 4] = "WebGame";
|
|
149
|
+
GameType[GameType["PrereleaseGame"] = 5] = "PrereleaseGame";
|
|
150
|
+
GameType[GameType["MobileGame"] = 6] = "MobileGame";
|
|
151
|
+
GameType[GameType["Expansion"] = 7] = "Expansion";
|
|
152
|
+
GameType[GameType["CategoryExtensions"] = 8] = "CategoryExtensions";
|
|
153
|
+
GameType[GameType["MultipleGames"] = 9] = "MultipleGames";
|
|
154
|
+
GameType[GameType["MiniGame"] = 10] = "MiniGame";
|
|
155
|
+
GameType[GameType["ServerMap"] = 11] = "ServerMap";
|
|
156
|
+
GameType[GameType["HomebrewGame"] = 12] = "HomebrewGame";
|
|
157
|
+
})(GameType || (GameType = {}));
|
|
158
|
+
export var ResourceType;
|
|
159
|
+
(function (ResourceType) {
|
|
160
|
+
ResourceType[ResourceType["Tool"] = 1] = "Tool";
|
|
161
|
+
ResourceType[ResourceType["Save"] = 2] = "Save";
|
|
162
|
+
ResourceType[ResourceType["Splits"] = 3] = "Splits";
|
|
163
|
+
ResourceType[ResourceType["Patch"] = 4] = "Patch";
|
|
164
|
+
})(ResourceType || (ResourceType = {}));
|
|
165
|
+
export var GamePowerLevel;
|
|
166
|
+
(function (GamePowerLevel) {
|
|
167
|
+
GamePowerLevel[GamePowerLevel["Verifier"] = -1] = "Verifier";
|
|
168
|
+
GamePowerLevel[GamePowerLevel["Moderator"] = 0] = "Moderator";
|
|
169
|
+
GamePowerLevel[GamePowerLevel["SuperModerator"] = 1] = "SuperModerator";
|
|
170
|
+
})(GamePowerLevel || (GamePowerLevel = {}));
|
|
171
|
+
export var EmulatorType;
|
|
172
|
+
(function (EmulatorType) {
|
|
173
|
+
EmulatorType[EmulatorType["Banned"] = -1] = "Banned";
|
|
174
|
+
EmulatorType[EmulatorType["Hidden"] = 0] = "Hidden";
|
|
175
|
+
EmulatorType[EmulatorType["Shown"] = 1] = "Shown";
|
|
176
|
+
})(EmulatorType || (EmulatorType = {}));
|
|
177
|
+
export var RunStatus;
|
|
178
|
+
(function (RunStatus) {
|
|
179
|
+
RunStatus[RunStatus["Pending"] = 0] = "Pending";
|
|
180
|
+
RunStatus[RunStatus["Verified"] = 1] = "Verified";
|
|
181
|
+
RunStatus[RunStatus["Rejected"] = 2] = "Rejected";
|
|
182
|
+
})(RunStatus || (RunStatus = {}));
|
|
183
|
+
/**
|
|
184
|
+
* Video at-risk status for Twitch Highlights and the like.
|
|
185
|
+
*/
|
|
186
|
+
export var VideoState;
|
|
187
|
+
(function (VideoState) {
|
|
188
|
+
VideoState[VideoState["Unknown"] = 0] = "Unknown";
|
|
189
|
+
VideoState[VideoState["AtRisk"] = 1] = "AtRisk";
|
|
190
|
+
VideoState[VideoState["Safe"] = 2] = "Safe";
|
|
191
|
+
VideoState[VideoState["Abandoned"] = 3] = "Abandoned";
|
|
192
|
+
})(VideoState || (VideoState = {}));
|
|
193
|
+
export var SupportPlanPeriod;
|
|
194
|
+
(function (SupportPlanPeriod) {
|
|
195
|
+
SupportPlanPeriod["Monthly"] = "monthly";
|
|
196
|
+
SupportPlanPeriod["Yearly"] = "yearly";
|
|
197
|
+
})(SupportPlanPeriod || (SupportPlanPeriod = {}));
|
|
198
|
+
export var NavbarColorType;
|
|
199
|
+
(function (NavbarColorType) {
|
|
200
|
+
NavbarColorType[NavbarColorType["Primary"] = 0] = "Primary";
|
|
201
|
+
NavbarColorType[NavbarColorType["Panel"] = 1] = "Panel";
|
|
202
|
+
})(NavbarColorType || (NavbarColorType = {}));
|
|
203
|
+
export var ScrollType;
|
|
204
|
+
(function (ScrollType) {
|
|
205
|
+
ScrollType[ScrollType["None"] = 0] = "None";
|
|
206
|
+
ScrollType[ScrollType["Slow"] = 1] = "Slow";
|
|
207
|
+
ScrollType[ScrollType["Medium"] = 2] = "Medium";
|
|
208
|
+
ScrollType[ScrollType["Fast"] = 3] = "Fast";
|
|
209
|
+
})(ScrollType || (ScrollType = {}));
|
|
210
|
+
export var PositionType;
|
|
211
|
+
(function (PositionType) {
|
|
212
|
+
PositionType[PositionType["TopLeft"] = 0] = "TopLeft";
|
|
213
|
+
PositionType[PositionType["Top"] = 1] = "Top";
|
|
214
|
+
PositionType[PositionType["TopRight"] = 2] = "TopRight";
|
|
215
|
+
PositionType[PositionType["Left"] = 3] = "Left";
|
|
216
|
+
PositionType[PositionType["Center"] = 4] = "Center";
|
|
217
|
+
PositionType[PositionType["Right"] = 5] = "Right";
|
|
218
|
+
PositionType[PositionType["BottomLeft"] = 6] = "BottomLeft";
|
|
219
|
+
PositionType[PositionType["Bottom"] = 7] = "Bottom";
|
|
220
|
+
PositionType[PositionType["BottomRight"] = 8] = "BottomRight";
|
|
221
|
+
})(PositionType || (PositionType = {}));
|
|
222
|
+
export var RepeatType;
|
|
223
|
+
(function (RepeatType) {
|
|
224
|
+
RepeatType[RepeatType["None"] = 0] = "None";
|
|
225
|
+
RepeatType[RepeatType["Horizontal"] = 1] = "Horizontal";
|
|
226
|
+
RepeatType[RepeatType["Vertical"] = 2] = "Vertical";
|
|
227
|
+
RepeatType[RepeatType["Both"] = 3] = "Both";
|
|
228
|
+
})(RepeatType || (RepeatType = {}));
|
|
229
|
+
export var FitType;
|
|
230
|
+
(function (FitType) {
|
|
231
|
+
FitType[FitType["Original"] = 0] = "Original";
|
|
232
|
+
FitType[FitType["Fit"] = 1] = "Fit";
|
|
233
|
+
})(FitType || (FitType = {}));
|
|
234
|
+
export var TicketQueueType;
|
|
235
|
+
(function (TicketQueueType) {
|
|
236
|
+
TicketQueueType[TicketQueueType["GameRequests"] = 1] = "GameRequests";
|
|
237
|
+
TicketQueueType[TicketQueueType["SeriesRequests"] = 2] = "SeriesRequests";
|
|
238
|
+
TicketQueueType[TicketQueueType["ModReports"] = 3] = "ModReports";
|
|
239
|
+
TicketQueueType[TicketQueueType["MarathonRequests"] = 4] = "MarathonRequests";
|
|
240
|
+
TicketQueueType[TicketQueueType["ContentReports"] = 5] = "ContentReports";
|
|
241
|
+
TicketQueueType[TicketQueueType["UserReports"] = 6] = "UserReports";
|
|
242
|
+
TicketQueueType[TicketQueueType["BugReports"] = 7] = "BugReports";
|
|
243
|
+
TicketQueueType[TicketQueueType["FrontPageRequests"] = 8] = "FrontPageRequests";
|
|
244
|
+
TicketQueueType[TicketQueueType["Feedback"] = 9] = "Feedback";
|
|
245
|
+
TicketQueueType[TicketQueueType["StaffApplications"] = 10] = "StaffApplications";
|
|
246
|
+
TicketQueueType[TicketQueueType["Support"] = 11] = "Support";
|
|
247
|
+
TicketQueueType[TicketQueueType["ContentRequests"] = 12] = "ContentRequests";
|
|
248
|
+
TicketQueueType[TicketQueueType["Supporter"] = 13] = "Supporter";
|
|
249
|
+
})(TicketQueueType || (TicketQueueType = {}));
|
|
250
|
+
export var TicketType;
|
|
251
|
+
(function (TicketType) {
|
|
252
|
+
TicketType[TicketType["GameRequest"] = 1] = "GameRequest";
|
|
253
|
+
TicketType[TicketType["SeriesRequest"] = 2] = "SeriesRequest";
|
|
254
|
+
TicketType[TicketType["ModRequest"] = 3] = "ModRequest";
|
|
255
|
+
TicketType[TicketType["MarathonRequest"] = 4] = "MarathonRequest";
|
|
256
|
+
TicketType[TicketType["ContentReport"] = 5] = "ContentReport";
|
|
257
|
+
TicketType[TicketType["UserReport"] = 6] = "UserReport";
|
|
258
|
+
TicketType[TicketType["BugReport"] = 7] = "BugReport";
|
|
259
|
+
TicketType[TicketType["FrontPageRequest"] = 8] = "FrontPageRequest";
|
|
260
|
+
TicketType[TicketType["Feedback"] = 9] = "Feedback";
|
|
261
|
+
TicketType[TicketType["StaffApplication"] = 10] = "StaffApplication";
|
|
262
|
+
TicketType[TicketType["OtherSupport"] = 11] = "OtherSupport";
|
|
263
|
+
TicketType[TicketType["GameTypeUpdate"] = 12] = "GameTypeUpdate";
|
|
264
|
+
TicketType[TicketType["AddToSeriesRequest"] = 13] = "AddToSeriesRequest";
|
|
265
|
+
TicketType[TicketType["AddPlatformRequest"] = 14] = "AddPlatformRequest";
|
|
266
|
+
TicketType[TicketType["OtherGameRequest"] = 15] = "OtherGameRequest";
|
|
267
|
+
TicketType[TicketType["SupporterHelp"] = 16] = "SupporterHelp";
|
|
268
|
+
})(TicketType || (TicketType = {}));
|
|
269
|
+
export var TicketStatus;
|
|
270
|
+
(function (TicketStatus) {
|
|
271
|
+
TicketStatus[TicketStatus["Pending"] = 0] = "Pending";
|
|
272
|
+
TicketStatus[TicketStatus["Approved"] = 1] = "Approved";
|
|
273
|
+
TicketStatus[TicketStatus["Denied"] = 2] = "Denied";
|
|
274
|
+
TicketStatus[TicketStatus["Reviewing"] = 3] = "Reviewing";
|
|
275
|
+
TicketStatus[TicketStatus["Withdrawn"] = 4] = "Withdrawn";
|
|
276
|
+
})(TicketStatus || (TicketStatus = {}));
|
|
277
|
+
export var IconType;
|
|
278
|
+
(function (IconType) {
|
|
279
|
+
IconType[IconType["None"] = 0] = "None";
|
|
280
|
+
IconType[IconType["Default"] = 1] = "Default";
|
|
281
|
+
IconType[IconType["Custom"] = 2] = "Custom";
|
|
282
|
+
})(IconType || (IconType = {}));
|
|
283
|
+
export var IconPosition;
|
|
284
|
+
(function (IconPosition) {
|
|
285
|
+
IconPosition[IconPosition["Before"] = 0] = "Before";
|
|
286
|
+
IconPosition[IconPosition["After"] = 1] = "After";
|
|
287
|
+
})(IconPosition || (IconPosition = {}));
|
|
288
|
+
export var HomepageStreamType;
|
|
289
|
+
(function (HomepageStreamType) {
|
|
290
|
+
HomepageStreamType[HomepageStreamType["Muted"] = 0] = "Muted";
|
|
291
|
+
HomepageStreamType[HomepageStreamType["Paused"] = 1] = "Paused";
|
|
292
|
+
HomepageStreamType[HomepageStreamType["Hidden"] = 2] = "Hidden";
|
|
293
|
+
})(HomepageStreamType || (HomepageStreamType = {}));
|
|
294
|
+
export var GameSortType;
|
|
295
|
+
(function (GameSortType) {
|
|
296
|
+
GameSortType[GameSortType["Alphabetical"] = 0] = "Alphabetical";
|
|
297
|
+
GameSortType[GameSortType["Chronological"] = 1] = "Chronological";
|
|
298
|
+
GameSortType[GameSortType["Custom"] = 2] = "Custom";
|
|
299
|
+
})(GameSortType || (GameSortType = {}));
|
|
300
|
+
export var TimeDisplayUnits;
|
|
301
|
+
(function (TimeDisplayUnits) {
|
|
302
|
+
TimeDisplayUnits[TimeDisplayUnits["Explicit"] = 0] = "Explicit";
|
|
303
|
+
TimeDisplayUnits[TimeDisplayUnits["Colon"] = 1] = "Colon";
|
|
304
|
+
})(TimeDisplayUnits || (TimeDisplayUnits = {}));
|
|
305
|
+
export var TimeReference;
|
|
306
|
+
(function (TimeReference) {
|
|
307
|
+
TimeReference[TimeReference["Absolute"] = 0] = "Absolute";
|
|
308
|
+
TimeReference[TimeReference["Relative"] = 1] = "Relative";
|
|
309
|
+
})(TimeReference || (TimeReference = {}));
|
|
310
|
+
export var DateFormat;
|
|
311
|
+
(function (DateFormat) {
|
|
312
|
+
DateFormat[DateFormat["YYYY_MM_DD"] = 0] = "YYYY_MM_DD";
|
|
313
|
+
DateFormat[DateFormat["DD_MM_YYYY"] = 1] = "DD_MM_YYYY";
|
|
314
|
+
DateFormat[DateFormat["MM_DD_YYYY"] = 2] = "MM_DD_YYYY";
|
|
315
|
+
})(DateFormat || (DateFormat = {}));
|
|
316
|
+
export var TimeFormat;
|
|
317
|
+
(function (TimeFormat) {
|
|
318
|
+
TimeFormat[TimeFormat["HH_MM"] = 0] = "HH_MM";
|
|
319
|
+
TimeFormat[TimeFormat["HH_MM_SS"] = 1] = "HH_MM_SS";
|
|
320
|
+
TimeFormat[TimeFormat["HH_MM_12h"] = 2] = "HH_MM_12h";
|
|
321
|
+
TimeFormat[TimeFormat["HH_MM_SS_12h"] = 3] = "HH_MM_SS_12h";
|
|
322
|
+
})(TimeFormat || (TimeFormat = {}));
|
|
323
|
+
/**
|
|
324
|
+
* Depricated values are still accessible by the API, but not settable.
|
|
325
|
+
*/
|
|
326
|
+
export var SocialConnection;
|
|
327
|
+
(function (SocialConnection) {
|
|
328
|
+
/**@deprecated*/
|
|
329
|
+
SocialConnection[SocialConnection["ASKfm"] = 1] = "ASKfm";
|
|
330
|
+
/**@deprecated*/
|
|
331
|
+
SocialConnection[SocialConnection["BattleNet"] = 2] = "BattleNet";
|
|
332
|
+
SocialConnection[SocialConnection["BiliBili"] = 3] = "BiliBili";
|
|
333
|
+
/**@deprecated*/
|
|
334
|
+
SocialConnection[SocialConnection["DeviantArt"] = 4] = "DeviantArt";
|
|
335
|
+
SocialConnection[SocialConnection["Discord"] = 5] = "Discord";
|
|
336
|
+
/**@deprecated*/
|
|
337
|
+
SocialConnection[SocialConnection["DouYu"] = 6] = "DouYu";
|
|
338
|
+
/**@deprecated*/
|
|
339
|
+
SocialConnection[SocialConnection["Duolingo"] = 7] = "Duolingo";
|
|
340
|
+
SocialConnection[SocialConnection["Facebook"] = 8] = "Facebook";
|
|
341
|
+
/**@deprecated*/
|
|
342
|
+
SocialConnection[SocialConnection["GooglePlus"] = 9] = "GooglePlus";
|
|
343
|
+
/**@deprecated*/
|
|
344
|
+
SocialConnection[SocialConnection["GooglePodcasts"] = 10] = "GooglePodcasts";
|
|
345
|
+
SocialConnection[SocialConnection["Instagram"] = 11] = "Instagram";
|
|
346
|
+
/**@deprecated*/
|
|
347
|
+
SocialConnection[SocialConnection["ITunes"] = 12] = "ITunes";
|
|
348
|
+
/**@deprecated*/
|
|
349
|
+
SocialConnection[SocialConnection["Mixer"] = 13] = "Mixer";
|
|
350
|
+
/**@deprecated*/
|
|
351
|
+
SocialConnection[SocialConnection["MMRTA"] = 14] = "MMRTA";
|
|
352
|
+
SocialConnection[SocialConnection["Niconico"] = 15] = "Niconico";
|
|
353
|
+
/**@deprecated*/
|
|
354
|
+
SocialConnection[SocialConnection["Patreon"] = 16] = "Patreon";
|
|
355
|
+
/**@deprecated*/
|
|
356
|
+
SocialConnection[SocialConnection["Pinterest"] = 17] = "Pinterest";
|
|
357
|
+
SocialConnection[SocialConnection["Reddit"] = 18] = "Reddit";
|
|
358
|
+
/**@deprecated*/
|
|
359
|
+
SocialConnection[SocialConnection["Smashcast"] = 19] = "Smashcast";
|
|
360
|
+
/**@deprecated*/
|
|
361
|
+
SocialConnection[SocialConnection["Snapchat"] = 20] = "Snapchat";
|
|
362
|
+
/**@deprecated*/
|
|
363
|
+
SocialConnection[SocialConnection["SoundCloud"] = 21] = "SoundCloud";
|
|
364
|
+
/**@deprecated*/
|
|
365
|
+
SocialConnection[SocialConnection["SplitsIO"] = 22] = "SplitsIO";
|
|
366
|
+
/**@deprecated*/
|
|
367
|
+
SocialConnection[SocialConnection["Spotify"] = 23] = "Spotify";
|
|
368
|
+
/**@deprecated*/
|
|
369
|
+
SocialConnection[SocialConnection["SpotifyShow"] = 24] = "SpotifyShow";
|
|
370
|
+
/**@deprecated*/
|
|
371
|
+
SocialConnection[SocialConnection["SRL"] = 25] = "SRL";
|
|
372
|
+
/**@deprecated*/
|
|
373
|
+
SocialConnection[SocialConnection["Steam"] = 26] = "Steam";
|
|
374
|
+
/**@deprecated*/
|
|
375
|
+
SocialConnection[SocialConnection["Stitcher"] = 27] = "Stitcher";
|
|
376
|
+
/**@deprecated*/
|
|
377
|
+
SocialConnection[SocialConnection["Tumblr"] = 28] = "Tumblr";
|
|
378
|
+
SocialConnection[SocialConnection["Twitch"] = 29] = "Twitch";
|
|
379
|
+
SocialConnection[SocialConnection["Twitter"] = 30] = "Twitter";
|
|
380
|
+
SocialConnection[SocialConnection["Website"] = 31] = "Website";
|
|
381
|
+
SocialConnection[SocialConnection["Youtube"] = 32] = "Youtube";
|
|
382
|
+
/**@deprecated*/
|
|
383
|
+
SocialConnection[SocialConnection["ZSR"] = 33] = "ZSR";
|
|
384
|
+
SocialConnection[SocialConnection["Bluesky"] = 34] = "Bluesky";
|
|
385
|
+
SocialConnection[SocialConnection["Threads"] = 35] = "Threads";
|
|
386
|
+
})(SocialConnection || (SocialConnection = {}));
|
|
387
|
+
export var VarCategoryScope;
|
|
388
|
+
(function (VarCategoryScope) {
|
|
389
|
+
VarCategoryScope[VarCategoryScope["All"] = -1] = "All";
|
|
390
|
+
VarCategoryScope[VarCategoryScope["Single"] = 1] = "Single";
|
|
391
|
+
})(VarCategoryScope || (VarCategoryScope = {}));
|
|
392
|
+
export var VarLevelScope;
|
|
393
|
+
(function (VarLevelScope) {
|
|
394
|
+
VarLevelScope[VarLevelScope["All"] = -2] = "All";
|
|
395
|
+
VarLevelScope[VarLevelScope["Levels"] = -1] = "Levels";
|
|
396
|
+
VarLevelScope[VarLevelScope["FullGame"] = 0] = "FullGame";
|
|
397
|
+
VarLevelScope[VarLevelScope["SingleLevel"] = 1] = "SingleLevel";
|
|
398
|
+
})(VarLevelScope || (VarLevelScope = {}));
|
|
399
|
+
export var VarDisplayMode;
|
|
400
|
+
(function (VarDisplayMode) {
|
|
401
|
+
VarDisplayMode[VarDisplayMode["Auto"] = 0] = "Auto";
|
|
402
|
+
VarDisplayMode[VarDisplayMode["Dropdown"] = 1] = "Dropdown";
|
|
403
|
+
VarDisplayMode[VarDisplayMode["Buttons"] = 2] = "Buttons";
|
|
404
|
+
})(VarDisplayMode || (VarDisplayMode = {}));
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED