-
Notifications
You must be signed in to change notification settings - Fork 2
/
types.ts
1260 lines (1109 loc) · 30.7 KB
/
types.ts
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { AwardRank, BankaraMatchChallengeState, BankaraMatchMode, CatalogRewardState, ChallengeState, CoopBigRunState, CoopGradePointDiff, CoopMode, CoopRule, CoopTrophy, DragonMatchType, FestDragonCert, FestMatchMode, FestState, FestTeamRole, FestVoteState, FriendOnlineState, HeroProgressCommentSpeaker, HeroSupplyWeaponCategory, Judgement, JudgementKnockout, LeagueMatchTeamComposition, Species, TricolourRole, XMatchMeasurementState } from './enum.js';
import { UnknownScalarType } from './generated-type-helpers.js';
export interface Connection<T> {
nodes: T[];
edges: Edge<T>[];
pageInfo: PageInfo;
totalCount: number;
}
export interface PageInfo {
endCursor: string;
hasNextPage: boolean;
}
export interface Edge<T> {
node: T;
cursor: string;
}
export interface Colour {
a: number;
r: number;
g: number;
b: number;
}
export { Colour as Color };
export interface CurrentPlayer {
__typename: 'CurrentPlayer';
__isPlayer: 'CurrentPlayer';
byname: string;
name: string;
nameId: string;
nameplate: Nameplate;
userIcon: Image;
species: Species | keyof typeof Species;
weapon: Weapon;
headGear: HeadGear;
clothingGear: ClothingGear;
shoesGear: ShoesGear;
}
export interface Image {
__typename: 'Image';
url: string;
width: number;
height: number;
}
export interface MaskingImage {
width: number;
height: number;
maskImageUrl: string;
overlayImageUrl: string;
}
export interface DownloadImage {
url: string;
variant: string;
}
export interface Nameplate {
badges: (Badge | null)[];
background: NameplateBackground;
}
export interface NameplateBackground {
id: string;
image: Pick<Image, 'url'>;
textColor: Colour;
}
export interface Badge {
__typename: 'Badge';
id: string;
image: Pick<Image, 'url'>;
description: string;
}
export interface VsRule {
__typename: 'VsRule';
name: string;
rule: string;
id: string;
}
export interface VsMode {
__typename: 'VsMode';
id: string; // "VnNNb2RlLTI=" (2 == Anarchy Series), "VnNNb2RlLTUx" (51 == Anarchy Open)
mode: string; // "BANKARA"
name: string; // "Anarchy Battle"
}
export interface UserError {
code: number;
message: string;
}
export interface PhotoAlbum {
__typename: 'PhotoAlbum';
items: PhotoAlbumItemConnection;
nplnUserId: string;
}
export type PhotoAlbumItemConnection = Connection<PhotoAlbumItem>;
export interface PhotoAlbumItem {
__typename: 'PhotoAlbumItem';
id: string;
thumbnail: Image;
photo: Image;
uploadedTime: string;
}
export interface Catalog {
progress: CatalogProgress;
seasonName: string;
seasonEndTime: string;
bonus: CatalogBonus;
}
export interface CatalogProgress {
__typename: 'CatalogProgress';
level: number;
totalPoint: number;
levelUpPoint: number;
currentPoint: number;
extraReward: CatalogExtraReward | null;
rewards: CatalogReward[];
}
export type CatalogExtraReward = any;
export interface CatalogReward {
level: number;
currentPoint: number;
state: CatalogRewardState | keyof typeof CatalogRewardState;
item: CatalogItem;
}
export interface CatalogItem {
id: string;
kind: string;
name: string;
amount: number;
image: Image;
headGear: HeadGear;
clothingGear: ClothingGear;
shoesGear: ShoesGear;
primaryGearPower: GearPower | null;
}
export interface CatalogBonus {
dailyWinPoint: number;
isBigRun: boolean;
isFest: boolean;
isSeasonClosing: boolean;
}
export interface ChallengeJourney {
__typename: 'ChallengeJourney';
id: string;
name: string;
subName: string;
desc: string;
image: Image;
gratitude: unknown | null;
reward: GearReward;
challengeCount: number;
supportedCount: number;
state: ChallengeState | keyof typeof ChallengeState;
challenges: Challenge[];
}
export type ChallengeJourneyConnection = Connection<ChallengeJourney>;
export interface GearReward {
id: string;
gear: Gear;
}
export interface Challenge {
id: string;
isSupported: boolean;
challengeNumber: number;
name: string;
desc: string;
image: Image;
goalPoint: number;
reward: ChallengeReward | null;
}
export type ChallengeReward = BynameReward | CardSleeveReward | WallpaperReward | IconReward | GraffitiReward | {
__typename: string & never;
id: string;
};
export interface BynameReward {
__typename: 'BynameReward';
id: string;
byname: string;
}
export interface CardSleeveReward {
__typename: 'CardSleeveReward';
id: string;
name: string;
sampleImage: Image;
}
export interface IconReward {
__typename: 'IconReward';
id: string;
downloadIcons: DownloadIcon;
name: string;
}
export interface DownloadIcon {
bgColor: string;
url: string;
}
export interface GraffitiReward {
__typename: 'GraffitiReward';
image: DownloadImage;
id: string;
name: string;
}
export interface ChallengeHome {
currentPaintPoint: number;
challengeJourneys: ChallengeJourneyConnection;
}
export interface SupportChallengePayload {
afterPaintPoint: number;
challenge: Challenge;
challengeJourney: ChallengeJourney;
nextChallengeJourney: ChallengeJourney | null;
userErrors: UserError[] | null;
}
export interface CheckinHistory {
id: string;
title: string;
checkinTime: string;
description: string;
reward: NameplateBackgroundReward | ConsumingReward | {
__typename: string & never;
id: string;
};
}
export type CreateCheckinHistoryPayload = any;
export interface NameplateBackgroundReward {
__typename: 'NameplateBackgroundReward';
id: string;
nameplateBackground: NameplateBackground;
}
export interface ConsumingReward {
__typename: 'ConsumingReward';
id: string;
name: string;
image: Image;
amount: number;
}
export interface CoopStage {
__typename: 'CoopStage';
id: string; // "Q29vcFN0YWdlLTI="
name: string; // "Sockeye Station"
coopStageId: number; // 2
image: Image;
thumbnailImage: Image;
}
export interface CoopSupplyWeapon {
__typename: 'CoopSupplyWeapon';
name: string; // "Splattershot Jr."
image: Image;
}
export interface CoopSupplySpecialWeapon {
weaponId: number;
name: string;
image: Image;
}
export interface CoopHistoryDetail {
__typename: 'CoopHistoryDetail';
id: string;
rule: CoopRule | keyof typeof CoopRule;
weapons: CoopSupplyWeapon[];
nextHistoryDetail: CoopHistoryDetail | null;
previousHistoryDetail: CoopHistoryDetail | null;
resultWave: number;
coopStage: CoopStage;
afterGrade: CoopGrade | null;
afterGradePoint: number | null;
gradePointDiff: CoopGradePointDiff | keyof typeof CoopGradePointDiff;
bossResult: CoopBossResult | null;
myResult: CoopPlayerResult;
memberResults: CoopPlayerResult[];
enemyResults: CoopEnemyResult[];
waveResults: CoopWaveResult[];
playedTime: string;
dangerRate: number;
scenarioCode: unknown | null;
smellMeter: number | null;
scale: CoopScale | null;
jobPoint: number | null;
jobScore: number | null;
jobRate: number | null;
jobBonus: number | null;
}
export interface CoopBossResult {
boss: unknown;
hasDefeatBoss: unknown;
}
export interface CoopPlayerResult {
player: CoopPlayer;
weapons: CoopSupplyWeapon[];
specialWeapon: CoopSupplySpecialWeapon | null;
defeatEnemyCount: number;
deliverCount: number;
goldenAssistCount: number;
goldenDeliverCount: number;
rescueCount: number;
rescuedCount: number;
}
export interface CoopPlayer {
__isPlayer: 'CoopPlayer';
id: string;
name: string;
nameId: string;
byname: string;
nameplate: Nameplate;
uniform: CoopUniform;
isMyself: boolean;
species: Species | keyof typeof Species;
}
export interface CoopUniform {
id: string;
name: string;
image: Image;
}
export interface CoopWaveResult {
waveNumber: number;
waterLevel: number;
eventWave: CoopEventWave | null;
deliverNorm: number | null;
goldenPopCount: number;
teamDeliverCount: number | null;
specialWeapons: SpecialWeapon[];
}
export interface CoopEventWave {
id: string;
name: string;
}
export interface CoopEnemyResult {
defeatCount: number;
teamDefeatCount: number;
popCount: number;
enemy: CoopEnemy;
}
export interface CoopEnemy {
id: string;
name: string;
image: Image;
}
export interface CoopResult {
// historyGroupsOnlyFirst: CoopHistoryGroup;
regularAverageClearWave: number;
regularGrade: CoopGrade;
regularGradePoint: number;
monthlyGear: Gear;
scale: CoopScale;
pointCard: CoopPointCard;
historyGroups: CoopHistoryGroupConnection;
}
export interface CoopGrade {
id: string;
name: string;
}
export interface CoopScale {
gold: number;
silver: number;
bronze: number;
}
export interface CoopPointCard {
defeatBossCount: number;
deliverCount: number;
goldenDeliverCount: number;
playCount: number;
rescueCount: number;
regularPoint: number;
totalPoint: number;
limitedPoint: unknown | null;
}
export interface CoopHistoryGroup {
startTime: string;
endTime: string;
mode: CoopMode | keyof typeof CoopMode;
rule: CoopRule | keyof typeof CoopRule;
playCount: unknown;
highestResult: CoopGroupHighestResult;
historyDetails: CoopHistoryDetailConnection;
}
export interface CoopGroupHighestResult {
grade: CoopGrade;
gradePoint: number;
jobScore: number;
trophy: CoopTrophy | null;
}
export type CoopHistoryGroupConnection = Connection<CoopHistoryGroup>;
export type CoopHistoryDetailConnection = Connection<CoopHistoryDetail>;
export interface CoopRecord {
bigRunRecord: CoopBigRunRecord;
teamContestRecord: CoopTeamContestRecord;
}
export interface CoopBigRunRecord {
records: CoopBigRunRecordItemConnection;
}
export type CoopBigRunRecordItemConnection = Connection<CoopBigRunRecordItem>;
export type CoopBigRunRecordItemEdge = Edge<CoopBigRunRecordItem>;
export interface CoopBigRunRecordItem {
__typename: 'CoopBigRunRecordItem';
startTime: string;
endTime: string;
trophy: CoopTrophy | null;
coopStage: CoopStage;
highestGrade: CoopGrade;
highestGradePoint: number;
highestJobScore: number;
}
export interface CoopTeamContestRecord {
attend: number;
bronze: number;
gold: number;
silver: number;
}
export interface Fest {
__typename: 'Fest';
id: string;
title: string;
lang: string;
startTime: string;
endTime: string;
midtermTime: string;
state: FestState | keyof typeof FestState;
image: Image;
teams: FestTeam[];
playerResult: FestPlayerResult | null;
myTeam: FestTeam | null;
isVotable: boolean;
undecidedVotes: FestVoteConnection | null;
tricolorStage: VsStage;
}
export interface FestTeam {
__typename: 'FestTeam';
id: string;
teamName: string;
color: Colour;
image: Image;
/** null = not voted or not voted for this team */
myVoteState: FestVoteState | null;
preVotes: FestVoteConnection | null;
votes: FestVoteConnection | null;
role: FestTeamRole | keyof typeof FestTeamRole | null;
result: FestTeamResult;
}
export interface FestVote {
playerName: string;
userIcon: Image;
}
export interface FestTeamResult {
__typename: 'FestTeamResult';
isWinner: boolean;
horagaiRatio: number;
isHoragaiRatioTop: boolean;
voteRatio: number;
isVoteRatioTop: boolean;
regularContributionRatio: number;
isRegularContributionRatioTop: boolean;
challengeContributionRatio: number;
isChallengeContributionRatioTop: boolean;
tricolorContributionRatio: number | null;
isTricolorContributionRatioTop: boolean | null;
rankingHolders: FestRankingHolderConnection;
}
export interface FestRankingHolder {
__typename: 'FestRankingHolder';
__isPlayer: 'FestRankingHolder';
id: string;
name: string;
nameId: string;
byname: string;
rank: number;
festPower: number;
weapon: Weapon;
nameplate: Nameplate;
}
export interface FestPlayerResult {
grade: string; // "Gear Ruler"
horagai: number;
regularContributionAverage: number;
regularContributionTotal: number;
challengeContributionAverage: number | null;
challengeContributionTotal: number | null;
tricolorContributionEnabled: boolean;
tricolorContributionAverage: number | null;
tricolorContributionTotal: number | null;
maxFestPower: number | null;
}
export type FestConnection = Connection<Fest>;
export type FestVoteConnection = Connection<FestVote>;
export type FestRankingHolderConnection = Connection<FestRankingHolder>;
export type FestRankingHolderEdge = Edge<FestRankingHolder>;
export interface Friend {
id: string;
onlineState: FriendOnlineState;
/** Switch user name */
nickname: string;
/** Splatoon 3 name, if the user has one set and is currently playing Splatoon 3 */
playerName: string | null;
userIcon: Image;
vsMode: VsMode | null;
coopRule: string | null;
isFavorite: boolean;
isLocked: boolean | null;
isVcEnabled: boolean | null;
}
export type FriendConnection = Connection<Friend>;
export interface Gear {
__typename: string;
name: string;
rarity: number;
image: Image;
brand: Brand;
primaryGearPower: GearPower;
additionalGearPowers: GearPower[];
stats: GearRecordStats | null;
}
export interface HeadGear extends Gear {
__typename: 'HeadGear';
__isGear: 'HeadGear';
headGearId: number;
}
export interface ClothingGear extends Gear {
__typename: 'ClothingGear';
__isGear: 'ClothingGear';
clothingGearId: number;
}
export interface ShoesGear extends Gear {
__typename: 'ShoesGear';
__isGear: 'ShoesGear';
shoesGearId: number;
}
export interface GearPower {
__typename: 'GearPower';
gearPowerId: number;
name: string;
desc: string;
image: Image;
power: number;
isEmptySlot: boolean;
}
export interface Brand {
__typename: 'Brand';
id: string;
name: string;
image: Image;
usualGearPower: GearPower;
}
export interface GearRecordStats {
exp: number;
}
export type HeadGearConnection = Connection<HeadGear>;
export type ClothingGearConnection = Connection<ClothingGear>;
export type ShoesGearConnection = Connection<ShoesGear>;
export type GearPowerConnection = Connection<GearPower>;
export type BrandConnection = Connection<Brand>;
export interface SaleGear {
__typename: 'SaleGear';
id: string;
saleEndTime: string;
price: number;
isAlreadyOrdered: boolean;
gear: Gear;
ownedGear: Gear;
nextGear: SaleGear | null;
previousGear: SaleGear | null;
}
export interface Gesotown {
pickupBrand: PickupBrand;
limitedGears: SaleGear[];
}
export interface PickupBrand {
image: Image;
brand: Brand;
saleEndTime: string;
brandGears: SaleGear[];
nextBrand: Brand;
}
export interface OrderGesotownGearPayload {
gesotownGear: SaleGear;
previousOrderedGear: SaleGear | null;
userErrors: UserError[] | null;
}
export interface HeroRecord {
progressComment: string;
progressPhrase: string;
progressRate: number;
sites: HeroSite[];
reward: WallpaperReward | null;
fullReward: WallpaperReward | null;
}
export interface HeroSite {
id: string;
image: Image;
siteNumber: number;
progressRate: number;
siteName: string;
progressComment: string;
progressCommentSpeaker: HeroProgressCommentSpeaker | keyof typeof HeroProgressCommentSpeaker;
reward: WallpaperReward | null;
clearedStages: HeroStage[];
}
export interface HeroStage {
stageNumber: number;
isBoss: boolean;
bestClearTimeSec: number;
bestClearWeapon: HeroSupplyWeapon;
stageName: string;
description: string;
}
export interface HeroSupplyWeapon {
name: string;
category: HeroSupplyWeaponCategory | keyof typeof HeroSupplyWeaponCategory;
image: Image;
}
export interface WallpaperReward {
id: string;
name: string;
sampleImage: Image;
downloadImages: DownloadImage[];
}
export interface PlayHistory {
currentTime: string;
gameStartTime: string;
rank: number;
udemae: string;
udemaeMax: string;
xMatchRankAr: unknown | null;
xMatchRankCl: unknown | null;
xMatchRankGl: unknown | null;
xMatchRankLf: unknown | null;
xMatchMaxAr: XMatchMax;
xMatchMaxCl: XMatchMax;
xMatchMaxGl: XMatchMax;
xMatchMaxLf: XMatchMax;
winCountTotal: number;
frequentlyUsedWeapons: Weapon[];
paintPointTotal: number;
battleNumTotal: number;
badges: Badge[];
weaponHistory: WeaponHistoryConnection;
recentBadges: Badge[];
allBadges: Badge[];
xMatchSeasonHistory: XMatchSeasonHistoryConnection;
bankaraMatchOpenPlayHistory: PlayHistoryTrophyRecord;
leagueMatchPlayHistory: PlayHistoryTrophyRecord;
}
export interface XMatchMax {
power: unknown | null;
rank: unknown | null;
rankUpdateSeasonName: unknown | null;
powerUpdateTime: unknown | null;
}
export interface WeaponHistory {
seasonName: string;
isMonthly: boolean;
startTime: string;
endTime: string;
weaponCategories: WeaponCategoryUtilRatio[];
weapons: WeaponUtilRatio[];
}
export type WeaponHistoryConnection = Connection<WeaponHistory>;
export interface WeaponCategoryUtilRatio {
weaponCategory: WeaponCategory;
utilRatio: number;
weapons: WeaponUtilRatio[];
}
export interface WeaponUtilRatio {
weapon: Weapon;
utilRatio: number;
}
export interface XMatchSeasonHistory {
powerAr: unknown;
powerCl: unknown;
powerGl: unknown;
powerLf: unknown;
rankAr: unknown;
rankCl: unknown;
rankGl: unknown;
rankLf: unknown;
xRankingSeason: XRankingSeason;
}
export type XMatchSeasonHistoryConnection = Connection<XMatchSeasonHistory>;
export type XMatchSeasonHistoryEdge = Edge<XMatchSeasonHistory>;
export interface PlayHistoryTrophyRecord {
attend: number;
bronze: number;
gold: number;
silver: number;
}
export interface Banner {
image: Image;
message: string;
jumpTo: string;
}
export type HomeFooterMessage =
FooterBigRunMessage |
FooterFestMessage |
FooterSeasonMessage |
FooterLeagueMatchMessage |
{__typename: string & never;};
export interface FooterBigRunMessage {
__typename: 'FooterBigRunMessage';
state: CoopBigRunState | keyof typeof CoopBigRunState;
}
export interface FooterFestMessage {
__typename: 'FooterFestMessage';
state: FestState | keyof typeof FestState;
festTitle: string;
}
export interface FooterSeasonMessage {
__typename: 'FooterSeasonMessage';
seasonName: string;
}
export interface FooterLeagueMatchMessage {
leagueMatchName: string;
__typename: 'FooterLeagueMatchMessage';
}
export interface MyOutfit {
__typename: 'MyOutfit';
id: string;
index: number;
weapon: Weapon;
headGear: HeadGear;
clothingGear: ClothingGear;
shoesGear: ShoesGear;
controlOptionConsole: PlayControlOption;
controlOptionHandheld: PlayControlOption;
}
export type MyOutfitConnection = Connection<MyOutfit>;
export type MyOutfitEdge = Edge<MyOutfit>;
export interface PlayControlOption {
isEnableGyro: boolean;
isReverseLr: boolean;
isReverseUd: boolean;
cameraSpeedGyro: number;
cameraSpeedStick: number;
}
export interface CreateMyOutfitPayload {
myOutfit: MyOutfit;
userErrors: UserError[] | null;
}
export interface UpdateMyOutfitPayload {
myOutfit: MyOutfit;
userErrors: UserError[] | null;
}
export interface MyOutfitShare {
image: Image;
}
export interface Replay {
id: string;
historyDetail: VsHistoryDetail;
replayCode: string;
}
export type ReplayConnection = Connection<Replay>;
export interface ReserveReplayDownloadPayload {
replay: Replay;
userErrors: UserError[] | null;
}
export interface VsSchedule {
__typename: 'VsSchedule';
startTime: string;
endTime: string;
regularMatchSetting: RegularMatchSetting | null;
bankaraMatchSettings: BankaraMatchSetting[] | null;
xMatchSetting: XMatchSetting | null;
leagueMatchSetting: LeagueMatchSetting | null;
festMatchSetting: FestMatchSetting | null;
festMatchSettings: FestMatchSetting[] | null;
}
export type VsScheduleConnection = Connection<VsSchedule>;
export interface VsSetting {
vsStages: VsStage[];
vsRule: VsRule;
}
export interface RegularMatchSetting extends VsSetting {
__typename: 'RegularMatchSetting';
vsStages: VsStage[];
vsRule: VsRule;
}
export interface BankaraMatchSetting extends VsSetting {
__typename: 'BankaraMatchSetting';
vsStages: VsStage[];
vsRule: VsRule;
mode: BankaraMatchMode | keyof typeof BankaraMatchMode;
}
export interface XMatchSetting extends VsSetting {
__typename: 'XMatchSetting';
vsStages: VsStage[];
vsRule: VsRule;
}
export interface LeagueMatchSetting extends VsSetting {
__typename: 'LeagueMatchSetting';
leagueMatchEvent: LeagueMatchEvent;
vsStages: VsStage[];
vsRule: VsRule;
}
export interface FestMatchSetting extends VsSetting {
__typename: 'FestMatchSetting';
vsStages: VsStage[];
vsRule: VsRule;
mode: FestMatchMode;
}
export interface CoopGroupingSchedule {
bannerImage: Image | null;
bigRunSchedules: CoopScheduleConnection;
regularSchedules: CoopScheduleConnection;
teamContestSchedules: CoopScheduleConnection;
}
export interface CoopSchedule {
__typename: 'CoopSchedule';
startTime: string;
endTime: string;
setting: CoopSetting | null;
}
export type CoopScheduleConnection = Connection<CoopSchedule>;
export interface CoopSetting {
__typename: 'CoopNormalSetting' | 'CoopBigRunSetting';
__isCoopSetting: 'CoopNormalSetting' | 'CoopBigRunSetting';
coopStage: CoopStage;
weapons: CoopSupplyWeapon[];
rule: CoopRule | keyof typeof CoopRule;
}
export interface LeagueMatchSchedule {
leagueMatchSetting: LeagueMatchSetting;
timePeriods: TimePeriod[];
}
export type LeagueMatchScheduleConnection = Connection<LeagueMatchSchedule>;
export interface TimePeriod {
startTime: string;
endTime: string;
}
export interface Weapon {
__typename: 'Weapon';
id: string;
weaponId: number;
weaponCategory: WeaponCategory;
name: string;
image: Image;
subWeapon: SubWeapon;
specialWeapon: SpecialWeapon;
/** null = not owned */
stats: WeaponRecordStats | null;
}
export interface WeaponRecordStats {
/** null = never used */
lastUsedTime: string | null;
paint: number;
level: number;
expToLevelUp: number;
win: number;
vibes: number;
}
export interface SubWeapon {
__typename: 'SubWeapon';
id: string;
subWeaponId: number;
name: string;
image: Image;
}
export interface SpecialWeapon {
__typename: 'SpecialWeapon';
id: string;
specialWeaponId: number;
name: string;
image: Image;
maskingImage: MaskingImage;
}
export interface WeaponCategory {
__typename: 'WeaponCategory';
id: string;
weaponCategoryId: number;
category: string;
name: string;
image: Image;
}
export type WeaponConnection = Connection<Weapon>;
export type WeaponCategoryConnection = Connection<WeaponCategory>;
export type SubWeaponConnection = Connection<SubWeapon>;
export type SpecialWeaponConnection = Connection<SpecialWeapon>;
export interface VsStage {
__typename: 'VsStage';
id: string;
vsStageId: number;
name: string;
image: Image;
stats: VsStageRecordStats | null;
}
export type VsStageConnection = Connection<VsStage>;
export interface VsStageRecordStats {