-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.d.ts
1398 lines (1232 loc) · 30.7 KB
/
index.d.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
/** ApiObject Type, id and other key:value pairs */
export interface ApiObject {
id: number;
[keys: string]: ApiObjectProperty;
}
/** Possible types of an ApiObject's properties */
export type ApiObjectProperty =
| ApiObject[]
| ApiObject
| number[]
| number
| string
| string[]
| boolean
| undefined;
export interface Count extends ApiObject {
count?: number;
}
export interface MultiQueryResult extends ApiObject {
name?: string;
results?: Array<any> | number[];
count?: number;
}
export interface MultiQueryResultArray extends ApiObject {
result?: Array<MultiQueryResult> | number[];
}
export interface AchievementResult extends ApiObject {
achievements?: Array<Achievement> | number[];
}
export interface Achievement extends ApiObject {
id: number;
achievement_icon?: AchievementIcon | number;
category?: AchievementCategoryEnum;
created_at?: number;
description?: string;
external_id?: string;
game?: Game | number;
language?: RegionLanguageEnum;
locked_achievement_icon?: AchievementIcon | number;
name?: string;
owners?: number;
owners_percentage?: number;
rank?: AchievementRankEnum;
slug?: string;
tags?: Array<number>;
updated_at?: number;
}
export interface AchievementIconResult extends ApiObject {
achievementicons?: Array<AchievementIcon> | number[];
}
export interface AchievementIcon extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface AgeRatingResult extends ApiObject {
ageratings?: Array<AgeRating> | number[];
}
export interface AgeRating extends ApiObject {
id: number;
category?: AgeRatingCategoryEnum;
content_descriptions?: Array<AgeRatingContentDescription> | number[];
rating?: AgeRatingRatingEnum;
rating_cover_url?: string;
synopsis?: string;
}
export interface AgeRatingContentDescriptionResult extends ApiObject {
ageratingcontentdescriptions?: Array<AgeRatingContentDescription> | number[];
}
export interface AgeRatingContentDescription extends ApiObject {
id: number;
category?: AgeRatingRatingEnum;
description?: string;
}
export interface AlternativeNameResult extends ApiObject {
alternativenames?: Array<AlternativeName> | number[];
}
export interface AlternativeName extends ApiObject {
id: number;
comment?: string;
game?: Game | number;
name?: string;
}
export interface ApiTokenResult extends ApiObject {
apitokens?: Array<ApiToken> | number[];
}
export interface ApiToken extends ApiObject {
id: number;
created_at?: number;
expires_in?: number;
token?: string;
user?: number;
}
export interface ArtworkResult extends ApiObject {
artworks?: Array<Artwork> | number[];
}
export interface Artwork extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
game?: Game | number;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface CharacterResult extends ApiObject {
characters?: Array<Character> | number[];
}
export interface Character extends ApiObject {
id: number;
akas?: Array<string> | number[];
country_name?: string;
created_at?: number;
description?: string;
games?: Array<Game> | number[];
gender?: GenderGenderEnum;
mug_shot?: CharacterMugShot | number;
name?: string;
people?: Array<Person> | number[];
slug?: string;
species?: CharacterSpeciesEnum;
updated_at?: number;
url?: string;
}
export interface CharacterMugShotResult extends ApiObject {
charactermugshots?: Array<CharacterMugShot> | number[];
}
export interface CharacterMugShot extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface CollectionResult extends ApiObject {
collections?: Array<Collection> | number[];
}
export interface Collection extends ApiObject {
id: number;
created_at?: number;
games?: Array<Game> | number[];
name?: string;
slug?: string;
updated_at?: number;
url?: string;
}
export interface CompanyResult extends ApiObject {
companies?: Array<Company> | number[];
}
export interface Company extends ApiObject {
id: number;
change_date?: number;
change_date_category?: DateFormatStartDateCategoryEnum;
changed_company_id?: Company | number;
country?: number;
created_at?: number;
description?: string;
developed?: Array<Game> | number[];
logo?: CompanyLogo | number;
name?: string;
parent?: Company | number;
published?: Array<Game> | number[];
slug?: string;
start_date?: number;
start_date_category?: DateFormatStartDateCategoryEnum;
updated_at?: number;
url?: string;
websites?: Array<CompanyWebsite> | number[];
}
export interface CompanyLogoResult extends ApiObject {
companylogos?: Array<CompanyLogo> | number[];
}
export interface CompanyLogo extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface CompanyWebsiteResult extends ApiObject {
companywebsites?: Array<CompanyWebsite> | number[];
}
export interface CompanyWebsite extends ApiObject {
id: number;
category?: WebsiteCategoryEnum;
trusted?: boolean;
url?: string;
}
export interface CoverResult extends ApiObject {
covers?: Array<Cover> | number[];
}
export interface Cover extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
game?: Game | number;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface CreditResult extends ApiObject {
credits?: Array<Credit> | number[];
}
export interface Credit extends ApiObject {
id: number;
category?: CreditCategoryEnum;
character?: Character | number;
character_credited_name?: string;
comment?: string;
company?: Company | number;
country?: number;
created_at?: number;
credited_name?: string;
game?: Game | number;
person?: Person | number;
person_title?: Title | number;
position?: number;
updated_at?: number;
}
export interface ExternalGameResult extends ApiObject {
externalgames?: Array<ExternalGame> | number[];
}
export interface ExternalGame extends ApiObject {
id: number;
category?: ExternalGameCategoryEnum;
created_at?: number;
game?: Game | number;
name?: string;
uid?: string;
updated_at?: number;
url?: string;
year?: number;
}
export interface FeedResult extends ApiObject {
feeds?: Array<Feed> | number[];
}
export interface Feed extends ApiObject {
id: number;
category?: FeedCategoryEnum;
content?: string;
created_at?: number;
feed_likes_count?: number;
feed_video?: GameVideo | number;
games?: Array<Game> | number[];
meta?: string;
published_at?: number;
pulse?: Pulse | number;
slug?: string;
title?: string;
uid?: string;
updated_at?: number;
url?: string;
user?: number;
}
export interface FeedFollowResult extends ApiObject {
feedfollows?: Array<FeedFollow> | number[];
}
export interface FeedFollow extends ApiObject {
id: number;
created_at?: number;
feed?: FeedCategoryEnum;
published_at?: number;
updated_at?: number;
user?: User | number;
}
export interface FollowResult extends ApiObject {
follows?: Array<Follow> | number[];
}
export interface Follow extends ApiObject {
id: number;
game?: Game | number;
user?: User | number;
}
export interface FranchiseResult extends ApiObject {
franchises?: Array<Franchise> | number[];
}
export interface Franchise extends ApiObject {
id: number;
created_at?: number;
games?: Array<Game> | number[];
name?: string;
slug?: string;
updated_at?: number;
url?: string;
}
export interface GameResult extends ApiObject {
games?: Array<Game> | number[];
}
export interface Game extends ApiObject {
id: number;
age_ratings?: Array<AgeRating> | number[];
aggregated_rating?: number;
aggregated_rating_count?: number;
alternative_names?: Array<AlternativeName> | number[];
artworks?: Array<Artwork> | number[];
bundles?: Array<Game> | number[];
category?: GameCategoryEnum;
collection?: Collection | number;
cover?: Cover | number;
created_at?: number;
dlcs?: Array<Game> | number[];
expansions?: Array<Game> | number[];
external_games?: Array<ExternalGame> | number[];
first_release_date?: number;
follows?: number;
franchise?: Franchise | number;
franchises?: Array<Franchise> | number[];
game_engines?: Array<GameEngine> | number[];
game_modes?: Array<GameMode> | number[];
genres?: Array<Genre> | number[];
hypes?: number;
involved_companies?: Array<InvolvedCompany> | number[];
keywords?: Array<Keyword> | number[];
multiplayer_modes?: Array<MultiplayerMode> | number[];
name?: string;
parent_game?: Game | number;
platforms?: Array<Platform> | number[];
player_perspectives?: Array<PlayerPerspective> | number[];
popularity?: number;
pulse_count?: number;
rating?: number;
rating_count?: number;
release_dates?: Array<ReleaseDate> | number[];
screenshots?: Array<Screenshot> | number[];
similar_games?: Array<Game> | number[];
slug?: string;
standalone_expansions?: Array<Game> | number[];
status?: GameStatusEnum;
storyline?: string;
summary?: string;
tags?: Array<number>;
themes?: Array<Theme> | number[];
time_to_beat?: TimeToBeat | number;
total_rating?: number;
total_rating_count?: number;
updated_at?: number;
url?: string;
version_parent?: Game | number;
version_title?: string;
videos?: Array<GameVideo> | number[];
websites?: Array<Website> | number[];
}
export interface GameEngineResult extends ApiObject {
gameengines?: Array<GameEngine> | number[];
}
export interface GameEngine extends ApiObject {
id: number;
companies?: Array<Company> | number[];
created_at?: number;
description?: string;
logo?: GameEngineLogo | number;
name?: string;
platforms?: Array<Platform> | number[];
slug?: string;
updated_at?: number;
url?: string;
}
export interface GameEngineLogoResult extends ApiObject {
gameenginelogos?: Array<GameEngineLogo> | number[];
}
export interface GameEngineLogo extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface GameModeResult extends ApiObject {
gamemodes?: Array<GameMode> | number[];
}
export interface GameMode extends ApiObject {
id: number;
created_at?: number;
name?: string;
slug?: string;
updated_at?: number;
url?: string;
}
export interface GameVersionResult extends ApiObject {
gameversions?: Array<GameVersion> | number[];
}
export interface GameVersion extends ApiObject {
id: number;
created_at?: number;
features?: Array<GameVersionFeature> | number[];
game?: Game | number;
games?: Array<Game> | number[];
updated_at?: number;
url?: string;
}
export interface GameVersionFeatureResult extends ApiObject {
gameversionfeatures?: Array<GameVersionFeature> | number[];
}
export interface GameVersionFeature extends ApiObject {
id: number;
category?: GameVersionFeatureCategoryEnum;
description?: string;
position?: number;
title?: string;
values?: Array<GameVersionFeatureValue> | number[];
}
export interface GameVersionFeatureValueResult extends ApiObject {
gameversionfeaturevalues?: Array<GameVersionFeatureValue> | number[];
}
export interface GameVersionFeatureValue extends ApiObject {
id: number;
game?: Game | number;
game_feature?: GameVersionFeature | number;
included_feature?: GameVersionFeatureValueIncludedFeatureEnum;
note?: string;
}
export interface GameVideoResult extends ApiObject {
gamevideos?: Array<GameVideo> | number[];
}
export interface GameVideo extends ApiObject {
id: number;
game?: Game | number;
name?: string;
video_id?: string;
}
export interface GenreResult extends ApiObject {
genres?: Array<Genre> | number[];
}
export interface Genre extends ApiObject {
id: number;
created_at?: number;
name?: string;
slug?: string;
updated_at?: number;
url?: string;
}
export interface InvolvedCompanyResult extends ApiObject {
involvedcompanies?: Array<InvolvedCompany> | number[];
}
export interface InvolvedCompany extends ApiObject {
id: number;
company?: Company | number;
created_at?: number;
developer?: boolean;
game?: Game | number;
porting?: boolean;
publisher?: boolean;
supporting?: boolean;
updated_at?: number;
}
export interface KeywordResult extends ApiObject {
keywords?: Array<Keyword> | number[];
}
export interface Keyword extends ApiObject {
id: number;
created_at?: number;
name?: string;
slug?: string;
updated_at?: number;
url?: string;
}
export interface ListResult extends ApiObject {
lists?: Array<List> | number[];
}
export interface List extends ApiObject {
id: number;
created_at?: number;
description?: string;
entries_count?: number;
list_entries?: Array<ListEntry> | number[];
list_tags?: Array<number>;
listed_games?: Array<Game> | number[];
name?: string;
numbering?: boolean;
private?: boolean;
similar_lists?: Array<List> | number[];
slug?: string;
updated_at?: number;
url?: string;
user?: User | number;
}
export interface ListEntryResult extends ApiObject {
listentries?: Array<ListEntry> | number[];
}
export interface ListEntry extends ApiObject {
id: number;
description?: string;
game?: Game | number;
list?: List | number;
platform?: Platform | number;
position?: number;
private?: boolean;
user?: User | number;
}
export interface MultiplayerModeResult extends ApiObject {
multiplayermodes?: Array<MultiplayerMode> | number[];
}
export interface MultiplayerMode extends ApiObject {
id: number;
campaigncoop?: boolean;
dropin?: boolean;
game?: Game | number;
lancoop?: boolean;
offlinecoop?: boolean;
offlinecoopmax?: number;
offlinemax?: number;
onlinecoop?: boolean;
onlinecoopmax?: number;
onlinemax?: number;
platform?: Platform | number;
splitscreen?: boolean;
splitscreenonline?: boolean;
}
export interface PageResult extends ApiObject {
pages?: Array<Page> | number[];
}
export interface Page extends ApiObject {
id: number;
background?: PageBackground | number;
battlenet?: string;
category?: PageCategoryEnum;
color?: ColorColorEnum;
company?: Company | number;
country?: number;
created_at?: number;
description?: string;
feed?: Feed | number;
game?: Game | number;
name?: string;
origin?: string;
page_follows_count?: number;
page_logo?: PageLogo | number;
slug?: string;
sub_category?: PageSubCategoryEnum;
updated_at?: number;
uplay?: string;
url?: string;
user?: User | number;
websites?: Array<PageWebsite> | number[];
}
export interface PageBackgroundResult extends ApiObject {
pagebackgrounds?: Array<PageBackground> | number[];
}
export interface PageBackground extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface PageLogoResult extends ApiObject {
pagelogos?: Array<PageLogo> | number[];
}
export interface PageLogo extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface PageWebsiteResult extends ApiObject {
pagewebsites?: Array<PageWebsite> | number[];
}
export interface PageWebsite extends ApiObject {
id: number;
category?: WebsiteCategoryEnum;
trusted?: boolean;
url?: string;
}
export interface PersonResult extends ApiObject {
people?: Array<Person> | number[];
}
export interface Person extends ApiObject {
id: number;
bio?: string;
characters?: Array<Character> | number[];
country?: number;
created_at?: number;
credited_games?: Array<Game> | number[];
description?: string;
dob?: number;
gender?: GenderGenderEnum;
loves_count?: number;
mug_shot?: PersonMugShot | number;
name?: string;
nicknames?: Array<string> | number[];
parent?: Person | number;
slug?: string;
updated_at?: number;
url?: string;
voice_acted?: Array<Game> | number[];
websites?: Array<PersonWebsite> | number[];
}
export interface PersonMugShotResult extends ApiObject {
personmugshots?: Array<PersonMugShot> | number[];
}
export interface PersonMugShot extends ApiObject {
id: number;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface PersonWebsiteResult extends ApiObject {
personwebsites?: Array<PersonWebsite> | number[];
}
export interface PersonWebsite extends ApiObject {
id: number;
category?: WebsiteCategoryEnum;
trusted?: boolean;
url?: string;
}
export interface PlatformResult extends ApiObject {
platforms?: Array<Platform> | number[];
}
export interface Platform extends ApiObject {
id: number;
abbreviation?: string;
alternative_name?: string;
category?: PlatformCategoryEnum;
created_at?: number;
generation?: number;
name?: string;
platform_logo?: PlatformLogo | number;
product_family?: ProductFamily | number;
slug?: string;
summary?: string;
updated_at?: number;
url?: string;
versions?: Array<PlatformVersion> | number[];
websites?: Array<PlatformWebsite> | number[];
}
export interface PlatformLogoResult extends ApiObject {
platformlogos?: Array<PlatformLogo> | number[];
}
export interface PlatformLogo extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface PlatformVersionResult extends ApiObject {
platformversions?: Array<PlatformVersion> | number[];
}
export interface PlatformVersion extends ApiObject {
id: number;
companies?: Array<PlatformVersionCompany> | number[];
connectivity?: string;
cpu?: string;
graphics?: string;
main_manufacturer?: PlatformVersionCompany | number;
media?: string;
memory?: string;
name?: string;
online?: string;
os?: string;
output?: string;
platform_logo?: PlatformLogo | number;
platform_version_release_dates?: Array<PlatformVersionReleaseDate> | number[];
resolutions?: string;
slug?: string;
sound?: string;
storage?: string;
summary?: string;
url?: string;
}
export interface PlatformVersionCompanyResult extends ApiObject {
platformversioncompanies?: Array<PlatformVersionCompany> | number[];
}
export interface PlatformVersionCompany extends ApiObject {
id: number;
comment?: string;
company?: Company | number;
developer?: boolean;
manufacturer?: boolean;
}
export interface PlatformVersionReleaseDateResult extends ApiObject {
platformversionreleasedates?: Array<PlatformVersionReleaseDate> | number[];
}
export interface PlatformVersionReleaseDate extends ApiObject {
id: number;
category?: DateFormatStartDateCategoryEnum;
created_at?: number;
date?: number;
human?: string;
m?: number;
platform_version?: PlatformVersion | number;
region?: RegionLanguageEnum;
updated_at?: number;
y?: number;
}
export interface PlatformWebsiteResult extends ApiObject {
platformwebsites?: Array<PlatformWebsite> | number[];
}
export interface PlatformWebsite extends ApiObject {
id: number;
category?: WebsiteCategoryEnum;
trusted?: boolean;
url?: string;
}
export interface PlayerPerspectiveResult extends ApiObject {
playerperspectives?: Array<PlayerPerspective> | number[];
}
export interface PlayerPerspective extends ApiObject {
id: number;
created_at?: number;
name?: string;
slug?: string;
updated_at?: number;
url?: string;
}
export interface ProductFamilyResult extends ApiObject {
productfamilies?: Array<ProductFamily> | number[];
}
export interface ProductFamily extends ApiObject {
id: number;
name?: string;
slug?: string;
}
export interface PulseResult extends ApiObject {
pulses?: Array<Pulse> | number[];
}
export interface Pulse extends ApiObject {
id: number;
author?: string;
category?: number;
created_at?: number;
ignored?: boolean;
image?: string;
published_at?: number;
pulse_image?: PulseImage | number;
pulse_source?: PulseSource | number;
summary?: string;
tags?: Array<number>;
title?: string;
uid?: string;
updated_at?: number;
videos?: Array<string> | number[];
website?: PulseUrl | number;
}
export interface PulseGroupResult extends ApiObject {
pulsegroups?: Array<PulseGroup> | number[];
}
export interface PulseGroup extends ApiObject {
id: number;
created_at?: number;
game?: Game | number;
name?: string;
published_at?: number;
pulses?: Array<Pulse> | number[];
tags?: Array<number>;
updated_at?: number;
}
export interface PulseImageResult extends ApiObject {
pulseimages?: Array<PulseImage> | number[];
}
export interface PulseImage extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface PulseSourceResult extends ApiObject {
pulsesources?: Array<PulseSource> | number[];
}
export interface PulseSource extends ApiObject {
id: number;
game?: Game | number;
name?: string;
page?: Page | number;
}
export interface PulseUrlResult extends ApiObject {
pulseurls?: Array<PulseUrl> | number[];
}
export interface PulseUrl extends ApiObject {
id: number;
trusted?: boolean;
url?: string;
}
export interface RateResult extends ApiObject {
rates?: Array<Rate> | number[];
}
export interface Rate extends ApiObject {
id: number;
game?: Game | number;
rating?: number;
user?: User | number;
}
export interface ReleaseDateResult extends ApiObject {
releasedates?: Array<ReleaseDate> | number[];
}
export interface ReleaseDate extends ApiObject {
id: number;
category?: DateFormatStartDateCategoryEnum;
created_at?: number;
date?: number;
game?: Game | number;
human?: string;
m?: number;
platform?: Platform | number;
region?: RegionLanguageEnum;
updated_at?: number;
y?: number;
}
export interface ReviewResult extends ApiObject {
reviews?: Array<Review> | number[];
}
export interface Review extends ApiObject {
id: number;
category?: ReviewCategoryEnum;
conclusion?: string;
content?: string;
created_at?: number;
game?: Game | number;
introduction?: string;
likes?: number;
negative_points?: string;
platform?: Platform | number;
positive_points?: string;
slug?: string;
title?: string;
updated_at?: number;
url?: string;
user?: User | number;
user_rating?: Rate | number;
video?: ReviewVideo | number;
views?: number;
}
export interface ReviewVideoResult extends ApiObject {
reviewvideos?: Array<ReviewVideo> | number[];
}
export interface ReviewVideo extends ApiObject {
id: number;
trusted?: boolean;
url?: string;
}
export interface ScreenshotResult extends ApiObject {
screenshots?: Array<Screenshot> | number[];
}
export interface Screenshot extends ApiObject {
id: number;
alpha_channel?: boolean;
animated?: boolean;
game?: Game | number;
height?: number;
image_id?: string;
url?: string;
width?: number;
}
export interface SearchResult extends ApiObject {
searches?: Array<Search> | number[];
}
export interface Search extends ApiObject {
id: number;
alternative_name?: string;
character?: Character | number;
collection?: Collection | number;
company?: Company | number;
description?: string;