moons-ta-client 1.3.0 → 1.3.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/constants.d.ts +3 -3
- package/dist/constants.js +2 -2
- package/dist/index.d.ts +1252 -705
- package/dist/index.esm.js +1521 -188
- package/dist/models/commands.d.ts +12 -12
- package/dist/models/commands.js +6 -6
- package/dist/models/discord.d.ts +6 -6
- package/dist/models/events.d.ts +37 -37
- package/dist/models/google/protobuf/timestamp.d.ts +2 -2
- package/dist/models/google/protobuf/timestamp.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/models.d.ts +247 -131
- package/dist/models/models.js +188 -13
- package/dist/models/packets.d.ts +16 -16
- package/dist/models/packets.js +3 -3
- package/dist/models/pushes.d.ts +19 -19
- package/dist/models/replay_stream.d.ts +181 -155
- package/dist/models/replay_stream.js +81 -26
- package/dist/models/requests.d.ts +481 -224
- package/dist/models/requests.js +604 -37
- package/dist/models/responses.d.ts +237 -95
- package/dist/models/responses.js +335 -19
- package/dist/tournament-assistant-client.d.ts +10 -2
- package/dist/tournament-assistant-client.js +109 -2
- package/package.json +2 -2
package/dist/models/models.d.ts
CHANGED
|
@@ -11,11 +11,11 @@ import { Channel } from './discord.js';
|
|
|
11
11
|
*/
|
|
12
12
|
export interface Characteristic {
|
|
13
13
|
/**
|
|
14
|
-
* @generated from protobuf field: string serialized_name = 1
|
|
14
|
+
* @generated from protobuf field: string serialized_name = 1
|
|
15
15
|
*/
|
|
16
16
|
serializedName: string;
|
|
17
17
|
/**
|
|
18
|
-
* @generated from protobuf field: repeated int32 difficulties = 2
|
|
18
|
+
* @generated from protobuf field: repeated int32 difficulties = 2
|
|
19
19
|
*/
|
|
20
20
|
difficulties: number[];
|
|
21
21
|
}
|
|
@@ -24,19 +24,19 @@ export interface Characteristic {
|
|
|
24
24
|
*/
|
|
25
25
|
export interface Beatmap {
|
|
26
26
|
/**
|
|
27
|
-
* @generated from protobuf field: string name = 1
|
|
27
|
+
* @generated from protobuf field: string name = 1
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
30
|
/**
|
|
31
|
-
* @generated from protobuf field: string level_id = 2
|
|
31
|
+
* @generated from protobuf field: string level_id = 2
|
|
32
32
|
*/
|
|
33
33
|
levelId: string;
|
|
34
34
|
/**
|
|
35
|
-
* @generated from protobuf field: proto.models.Characteristic characteristic = 3
|
|
35
|
+
* @generated from protobuf field: proto.models.Characteristic characteristic = 3
|
|
36
36
|
*/
|
|
37
37
|
characteristic?: Characteristic;
|
|
38
38
|
/**
|
|
39
|
-
* @generated from protobuf field: int32 difficulty = 4
|
|
39
|
+
* @generated from protobuf field: int32 difficulty = 4
|
|
40
40
|
*/
|
|
41
41
|
difficulty: number;
|
|
42
42
|
}
|
|
@@ -45,7 +45,7 @@ export interface Beatmap {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface GameplayModifiers {
|
|
47
47
|
/**
|
|
48
|
-
* @generated from protobuf field: proto.models.GameplayModifiers.GameOptions options = 1
|
|
48
|
+
* @generated from protobuf field: proto.models.GameplayModifiers.GameOptions options = 1
|
|
49
49
|
*/
|
|
50
50
|
options: GameplayModifiers_GameOptions;
|
|
51
51
|
}
|
|
@@ -147,35 +147,35 @@ export declare enum GameplayModifiers_GameOptions {
|
|
|
147
147
|
*/
|
|
148
148
|
export interface PlayerSpecificSettings {
|
|
149
149
|
/**
|
|
150
|
-
* @generated from protobuf field: float player_height = 1
|
|
150
|
+
* @generated from protobuf field: float player_height = 1
|
|
151
151
|
*/
|
|
152
152
|
playerHeight: number;
|
|
153
153
|
/**
|
|
154
|
-
* @generated from protobuf field: float sfx_volume = 2
|
|
154
|
+
* @generated from protobuf field: float sfx_volume = 2
|
|
155
155
|
*/
|
|
156
156
|
sfxVolume: number;
|
|
157
157
|
/**
|
|
158
|
-
* @generated from protobuf field: float saber_trail_intensity = 3
|
|
158
|
+
* @generated from protobuf field: float saber_trail_intensity = 3
|
|
159
159
|
*/
|
|
160
160
|
saberTrailIntensity: number;
|
|
161
161
|
/**
|
|
162
|
-
* @generated from protobuf field: float note_jump_start_beat_offset = 4
|
|
162
|
+
* @generated from protobuf field: float note_jump_start_beat_offset = 4
|
|
163
163
|
*/
|
|
164
164
|
noteJumpStartBeatOffset: number;
|
|
165
165
|
/**
|
|
166
|
-
* @generated from protobuf field: float note_jump_fixed_duration = 5
|
|
166
|
+
* @generated from protobuf field: float note_jump_fixed_duration = 5
|
|
167
167
|
*/
|
|
168
168
|
noteJumpFixedDuration: number;
|
|
169
169
|
/**
|
|
170
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings.PlayerOptions options = 6
|
|
170
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.PlayerOptions options = 6
|
|
171
171
|
*/
|
|
172
172
|
options: PlayerSpecificSettings_PlayerOptions;
|
|
173
173
|
/**
|
|
174
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings.NoteJumpDurationTypeSettings note_jump_duration_type_settings = 7
|
|
174
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.NoteJumpDurationTypeSettings note_jump_duration_type_settings = 7
|
|
175
175
|
*/
|
|
176
176
|
noteJumpDurationTypeSettings: PlayerSpecificSettings_NoteJumpDurationTypeSettings;
|
|
177
177
|
/**
|
|
178
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings.ArcVisibilityType arc_visibility_type = 8
|
|
178
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.ArcVisibilityType arc_visibility_type = 8
|
|
179
179
|
*/
|
|
180
180
|
arcVisibilityType: PlayerSpecificSettings_ArcVisibilityType;
|
|
181
181
|
}
|
|
@@ -271,47 +271,47 @@ export declare enum PlayerSpecificSettings_ArcVisibilityType {
|
|
|
271
271
|
*/
|
|
272
272
|
export interface GameplayParameters {
|
|
273
273
|
/**
|
|
274
|
-
* @generated from protobuf field: proto.models.Beatmap beatmap = 1
|
|
274
|
+
* @generated from protobuf field: proto.models.Beatmap beatmap = 1
|
|
275
275
|
*/
|
|
276
276
|
beatmap?: Beatmap;
|
|
277
277
|
/**
|
|
278
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings player_settings = 2
|
|
278
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings player_settings = 2
|
|
279
279
|
*/
|
|
280
280
|
playerSettings?: PlayerSpecificSettings;
|
|
281
281
|
/**
|
|
282
|
-
* @generated from protobuf field: proto.models.GameplayModifiers gameplay_modifiers = 3
|
|
282
|
+
* @generated from protobuf field: proto.models.GameplayModifiers gameplay_modifiers = 3
|
|
283
283
|
*/
|
|
284
284
|
gameplayModifiers?: GameplayModifiers;
|
|
285
285
|
/**
|
|
286
|
-
* @generated from protobuf field: int32 attempts = 4
|
|
286
|
+
* @generated from protobuf field: int32 attempts = 4
|
|
287
287
|
*/
|
|
288
288
|
attempts: number;
|
|
289
289
|
/**
|
|
290
|
-
* @generated from protobuf field: bool show_scoreboard = 5
|
|
290
|
+
* @generated from protobuf field: bool show_scoreboard = 5
|
|
291
291
|
*/
|
|
292
292
|
showScoreboard: boolean;
|
|
293
293
|
/**
|
|
294
|
-
* @generated from protobuf field: bool disable_pause = 6
|
|
294
|
+
* @generated from protobuf field: bool disable_pause = 6
|
|
295
295
|
*/
|
|
296
296
|
disablePause: boolean;
|
|
297
297
|
/**
|
|
298
|
-
* @generated from protobuf field: bool disable_fail = 7
|
|
298
|
+
* @generated from protobuf field: bool disable_fail = 7
|
|
299
299
|
*/
|
|
300
300
|
disableFail: boolean;
|
|
301
301
|
/**
|
|
302
|
-
* @generated from protobuf field: bool disable_scoresaber_submission = 8
|
|
302
|
+
* @generated from protobuf field: bool disable_scoresaber_submission = 8
|
|
303
303
|
*/
|
|
304
304
|
disableScoresaberSubmission: boolean;
|
|
305
305
|
/**
|
|
306
|
-
* @generated from protobuf field: bool disable_custom_notes_on_stream = 9
|
|
306
|
+
* @generated from protobuf field: bool disable_custom_notes_on_stream = 9
|
|
307
307
|
*/
|
|
308
308
|
disableCustomNotesOnStream: boolean;
|
|
309
309
|
/**
|
|
310
|
-
* @generated from protobuf field: bool use_sync = 10
|
|
310
|
+
* @generated from protobuf field: bool use_sync = 10
|
|
311
311
|
*/
|
|
312
312
|
useSync: boolean;
|
|
313
313
|
/**
|
|
314
|
-
* @generated from protobuf field: int32 target = 11
|
|
314
|
+
* @generated from protobuf field: int32 target = 11
|
|
315
315
|
*/
|
|
316
316
|
target: number;
|
|
317
317
|
}
|
|
@@ -320,11 +320,11 @@ export interface GameplayParameters {
|
|
|
320
320
|
*/
|
|
321
321
|
export interface Map {
|
|
322
322
|
/**
|
|
323
|
-
* @generated from protobuf field: string guid = 1
|
|
323
|
+
* @generated from protobuf field: string guid = 1
|
|
324
324
|
*/
|
|
325
325
|
guid: string;
|
|
326
326
|
/**
|
|
327
|
-
* @generated from protobuf field: proto.models.GameplayParameters gameplay_parameters = 2
|
|
327
|
+
* @generated from protobuf field: proto.models.GameplayParameters gameplay_parameters = 2
|
|
328
328
|
*/
|
|
329
329
|
gameplayParameters?: GameplayParameters;
|
|
330
330
|
}
|
|
@@ -333,23 +333,23 @@ export interface Map {
|
|
|
333
333
|
*/
|
|
334
334
|
export interface Role {
|
|
335
335
|
/**
|
|
336
|
-
* @generated from protobuf field: string guid = 1
|
|
336
|
+
* @generated from protobuf field: string guid = 1
|
|
337
337
|
*/
|
|
338
338
|
guid: string;
|
|
339
339
|
/**
|
|
340
|
-
* @generated from protobuf field: string name = 2
|
|
340
|
+
* @generated from protobuf field: string name = 2
|
|
341
341
|
*/
|
|
342
342
|
name: string;
|
|
343
343
|
/**
|
|
344
|
-
* @generated from protobuf field: string role_id = 3
|
|
344
|
+
* @generated from protobuf field: string role_id = 3
|
|
345
345
|
*/
|
|
346
346
|
roleId: string;
|
|
347
347
|
/**
|
|
348
|
-
* @generated from protobuf field: string tournament_id = 4
|
|
348
|
+
* @generated from protobuf field: string tournament_id = 4
|
|
349
349
|
*/
|
|
350
350
|
tournamentId: string;
|
|
351
351
|
/**
|
|
352
|
-
* @generated from protobuf field: repeated string permissions = 5
|
|
352
|
+
* @generated from protobuf field: repeated string permissions = 5
|
|
353
353
|
*/
|
|
354
354
|
permissions: string[];
|
|
355
355
|
}
|
|
@@ -358,68 +358,72 @@ export interface Role {
|
|
|
358
358
|
*/
|
|
359
359
|
export interface User {
|
|
360
360
|
/**
|
|
361
|
-
* @generated from protobuf field: string guid = 1
|
|
361
|
+
* @generated from protobuf field: string guid = 1
|
|
362
362
|
*/
|
|
363
363
|
guid: string;
|
|
364
364
|
/**
|
|
365
|
-
* @generated from protobuf field: string name = 2
|
|
365
|
+
* @generated from protobuf field: string name = 2
|
|
366
366
|
*/
|
|
367
367
|
name: string;
|
|
368
368
|
/**
|
|
369
|
-
* @generated from protobuf field: string platform_id = 3
|
|
369
|
+
* @generated from protobuf field: string platform_id = 3
|
|
370
370
|
*/
|
|
371
371
|
platformId: string;
|
|
372
372
|
/**
|
|
373
|
-
* @generated from protobuf field: proto.models.User.ClientTypes client_type = 4
|
|
373
|
+
* @generated from protobuf field: proto.models.User.ClientTypes client_type = 4
|
|
374
374
|
*/
|
|
375
375
|
clientType: User_ClientTypes;
|
|
376
376
|
/**
|
|
377
|
-
* @generated from protobuf field: string team_id = 5
|
|
377
|
+
* @generated from protobuf field: string team_id = 5
|
|
378
378
|
*/
|
|
379
379
|
teamId: string;
|
|
380
380
|
/**
|
|
381
|
-
* @generated from protobuf field: proto.models.User.PlayStates play_state = 6
|
|
381
|
+
* @generated from protobuf field: proto.models.User.PlayStates play_state = 6
|
|
382
382
|
*/
|
|
383
383
|
playState: User_PlayStates;
|
|
384
384
|
/**
|
|
385
|
-
* @generated from protobuf field: proto.models.User.DownloadStates download_state = 7
|
|
385
|
+
* @generated from protobuf field: proto.models.User.DownloadStates download_state = 7
|
|
386
386
|
*/
|
|
387
387
|
downloadState: User_DownloadStates;
|
|
388
388
|
/**
|
|
389
|
-
* @generated from protobuf field: repeated string mod_list = 8
|
|
389
|
+
* @generated from protobuf field: repeated string mod_list = 8
|
|
390
390
|
*/
|
|
391
391
|
modList: string[];
|
|
392
392
|
/**
|
|
393
|
-
* @generated from protobuf field: proto.models.User.Point stream_screen_coordinates = 9
|
|
393
|
+
* @generated from protobuf field: proto.models.User.Point stream_screen_coordinates = 9
|
|
394
394
|
*/
|
|
395
395
|
streamScreenCoordinates?: User_Point;
|
|
396
396
|
/**
|
|
397
|
-
* @generated from protobuf field: int64 stream_delay_ms = 10
|
|
397
|
+
* @generated from protobuf field: int64 stream_delay_ms = 10
|
|
398
398
|
*/
|
|
399
399
|
streamDelayMs: bigint;
|
|
400
400
|
/**
|
|
401
|
-
* @generated from protobuf field: int64 stream_sync_start_ms = 11
|
|
401
|
+
* @generated from protobuf field: int64 stream_sync_start_ms = 11
|
|
402
402
|
*/
|
|
403
403
|
streamSyncStartMs: bigint;
|
|
404
404
|
/**
|
|
405
|
-
* @generated from protobuf field: proto.models.User.DiscordInfo discord_info = 12
|
|
405
|
+
* @generated from protobuf field: proto.models.User.DiscordInfo discord_info = 12
|
|
406
406
|
*/
|
|
407
407
|
discordInfo?: User_DiscordInfo;
|
|
408
|
+
/**
|
|
409
|
+
* @generated from protobuf field: bool is_mock = 13
|
|
410
|
+
*/
|
|
411
|
+
isMock: boolean;
|
|
408
412
|
}
|
|
409
413
|
/**
|
|
410
414
|
* @generated from protobuf message proto.models.User.DiscordInfo
|
|
411
415
|
*/
|
|
412
416
|
export interface User_DiscordInfo {
|
|
413
417
|
/**
|
|
414
|
-
* @generated from protobuf field: string user_id = 1
|
|
418
|
+
* @generated from protobuf field: string user_id = 1
|
|
415
419
|
*/
|
|
416
420
|
userId: string;
|
|
417
421
|
/**
|
|
418
|
-
* @generated from protobuf field: string username = 2
|
|
422
|
+
* @generated from protobuf field: string username = 2
|
|
419
423
|
*/
|
|
420
424
|
username: string;
|
|
421
425
|
/**
|
|
422
|
-
* @generated from protobuf field: string avatar_url = 3
|
|
426
|
+
* @generated from protobuf field: string avatar_url = 3
|
|
423
427
|
*/
|
|
424
428
|
avatarUrl: string;
|
|
425
429
|
}
|
|
@@ -428,11 +432,11 @@ export interface User_DiscordInfo {
|
|
|
428
432
|
*/
|
|
429
433
|
export interface User_Point {
|
|
430
434
|
/**
|
|
431
|
-
* @generated from protobuf field: int32 x = 1
|
|
435
|
+
* @generated from protobuf field: int32 x = 1
|
|
432
436
|
*/
|
|
433
437
|
x: number;
|
|
434
438
|
/**
|
|
435
|
-
* @generated from protobuf field: int32 y = 2
|
|
439
|
+
* @generated from protobuf field: int32 y = 2
|
|
436
440
|
*/
|
|
437
441
|
y: number;
|
|
438
442
|
}
|
|
@@ -496,19 +500,19 @@ export declare enum User_ClientTypes {
|
|
|
496
500
|
*/
|
|
497
501
|
export interface Match {
|
|
498
502
|
/**
|
|
499
|
-
* @generated from protobuf field: string guid = 1
|
|
503
|
+
* @generated from protobuf field: string guid = 1
|
|
500
504
|
*/
|
|
501
505
|
guid: string;
|
|
502
506
|
/**
|
|
503
|
-
* @generated from protobuf field: repeated string associated_users = 2
|
|
507
|
+
* @generated from protobuf field: repeated string associated_users = 2
|
|
504
508
|
*/
|
|
505
509
|
associatedUsers: string[];
|
|
506
510
|
/**
|
|
507
|
-
* @generated from protobuf field: string leader = 3
|
|
511
|
+
* @generated from protobuf field: string leader = 3
|
|
508
512
|
*/
|
|
509
513
|
leader: string;
|
|
510
514
|
/**
|
|
511
|
-
* @generated from protobuf field: proto.models.Map selected_map = 4
|
|
515
|
+
* @generated from protobuf field: proto.models.Map selected_map = 4
|
|
512
516
|
*/
|
|
513
517
|
selectedMap?: Map;
|
|
514
518
|
}
|
|
@@ -517,33 +521,41 @@ export interface Match {
|
|
|
517
521
|
*/
|
|
518
522
|
export interface QualifierEvent {
|
|
519
523
|
/**
|
|
520
|
-
* @generated from protobuf field: string guid = 1
|
|
524
|
+
* @generated from protobuf field: string guid = 1
|
|
521
525
|
*/
|
|
522
526
|
guid: string;
|
|
523
527
|
/**
|
|
524
|
-
* @generated from protobuf field: string name = 2
|
|
528
|
+
* @generated from protobuf field: string name = 2
|
|
525
529
|
*/
|
|
526
530
|
name: string;
|
|
527
531
|
/**
|
|
528
|
-
* @generated from protobuf field: string image = 3
|
|
532
|
+
* @generated from protobuf field: string image = 3
|
|
529
533
|
*/
|
|
530
534
|
image: string;
|
|
531
535
|
/**
|
|
532
|
-
* @generated from protobuf field: proto.discord.Channel info_channel = 4
|
|
536
|
+
* @generated from protobuf field: proto.discord.Channel info_channel = 4
|
|
533
537
|
*/
|
|
534
538
|
infoChannel?: Channel;
|
|
535
539
|
/**
|
|
536
|
-
* @generated from protobuf field: repeated proto.models.Map qualifier_maps = 5
|
|
540
|
+
* @generated from protobuf field: repeated proto.models.Map qualifier_maps = 5
|
|
537
541
|
*/
|
|
538
542
|
qualifierMaps: Map[];
|
|
539
543
|
/**
|
|
540
|
-
* @generated from protobuf field: proto.models.QualifierEvent.EventSettings flags = 6
|
|
544
|
+
* @generated from protobuf field: proto.models.QualifierEvent.EventSettings flags = 6
|
|
541
545
|
*/
|
|
542
546
|
flags: QualifierEvent_EventSettings;
|
|
543
547
|
/**
|
|
544
|
-
* @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort sort = 7
|
|
548
|
+
* @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort sort = 7
|
|
545
549
|
*/
|
|
546
550
|
sort: QualifierEvent_LeaderboardSort;
|
|
551
|
+
/**
|
|
552
|
+
* @generated from protobuf field: google.protobuf.Timestamp start_time = 8
|
|
553
|
+
*/
|
|
554
|
+
startTime?: Timestamp;
|
|
555
|
+
/**
|
|
556
|
+
* @generated from protobuf field: google.protobuf.Timestamp end_time = 9
|
|
557
|
+
*/
|
|
558
|
+
endTime?: Timestamp;
|
|
547
559
|
}
|
|
548
560
|
/**
|
|
549
561
|
* @generated from protobuf enum proto.models.QualifierEvent.EventSettings
|
|
@@ -640,48 +652,138 @@ export declare enum QualifierEvent_LeaderboardSort {
|
|
|
640
652
|
*/
|
|
641
653
|
export interface CoreServer {
|
|
642
654
|
/**
|
|
643
|
-
* @generated from protobuf field: string name = 1
|
|
655
|
+
* @generated from protobuf field: string name = 1
|
|
644
656
|
*/
|
|
645
657
|
name: string;
|
|
646
658
|
/**
|
|
647
|
-
* @generated from protobuf field: string address = 2
|
|
659
|
+
* @generated from protobuf field: string address = 2
|
|
648
660
|
*/
|
|
649
661
|
address: string;
|
|
650
662
|
/**
|
|
651
|
-
* @generated from protobuf field: int32 port = 3
|
|
663
|
+
* @generated from protobuf field: int32 port = 3
|
|
652
664
|
*/
|
|
653
665
|
port: number;
|
|
654
666
|
/**
|
|
655
|
-
* @generated from protobuf field: int32 websocket_port = 4
|
|
667
|
+
* @generated from protobuf field: int32 websocket_port = 4
|
|
656
668
|
*/
|
|
657
669
|
websocketPort: number;
|
|
658
670
|
}
|
|
671
|
+
/**
|
|
672
|
+
* @generated from protobuf message proto.models.Webhook
|
|
673
|
+
*/
|
|
674
|
+
export interface Webhook {
|
|
675
|
+
/**
|
|
676
|
+
* @generated from protobuf field: string guid = 1
|
|
677
|
+
*/
|
|
678
|
+
guid: string;
|
|
679
|
+
/**
|
|
680
|
+
* @generated from protobuf field: string tournament_id = 2
|
|
681
|
+
*/
|
|
682
|
+
tournamentId: string;
|
|
683
|
+
/**
|
|
684
|
+
* @generated from protobuf field: string url = 3
|
|
685
|
+
*/
|
|
686
|
+
url: string;
|
|
687
|
+
/**
|
|
688
|
+
* @generated from protobuf field: int64 triggers = 4
|
|
689
|
+
*/
|
|
690
|
+
triggers: bigint;
|
|
691
|
+
/**
|
|
692
|
+
* @generated from protobuf field: bool has_signing_secret = 5
|
|
693
|
+
*/
|
|
694
|
+
hasSigningSecret: boolean;
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* @generated from protobuf enum proto.models.Webhook.Trigger
|
|
698
|
+
*/
|
|
699
|
+
export declare enum Webhook_Trigger {
|
|
700
|
+
/**
|
|
701
|
+
* @generated from protobuf enum value: None = 0;
|
|
702
|
+
*/
|
|
703
|
+
None = 0,
|
|
704
|
+
/**
|
|
705
|
+
* @generated from protobuf enum value: TournamentUpdated = 1;
|
|
706
|
+
*/
|
|
707
|
+
TournamentUpdated = 1,
|
|
708
|
+
/**
|
|
709
|
+
* @generated from protobuf enum value: TournamentDeleted = 2;
|
|
710
|
+
*/
|
|
711
|
+
TournamentDeleted = 2,
|
|
712
|
+
/**
|
|
713
|
+
* @generated from protobuf enum value: UserAdded = 4;
|
|
714
|
+
*/
|
|
715
|
+
UserAdded = 4,
|
|
716
|
+
/**
|
|
717
|
+
* @generated from protobuf enum value: UserUpdated = 8;
|
|
718
|
+
*/
|
|
719
|
+
UserUpdated = 8,
|
|
720
|
+
/**
|
|
721
|
+
* @generated from protobuf enum value: UserLeft = 16;
|
|
722
|
+
*/
|
|
723
|
+
UserLeft = 16,
|
|
724
|
+
/**
|
|
725
|
+
* @generated from protobuf enum value: MatchCreated = 32;
|
|
726
|
+
*/
|
|
727
|
+
MatchCreated = 32,
|
|
728
|
+
/**
|
|
729
|
+
* @generated from protobuf enum value: MatchUpdated = 64;
|
|
730
|
+
*/
|
|
731
|
+
MatchUpdated = 64,
|
|
732
|
+
/**
|
|
733
|
+
* @generated from protobuf enum value: MatchDeleted = 128;
|
|
734
|
+
*/
|
|
735
|
+
MatchDeleted = 128,
|
|
736
|
+
/**
|
|
737
|
+
* @generated from protobuf enum value: QualifierCreated = 256;
|
|
738
|
+
*/
|
|
739
|
+
QualifierCreated = 256,
|
|
740
|
+
/**
|
|
741
|
+
* @generated from protobuf enum value: QualifierUpdated = 512;
|
|
742
|
+
*/
|
|
743
|
+
QualifierUpdated = 512,
|
|
744
|
+
/**
|
|
745
|
+
* @generated from protobuf enum value: QualifierDeleted = 1024;
|
|
746
|
+
*/
|
|
747
|
+
QualifierDeleted = 1024,
|
|
748
|
+
/**
|
|
749
|
+
* @generated from protobuf enum value: QualifierScoreSubmitted = 2048;
|
|
750
|
+
*/
|
|
751
|
+
QualifierScoreSubmitted = 2048,
|
|
752
|
+
/**
|
|
753
|
+
* @generated from protobuf enum value: SongFinished = 4096;
|
|
754
|
+
*/
|
|
755
|
+
SongFinished = 4096,
|
|
756
|
+
/**
|
|
757
|
+
* @generated from protobuf enum value: All = 8191;
|
|
758
|
+
*/
|
|
759
|
+
All = 8191
|
|
760
|
+
}
|
|
659
761
|
/**
|
|
660
762
|
* @generated from protobuf message proto.models.Tournament
|
|
661
763
|
*/
|
|
662
764
|
export interface Tournament {
|
|
663
765
|
/**
|
|
664
|
-
* @generated from protobuf field: string guid = 1
|
|
766
|
+
* @generated from protobuf field: string guid = 1
|
|
665
767
|
*/
|
|
666
768
|
guid: string;
|
|
667
769
|
/**
|
|
668
|
-
* @generated from protobuf field: proto.models.Tournament.TournamentSettings settings = 2
|
|
770
|
+
* @generated from protobuf field: proto.models.Tournament.TournamentSettings settings = 2
|
|
669
771
|
*/
|
|
670
772
|
settings?: Tournament_TournamentSettings;
|
|
671
773
|
/**
|
|
672
|
-
* @generated from protobuf field: repeated proto.models.User users = 3
|
|
774
|
+
* @generated from protobuf field: repeated proto.models.User users = 3
|
|
673
775
|
*/
|
|
674
776
|
users: User[];
|
|
675
777
|
/**
|
|
676
|
-
* @generated from protobuf field: repeated proto.models.Match matches = 4
|
|
778
|
+
* @generated from protobuf field: repeated proto.models.Match matches = 4
|
|
677
779
|
*/
|
|
678
780
|
matches: Match[];
|
|
679
781
|
/**
|
|
680
|
-
* @generated from protobuf field: repeated proto.models.QualifierEvent qualifiers = 5
|
|
782
|
+
* @generated from protobuf field: repeated proto.models.QualifierEvent qualifiers = 5
|
|
681
783
|
*/
|
|
682
784
|
qualifiers: QualifierEvent[];
|
|
683
785
|
/**
|
|
684
|
-
* @generated from protobuf field: proto.models.CoreServer server = 6
|
|
786
|
+
* @generated from protobuf field: proto.models.CoreServer server = 6
|
|
685
787
|
*/
|
|
686
788
|
server?: CoreServer;
|
|
687
789
|
}
|
|
@@ -690,80 +792,84 @@ export interface Tournament {
|
|
|
690
792
|
*/
|
|
691
793
|
export interface Tournament_TournamentSettings {
|
|
692
794
|
/**
|
|
693
|
-
* @generated from protobuf field: string tournament_name = 1
|
|
795
|
+
* @generated from protobuf field: string tournament_name = 1
|
|
694
796
|
*/
|
|
695
797
|
tournamentName: string;
|
|
696
798
|
/**
|
|
697
|
-
* @generated from protobuf field: string tournament_image = 2
|
|
799
|
+
* @generated from protobuf field: string tournament_image = 2
|
|
698
800
|
*/
|
|
699
801
|
tournamentImage: string;
|
|
700
802
|
/**
|
|
701
|
-
* @generated from protobuf field: bool enable_teams = 3
|
|
803
|
+
* @generated from protobuf field: bool enable_teams = 3
|
|
702
804
|
*/
|
|
703
805
|
enableTeams: boolean;
|
|
704
806
|
/**
|
|
705
|
-
* @generated from protobuf field: bool enable_pools = 4
|
|
807
|
+
* @generated from protobuf field: bool enable_pools = 4
|
|
706
808
|
*/
|
|
707
809
|
enablePools: boolean;
|
|
708
810
|
/**
|
|
709
|
-
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Team teams = 5
|
|
811
|
+
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Team teams = 5
|
|
710
812
|
*/
|
|
711
813
|
teams: Tournament_TournamentSettings_Team[];
|
|
712
814
|
/**
|
|
713
|
-
* @generated from protobuf field: int32 score_update_frequency = 6
|
|
815
|
+
* @generated from protobuf field: int32 score_update_frequency = 6
|
|
714
816
|
*/
|
|
715
817
|
scoreUpdateFrequency: number;
|
|
716
818
|
/**
|
|
717
|
-
* @generated from protobuf field: repeated string banned_mods = 7
|
|
819
|
+
* @generated from protobuf field: repeated string banned_mods = 7
|
|
718
820
|
*/
|
|
719
821
|
bannedMods: string[];
|
|
720
822
|
/**
|
|
721
|
-
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Pool pools = 8
|
|
823
|
+
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Pool pools = 8
|
|
722
824
|
*/
|
|
723
825
|
pools: Tournament_TournamentSettings_Pool[];
|
|
724
826
|
/**
|
|
725
|
-
* @generated from protobuf field: bool show_tournament_button = 9
|
|
827
|
+
* @generated from protobuf field: bool show_tournament_button = 9
|
|
726
828
|
*/
|
|
727
829
|
showTournamentButton: boolean;
|
|
728
830
|
/**
|
|
729
|
-
* @generated from protobuf field: bool show_qualifier_button = 10
|
|
831
|
+
* @generated from protobuf field: bool show_qualifier_button = 10
|
|
730
832
|
*/
|
|
731
833
|
showQualifierButton: boolean;
|
|
732
834
|
/**
|
|
733
|
-
* @generated from protobuf field: bool allow_unauthorized_view = 11
|
|
835
|
+
* @generated from protobuf field: bool allow_unauthorized_view = 11
|
|
734
836
|
*/
|
|
735
837
|
allowUnauthorizedView: boolean;
|
|
736
838
|
/**
|
|
737
|
-
* @generated from protobuf field: repeated proto.models.Role roles = 12
|
|
839
|
+
* @generated from protobuf field: repeated proto.models.Role roles = 12
|
|
738
840
|
*/
|
|
739
841
|
roles: Role[];
|
|
740
842
|
/**
|
|
741
|
-
* @generated from protobuf field: repeated string my_permissions = 13
|
|
843
|
+
* @generated from protobuf field: repeated string my_permissions = 13
|
|
742
844
|
*/
|
|
743
845
|
myPermissions: string[];
|
|
744
846
|
/**
|
|
745
|
-
* @generated from protobuf field: bool enable_replay_streaming = 14
|
|
847
|
+
* @generated from protobuf field: bool enable_replay_streaming = 14
|
|
746
848
|
*/
|
|
747
849
|
enableReplayStreaming: boolean;
|
|
850
|
+
/**
|
|
851
|
+
* @generated from protobuf field: bool allow_mock_clients = 15
|
|
852
|
+
*/
|
|
853
|
+
allowMockClients: boolean;
|
|
748
854
|
}
|
|
749
855
|
/**
|
|
750
856
|
* @generated from protobuf message proto.models.Tournament.TournamentSettings.Pool
|
|
751
857
|
*/
|
|
752
858
|
export interface Tournament_TournamentSettings_Pool {
|
|
753
859
|
/**
|
|
754
|
-
* @generated from protobuf field: string guid = 1
|
|
860
|
+
* @generated from protobuf field: string guid = 1
|
|
755
861
|
*/
|
|
756
862
|
guid: string;
|
|
757
863
|
/**
|
|
758
|
-
* @generated from protobuf field: string name = 2
|
|
864
|
+
* @generated from protobuf field: string name = 2
|
|
759
865
|
*/
|
|
760
866
|
name: string;
|
|
761
867
|
/**
|
|
762
|
-
* @generated from protobuf field: string image = 3
|
|
868
|
+
* @generated from protobuf field: string image = 3
|
|
763
869
|
*/
|
|
764
870
|
image: string;
|
|
765
871
|
/**
|
|
766
|
-
* @generated from protobuf field: repeated proto.models.Map maps = 4
|
|
872
|
+
* @generated from protobuf field: repeated proto.models.Map maps = 4
|
|
767
873
|
*/
|
|
768
874
|
maps: Map[];
|
|
769
875
|
}
|
|
@@ -772,15 +878,15 @@ export interface Tournament_TournamentSettings_Pool {
|
|
|
772
878
|
*/
|
|
773
879
|
export interface Tournament_TournamentSettings_Team {
|
|
774
880
|
/**
|
|
775
|
-
* @generated from protobuf field: string guid = 1
|
|
881
|
+
* @generated from protobuf field: string guid = 1
|
|
776
882
|
*/
|
|
777
883
|
guid: string;
|
|
778
884
|
/**
|
|
779
|
-
* @generated from protobuf field: string name = 2
|
|
885
|
+
* @generated from protobuf field: string name = 2
|
|
780
886
|
*/
|
|
781
887
|
name: string;
|
|
782
888
|
/**
|
|
783
|
-
* @generated from protobuf field: string image = 3
|
|
889
|
+
* @generated from protobuf field: string image = 3
|
|
784
890
|
*/
|
|
785
891
|
image: string;
|
|
786
892
|
}
|
|
@@ -789,11 +895,11 @@ export interface Tournament_TournamentSettings_Team {
|
|
|
789
895
|
*/
|
|
790
896
|
export interface State {
|
|
791
897
|
/**
|
|
792
|
-
* @generated from protobuf field: repeated proto.models.Tournament tournaments = 1
|
|
898
|
+
* @generated from protobuf field: repeated proto.models.Tournament tournaments = 1
|
|
793
899
|
*/
|
|
794
900
|
tournaments: Tournament[];
|
|
795
901
|
/**
|
|
796
|
-
* @generated from protobuf field: repeated proto.models.CoreServer known_servers = 2
|
|
902
|
+
* @generated from protobuf field: repeated proto.models.CoreServer known_servers = 2
|
|
797
903
|
*/
|
|
798
904
|
knownServers: CoreServer[];
|
|
799
905
|
}
|
|
@@ -802,63 +908,63 @@ export interface State {
|
|
|
802
908
|
*/
|
|
803
909
|
export interface LeaderboardEntry {
|
|
804
910
|
/**
|
|
805
|
-
* @generated from protobuf field: string event_id = 1
|
|
911
|
+
* @generated from protobuf field: string event_id = 1
|
|
806
912
|
*/
|
|
807
913
|
eventId: string;
|
|
808
914
|
/**
|
|
809
|
-
* @generated from protobuf field: string map_id = 2
|
|
915
|
+
* @generated from protobuf field: string map_id = 2
|
|
810
916
|
*/
|
|
811
917
|
mapId: string;
|
|
812
918
|
/**
|
|
813
|
-
* @generated from protobuf field: string platform_id = 3
|
|
919
|
+
* @generated from protobuf field: string platform_id = 3
|
|
814
920
|
*/
|
|
815
921
|
platformId: string;
|
|
816
922
|
/**
|
|
817
|
-
* @generated from protobuf field: string username = 4
|
|
923
|
+
* @generated from protobuf field: string username = 4
|
|
818
924
|
*/
|
|
819
925
|
username: string;
|
|
820
926
|
/**
|
|
821
|
-
* @generated from protobuf field: int32 multiplied_score = 5
|
|
927
|
+
* @generated from protobuf field: int32 multiplied_score = 5
|
|
822
928
|
*/
|
|
823
929
|
multipliedScore: number;
|
|
824
930
|
/**
|
|
825
|
-
* @generated from protobuf field: int32 modified_score = 6
|
|
931
|
+
* @generated from protobuf field: int32 modified_score = 6
|
|
826
932
|
*/
|
|
827
933
|
modifiedScore: number;
|
|
828
934
|
/**
|
|
829
|
-
* @generated from protobuf field: int32 max_possible_score = 7
|
|
935
|
+
* @generated from protobuf field: int32 max_possible_score = 7
|
|
830
936
|
*/
|
|
831
937
|
maxPossibleScore: number;
|
|
832
938
|
/**
|
|
833
|
-
* @generated from protobuf field: double accuracy = 8
|
|
939
|
+
* @generated from protobuf field: double accuracy = 8
|
|
834
940
|
*/
|
|
835
941
|
accuracy: number;
|
|
836
942
|
/**
|
|
837
|
-
* @generated from protobuf field: int32 notes_missed = 9
|
|
943
|
+
* @generated from protobuf field: int32 notes_missed = 9
|
|
838
944
|
*/
|
|
839
945
|
notesMissed: number;
|
|
840
946
|
/**
|
|
841
|
-
* @generated from protobuf field: int32 bad_cuts = 10
|
|
947
|
+
* @generated from protobuf field: int32 bad_cuts = 10
|
|
842
948
|
*/
|
|
843
949
|
badCuts: number;
|
|
844
950
|
/**
|
|
845
|
-
* @generated from protobuf field: int32 good_cuts = 11
|
|
951
|
+
* @generated from protobuf field: int32 good_cuts = 11
|
|
846
952
|
*/
|
|
847
953
|
goodCuts: number;
|
|
848
954
|
/**
|
|
849
|
-
* @generated from protobuf field: int32 max_combo = 12
|
|
955
|
+
* @generated from protobuf field: int32 max_combo = 12
|
|
850
956
|
*/
|
|
851
957
|
maxCombo: number;
|
|
852
958
|
/**
|
|
853
|
-
* @generated from protobuf field: bool full_combo = 13
|
|
959
|
+
* @generated from protobuf field: bool full_combo = 13
|
|
854
960
|
*/
|
|
855
961
|
fullCombo: boolean;
|
|
856
962
|
/**
|
|
857
|
-
* @generated from protobuf field: bool is_placeholder = 14
|
|
963
|
+
* @generated from protobuf field: bool is_placeholder = 14
|
|
858
964
|
*/
|
|
859
965
|
isPlaceholder: boolean;
|
|
860
966
|
/**
|
|
861
|
-
* @generated from protobuf field: string color = 15
|
|
967
|
+
* @generated from protobuf field: string color = 15
|
|
862
968
|
*/
|
|
863
969
|
color: string;
|
|
864
970
|
}
|
|
@@ -867,75 +973,75 @@ export interface LeaderboardEntry {
|
|
|
867
973
|
*/
|
|
868
974
|
export interface RealtimeScore {
|
|
869
975
|
/**
|
|
870
|
-
* @generated from protobuf field: string user_guid = 1
|
|
976
|
+
* @generated from protobuf field: string user_guid = 1
|
|
871
977
|
*/
|
|
872
978
|
userGuid: string;
|
|
873
979
|
/**
|
|
874
|
-
* @generated from protobuf field: int32 score = 2
|
|
980
|
+
* @generated from protobuf field: int32 score = 2
|
|
875
981
|
*/
|
|
876
982
|
score: number;
|
|
877
983
|
/**
|
|
878
|
-
* @generated from protobuf field: int32 score_with_modifiers = 3
|
|
984
|
+
* @generated from protobuf field: int32 score_with_modifiers = 3
|
|
879
985
|
*/
|
|
880
986
|
scoreWithModifiers: number;
|
|
881
987
|
/**
|
|
882
|
-
* @generated from protobuf field: int32 max_score = 4
|
|
988
|
+
* @generated from protobuf field: int32 max_score = 4
|
|
883
989
|
*/
|
|
884
990
|
maxScore: number;
|
|
885
991
|
/**
|
|
886
|
-
* @generated from protobuf field: int32 max_score_with_modifiers = 5
|
|
992
|
+
* @generated from protobuf field: int32 max_score_with_modifiers = 5
|
|
887
993
|
*/
|
|
888
994
|
maxScoreWithModifiers: number;
|
|
889
995
|
/**
|
|
890
|
-
* @generated from protobuf field: int32 combo = 6
|
|
996
|
+
* @generated from protobuf field: int32 combo = 6
|
|
891
997
|
*/
|
|
892
998
|
combo: number;
|
|
893
999
|
/**
|
|
894
|
-
* @generated from protobuf field: float player_health = 7
|
|
1000
|
+
* @generated from protobuf field: float player_health = 7
|
|
895
1001
|
*/
|
|
896
1002
|
playerHealth: number;
|
|
897
1003
|
/**
|
|
898
|
-
* @generated from protobuf field: double accuracy = 8
|
|
1004
|
+
* @generated from protobuf field: double accuracy = 8
|
|
899
1005
|
*/
|
|
900
1006
|
accuracy: number;
|
|
901
1007
|
/**
|
|
902
|
-
* @generated from protobuf field: float song_position = 9
|
|
1008
|
+
* @generated from protobuf field: float song_position = 9
|
|
903
1009
|
*/
|
|
904
1010
|
songPosition: number;
|
|
905
1011
|
/**
|
|
906
|
-
* @generated from protobuf field: int32 notes_missed = 10
|
|
1012
|
+
* @generated from protobuf field: int32 notes_missed = 10
|
|
907
1013
|
*/
|
|
908
1014
|
notesMissed: number;
|
|
909
1015
|
/**
|
|
910
|
-
* @generated from protobuf field: int32 bad_cuts = 11
|
|
1016
|
+
* @generated from protobuf field: int32 bad_cuts = 11
|
|
911
1017
|
*/
|
|
912
1018
|
badCuts: number;
|
|
913
1019
|
/**
|
|
914
|
-
* @generated from protobuf field: int32 bomb_hits = 12
|
|
1020
|
+
* @generated from protobuf field: int32 bomb_hits = 12
|
|
915
1021
|
*/
|
|
916
1022
|
bombHits: number;
|
|
917
1023
|
/**
|
|
918
|
-
* @generated from protobuf field: int32 wall_hits = 13
|
|
1024
|
+
* @generated from protobuf field: int32 wall_hits = 13
|
|
919
1025
|
*/
|
|
920
1026
|
wallHits: number;
|
|
921
1027
|
/**
|
|
922
|
-
* @generated from protobuf field: int32 max_combo = 14
|
|
1028
|
+
* @generated from protobuf field: int32 max_combo = 14
|
|
923
1029
|
*/
|
|
924
1030
|
maxCombo: number;
|
|
925
1031
|
/**
|
|
926
|
-
* @generated from protobuf field: proto.models.ScoreTrackerHand left_hand = 15
|
|
1032
|
+
* @generated from protobuf field: proto.models.ScoreTrackerHand left_hand = 15
|
|
927
1033
|
*/
|
|
928
1034
|
leftHand?: ScoreTrackerHand;
|
|
929
1035
|
/**
|
|
930
|
-
* @generated from protobuf field: proto.models.ScoreTrackerHand right_hand = 16
|
|
1036
|
+
* @generated from protobuf field: proto.models.ScoreTrackerHand right_hand = 16
|
|
931
1037
|
*/
|
|
932
1038
|
rightHand?: ScoreTrackerHand;
|
|
933
1039
|
/**
|
|
934
|
-
* @generated from protobuf field: google.protobuf.Timestamp timestamp = 17
|
|
1040
|
+
* @generated from protobuf field: google.protobuf.Timestamp timestamp = 17
|
|
935
1041
|
*/
|
|
936
1042
|
timestamp?: Timestamp;
|
|
937
1043
|
/**
|
|
938
|
-
* @generated from protobuf field: google.protobuf.Timestamp song_start_time = 18
|
|
1044
|
+
* @generated from protobuf field: google.protobuf.Timestamp song_start_time = 18
|
|
939
1045
|
*/
|
|
940
1046
|
songStartTime?: Timestamp;
|
|
941
1047
|
}
|
|
@@ -944,19 +1050,19 @@ export interface RealtimeScore {
|
|
|
944
1050
|
*/
|
|
945
1051
|
export interface ScoreTrackerHand {
|
|
946
1052
|
/**
|
|
947
|
-
* @generated from protobuf field: int32 hit = 1
|
|
1053
|
+
* @generated from protobuf field: int32 hit = 1
|
|
948
1054
|
*/
|
|
949
1055
|
hit: number;
|
|
950
1056
|
/**
|
|
951
|
-
* @generated from protobuf field: int32 miss = 2
|
|
1057
|
+
* @generated from protobuf field: int32 miss = 2
|
|
952
1058
|
*/
|
|
953
1059
|
miss: number;
|
|
954
1060
|
/**
|
|
955
|
-
* @generated from protobuf field: int32 bad_cut = 3
|
|
1061
|
+
* @generated from protobuf field: int32 bad_cut = 3
|
|
956
1062
|
*/
|
|
957
1063
|
badCut: number;
|
|
958
1064
|
/**
|
|
959
|
-
* @generated from protobuf field: repeated float avg_cut = 4
|
|
1065
|
+
* @generated from protobuf field: repeated float avg_cut = 4
|
|
960
1066
|
*/
|
|
961
1067
|
avgCut: number[];
|
|
962
1068
|
}
|
|
@@ -1090,6 +1196,16 @@ declare class CoreServer$Type extends MessageType<CoreServer> {
|
|
|
1090
1196
|
* @generated MessageType for protobuf message proto.models.CoreServer
|
|
1091
1197
|
*/
|
|
1092
1198
|
export declare const CoreServer: CoreServer$Type;
|
|
1199
|
+
declare class Webhook$Type extends MessageType<Webhook> {
|
|
1200
|
+
constructor();
|
|
1201
|
+
create(value?: PartialMessage<Webhook>): Webhook;
|
|
1202
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Webhook): Webhook;
|
|
1203
|
+
internalBinaryWrite(message: Webhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* @generated MessageType for protobuf message proto.models.Webhook
|
|
1207
|
+
*/
|
|
1208
|
+
export declare const Webhook: Webhook$Type;
|
|
1093
1209
|
declare class Tournament$Type extends MessageType<Tournament> {
|
|
1094
1210
|
constructor();
|
|
1095
1211
|
create(value?: PartialMessage<Tournament>): Tournament;
|