@retropak/types 1.0.0-draft2 → 1.0.0-draft5
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/generated.d.ts +0 -20
- package/package.json +1 -1
- package/src/generated.ts +0 -20
package/dist/generated.d.ts
CHANGED
|
@@ -129,14 +129,12 @@ export interface RetropakManifest {
|
|
|
129
129
|
* GameFAQs ID.
|
|
130
130
|
*/
|
|
131
131
|
gamefaqs?: number;
|
|
132
|
-
[k: string]: unknown;
|
|
133
132
|
};
|
|
134
133
|
rating?: AgeRating;
|
|
135
134
|
/**
|
|
136
135
|
* Additional notes, warnings, or information (e.g. access codes, compatibility notes, copy protection details).
|
|
137
136
|
*/
|
|
138
137
|
notes?: string;
|
|
139
|
-
[k: string]: unknown;
|
|
140
138
|
};
|
|
141
139
|
/**
|
|
142
140
|
* The media files (ROMs, disc images, tapes, etc.) included in this package.
|
|
@@ -171,13 +169,11 @@ export interface RetropakManifest {
|
|
|
171
169
|
* Soundtrack or audio files from the game.
|
|
172
170
|
*/
|
|
173
171
|
music?: MusicTrack[];
|
|
174
|
-
[k: string]: unknown;
|
|
175
172
|
};
|
|
176
173
|
/**
|
|
177
174
|
* External configuration files for emulators or platforms.
|
|
178
175
|
*/
|
|
179
176
|
config?: ConfigFile[];
|
|
180
|
-
[k: string]: unknown;
|
|
181
177
|
}
|
|
182
178
|
/**
|
|
183
179
|
* Multiplayer capabilities.
|
|
@@ -195,7 +191,6 @@ export interface Players {
|
|
|
195
191
|
* Whether cooperative play is supported.
|
|
196
192
|
*/
|
|
197
193
|
coop?: boolean;
|
|
198
|
-
[k: string]: unknown;
|
|
199
194
|
}
|
|
200
195
|
/**
|
|
201
196
|
* Input devices, peripherals, and capabilities.
|
|
@@ -209,7 +204,6 @@ export interface Features {
|
|
|
209
204
|
* Optional features the title supports.
|
|
210
205
|
*/
|
|
211
206
|
supported?: Feature[];
|
|
212
|
-
[k: string]: unknown;
|
|
213
207
|
}
|
|
214
208
|
/**
|
|
215
209
|
* A person credited for work on the title.
|
|
@@ -223,7 +217,6 @@ export interface CreditEntry {
|
|
|
223
217
|
* Job titles or roles (e.g. 'Director', 'Lead Programmer', 'Composer').
|
|
224
218
|
*/
|
|
225
219
|
roles?: string[];
|
|
226
|
-
[k: string]: unknown;
|
|
227
220
|
}
|
|
228
221
|
/**
|
|
229
222
|
* Age/content ratings from various rating boards.
|
|
@@ -265,7 +258,6 @@ export interface AgeRating {
|
|
|
265
258
|
* BBFC rating (United Kingdom).
|
|
266
259
|
*/
|
|
267
260
|
bbfc?: "u" | "pg" | "12" | "12a" | "15" | "18" | "r18";
|
|
268
|
-
[k: string]: unknown;
|
|
269
261
|
}
|
|
270
262
|
/**
|
|
271
263
|
* A media file (ROM, disc image, tape, etc.).
|
|
@@ -326,7 +318,6 @@ export interface MediaItem {
|
|
|
326
318
|
* Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
|
|
327
319
|
*/
|
|
328
320
|
notes?: string;
|
|
329
|
-
[k: string]: unknown;
|
|
330
321
|
}
|
|
331
322
|
/**
|
|
332
323
|
* Front box/case cover image.
|
|
@@ -340,7 +331,6 @@ export interface Image {
|
|
|
340
331
|
* Alternative text describing the image for accessibility.
|
|
341
332
|
*/
|
|
342
333
|
alt?: string;
|
|
343
|
-
[k: string]: unknown;
|
|
344
334
|
}
|
|
345
335
|
/**
|
|
346
336
|
* Back box/case cover image.
|
|
@@ -354,7 +344,6 @@ export interface Image1 {
|
|
|
354
344
|
* Alternative text describing the image for accessibility.
|
|
355
345
|
*/
|
|
356
346
|
alt?: string;
|
|
357
|
-
[k: string]: unknown;
|
|
358
347
|
}
|
|
359
348
|
/**
|
|
360
349
|
* Box/case spine image.
|
|
@@ -368,7 +357,6 @@ export interface Image2 {
|
|
|
368
357
|
* Alternative text describing the image for accessibility.
|
|
369
358
|
*/
|
|
370
359
|
alt?: string;
|
|
371
|
-
[k: string]: unknown;
|
|
372
360
|
}
|
|
373
361
|
/**
|
|
374
362
|
* An image of physical media (cartridge, disc, tape, etc.).
|
|
@@ -387,7 +375,6 @@ export interface PhysicalMediaImage {
|
|
|
387
375
|
*/
|
|
388
376
|
mediaId?: string;
|
|
389
377
|
type?: MediaType;
|
|
390
|
-
[k: string]: unknown;
|
|
391
378
|
}
|
|
392
379
|
/**
|
|
393
380
|
* Logo/wordmark with transparent background.
|
|
@@ -401,7 +388,6 @@ export interface Image3 {
|
|
|
401
388
|
* Alternative text describing the image for accessibility.
|
|
402
389
|
*/
|
|
403
390
|
alt?: string;
|
|
404
|
-
[k: string]: unknown;
|
|
405
391
|
}
|
|
406
392
|
/**
|
|
407
393
|
* Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
|
|
@@ -415,7 +401,6 @@ export interface Image4 {
|
|
|
415
401
|
* Alternative text describing the image for accessibility.
|
|
416
402
|
*/
|
|
417
403
|
alt?: string;
|
|
418
|
-
[k: string]: unknown;
|
|
419
404
|
}
|
|
420
405
|
/**
|
|
421
406
|
* Title screen screenshot.
|
|
@@ -429,7 +414,6 @@ export interface Image5 {
|
|
|
429
414
|
* Alternative text describing the image for accessibility.
|
|
430
415
|
*/
|
|
431
416
|
alt?: string;
|
|
432
|
-
[k: string]: unknown;
|
|
433
417
|
}
|
|
434
418
|
/**
|
|
435
419
|
* An image file with optional alt text for accessibility.
|
|
@@ -443,7 +427,6 @@ export interface Image6 {
|
|
|
443
427
|
* Alternative text describing the image for accessibility.
|
|
444
428
|
*/
|
|
445
429
|
alt?: string;
|
|
446
|
-
[k: string]: unknown;
|
|
447
430
|
}
|
|
448
431
|
/**
|
|
449
432
|
* An image file with optional alt text for accessibility.
|
|
@@ -457,7 +440,6 @@ export interface Image7 {
|
|
|
457
440
|
* Alternative text describing the image for accessibility.
|
|
458
441
|
*/
|
|
459
442
|
alt?: string;
|
|
460
|
-
[k: string]: unknown;
|
|
461
443
|
}
|
|
462
444
|
/**
|
|
463
445
|
* A soundtrack or audio file from the title.
|
|
@@ -475,7 +457,6 @@ export interface MusicTrack {
|
|
|
475
457
|
* Whether this track is suitable for background/menu music when browsing titles.
|
|
476
458
|
*/
|
|
477
459
|
background?: boolean;
|
|
478
|
-
[k: string]: unknown;
|
|
479
460
|
}
|
|
480
461
|
/**
|
|
481
462
|
* An external configuration file for emulator or platform-specific settings.
|
|
@@ -493,5 +474,4 @@ export interface ConfigFile {
|
|
|
493
474
|
* What this config file does or overrides.
|
|
494
475
|
*/
|
|
495
476
|
description?: string;
|
|
496
|
-
[k: string]: unknown;
|
|
497
477
|
}
|
package/package.json
CHANGED
package/src/generated.ts
CHANGED
|
@@ -460,14 +460,12 @@ export interface RetropakManifest {
|
|
|
460
460
|
* GameFAQs ID.
|
|
461
461
|
*/
|
|
462
462
|
gamefaqs?: number;
|
|
463
|
-
[k: string]: unknown;
|
|
464
463
|
};
|
|
465
464
|
rating?: AgeRating;
|
|
466
465
|
/**
|
|
467
466
|
* Additional notes, warnings, or information (e.g. access codes, compatibility notes, copy protection details).
|
|
468
467
|
*/
|
|
469
468
|
notes?: string;
|
|
470
|
-
[k: string]: unknown;
|
|
471
469
|
};
|
|
472
470
|
/**
|
|
473
471
|
* The media files (ROMs, disc images, tapes, etc.) included in this package.
|
|
@@ -502,13 +500,11 @@ export interface RetropakManifest {
|
|
|
502
500
|
* Soundtrack or audio files from the game.
|
|
503
501
|
*/
|
|
504
502
|
music?: MusicTrack[];
|
|
505
|
-
[k: string]: unknown;
|
|
506
503
|
};
|
|
507
504
|
/**
|
|
508
505
|
* External configuration files for emulators or platforms.
|
|
509
506
|
*/
|
|
510
507
|
config?: ConfigFile[];
|
|
511
|
-
[k: string]: unknown;
|
|
512
508
|
}
|
|
513
509
|
/**
|
|
514
510
|
* Multiplayer capabilities.
|
|
@@ -526,7 +522,6 @@ export interface Players {
|
|
|
526
522
|
* Whether cooperative play is supported.
|
|
527
523
|
*/
|
|
528
524
|
coop?: boolean;
|
|
529
|
-
[k: string]: unknown;
|
|
530
525
|
}
|
|
531
526
|
/**
|
|
532
527
|
* Input devices, peripherals, and capabilities.
|
|
@@ -540,7 +535,6 @@ export interface Features {
|
|
|
540
535
|
* Optional features the title supports.
|
|
541
536
|
*/
|
|
542
537
|
supported?: Feature[];
|
|
543
|
-
[k: string]: unknown;
|
|
544
538
|
}
|
|
545
539
|
/**
|
|
546
540
|
* A person credited for work on the title.
|
|
@@ -554,7 +548,6 @@ export interface CreditEntry {
|
|
|
554
548
|
* Job titles or roles (e.g. 'Director', 'Lead Programmer', 'Composer').
|
|
555
549
|
*/
|
|
556
550
|
roles?: string[];
|
|
557
|
-
[k: string]: unknown;
|
|
558
551
|
}
|
|
559
552
|
/**
|
|
560
553
|
* Age/content ratings from various rating boards.
|
|
@@ -596,7 +589,6 @@ export interface AgeRating {
|
|
|
596
589
|
* BBFC rating (United Kingdom).
|
|
597
590
|
*/
|
|
598
591
|
bbfc?: "u" | "pg" | "12" | "12a" | "15" | "18" | "r18";
|
|
599
|
-
[k: string]: unknown;
|
|
600
592
|
}
|
|
601
593
|
/**
|
|
602
594
|
* A media file (ROM, disc image, tape, etc.).
|
|
@@ -657,7 +649,6 @@ export interface MediaItem {
|
|
|
657
649
|
* Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
|
|
658
650
|
*/
|
|
659
651
|
notes?: string;
|
|
660
|
-
[k: string]: unknown;
|
|
661
652
|
}
|
|
662
653
|
/**
|
|
663
654
|
* Front box/case cover image.
|
|
@@ -671,7 +662,6 @@ export interface Image {
|
|
|
671
662
|
* Alternative text describing the image for accessibility.
|
|
672
663
|
*/
|
|
673
664
|
alt?: string;
|
|
674
|
-
[k: string]: unknown;
|
|
675
665
|
}
|
|
676
666
|
/**
|
|
677
667
|
* Back box/case cover image.
|
|
@@ -685,7 +675,6 @@ export interface Image1 {
|
|
|
685
675
|
* Alternative text describing the image for accessibility.
|
|
686
676
|
*/
|
|
687
677
|
alt?: string;
|
|
688
|
-
[k: string]: unknown;
|
|
689
678
|
}
|
|
690
679
|
/**
|
|
691
680
|
* Box/case spine image.
|
|
@@ -699,7 +688,6 @@ export interface Image2 {
|
|
|
699
688
|
* Alternative text describing the image for accessibility.
|
|
700
689
|
*/
|
|
701
690
|
alt?: string;
|
|
702
|
-
[k: string]: unknown;
|
|
703
691
|
}
|
|
704
692
|
/**
|
|
705
693
|
* An image of physical media (cartridge, disc, tape, etc.).
|
|
@@ -718,7 +706,6 @@ export interface PhysicalMediaImage {
|
|
|
718
706
|
*/
|
|
719
707
|
mediaId?: string;
|
|
720
708
|
type?: MediaType;
|
|
721
|
-
[k: string]: unknown;
|
|
722
709
|
}
|
|
723
710
|
/**
|
|
724
711
|
* Logo/wordmark with transparent background.
|
|
@@ -732,7 +719,6 @@ export interface Image3 {
|
|
|
732
719
|
* Alternative text describing the image for accessibility.
|
|
733
720
|
*/
|
|
734
721
|
alt?: string;
|
|
735
|
-
[k: string]: unknown;
|
|
736
722
|
}
|
|
737
723
|
/**
|
|
738
724
|
* Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
|
|
@@ -746,7 +732,6 @@ export interface Image4 {
|
|
|
746
732
|
* Alternative text describing the image for accessibility.
|
|
747
733
|
*/
|
|
748
734
|
alt?: string;
|
|
749
|
-
[k: string]: unknown;
|
|
750
735
|
}
|
|
751
736
|
/**
|
|
752
737
|
* Title screen screenshot.
|
|
@@ -760,7 +745,6 @@ export interface Image5 {
|
|
|
760
745
|
* Alternative text describing the image for accessibility.
|
|
761
746
|
*/
|
|
762
747
|
alt?: string;
|
|
763
|
-
[k: string]: unknown;
|
|
764
748
|
}
|
|
765
749
|
/**
|
|
766
750
|
* An image file with optional alt text for accessibility.
|
|
@@ -774,7 +758,6 @@ export interface Image6 {
|
|
|
774
758
|
* Alternative text describing the image for accessibility.
|
|
775
759
|
*/
|
|
776
760
|
alt?: string;
|
|
777
|
-
[k: string]: unknown;
|
|
778
761
|
}
|
|
779
762
|
/**
|
|
780
763
|
* An image file with optional alt text for accessibility.
|
|
@@ -788,7 +771,6 @@ export interface Image7 {
|
|
|
788
771
|
* Alternative text describing the image for accessibility.
|
|
789
772
|
*/
|
|
790
773
|
alt?: string;
|
|
791
|
-
[k: string]: unknown;
|
|
792
774
|
}
|
|
793
775
|
/**
|
|
794
776
|
* A soundtrack or audio file from the title.
|
|
@@ -806,7 +788,6 @@ export interface MusicTrack {
|
|
|
806
788
|
* Whether this track is suitable for background/menu music when browsing titles.
|
|
807
789
|
*/
|
|
808
790
|
background?: boolean;
|
|
809
|
-
[k: string]: unknown;
|
|
810
791
|
}
|
|
811
792
|
/**
|
|
812
793
|
* An external configuration file for emulator or platform-specific settings.
|
|
@@ -824,5 +805,4 @@ export interface ConfigFile {
|
|
|
824
805
|
* What this config file does or overrides.
|
|
825
806
|
*/
|
|
826
807
|
description?: string;
|
|
827
|
-
[k: string]: unknown;
|
|
828
808
|
}
|