@retropak/types 1.0.0-draft8 → 1.0.0-draft9
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 +30 -16
- package/package.json +1 -1
- package/src/generated.ts +30 -16
package/dist/generated.d.ts
CHANGED
|
@@ -166,25 +166,25 @@ export interface RetropakManifest {
|
|
|
166
166
|
* Artwork, documentation, and other supplementary files.
|
|
167
167
|
*/
|
|
168
168
|
assets?: {
|
|
169
|
-
boxFront?:
|
|
170
|
-
boxBack?:
|
|
171
|
-
boxSpine?:
|
|
169
|
+
boxFront?: Image1;
|
|
170
|
+
boxBack?: Image2;
|
|
171
|
+
boxSpine?: Image3;
|
|
172
172
|
/**
|
|
173
173
|
* Images of the physical media (cartridge, disc, tape, floppy, etc.).
|
|
174
174
|
*/
|
|
175
175
|
physicalMedia?: PhysicalMediaImage[];
|
|
176
|
-
logo?:
|
|
177
|
-
backdrop?:
|
|
178
|
-
titleScreen?:
|
|
176
|
+
logo?: Image4;
|
|
177
|
+
backdrop?: Image5;
|
|
178
|
+
titleScreen?: Image6;
|
|
179
179
|
/**
|
|
180
180
|
* Gameplay screenshots.
|
|
181
181
|
*/
|
|
182
|
-
gameplay?:
|
|
182
|
+
gameplay?: Image7[];
|
|
183
183
|
/**
|
|
184
184
|
* Path to the manual (PDF, image, html or text).
|
|
185
185
|
*/
|
|
186
186
|
manual?: string;
|
|
187
|
-
map?:
|
|
187
|
+
map?: Image8;
|
|
188
188
|
/**
|
|
189
189
|
* Soundtrack or audio files from the game.
|
|
190
190
|
*/
|
|
@@ -338,9 +338,10 @@ export interface MediaItem {
|
|
|
338
338
|
* Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
|
|
339
339
|
*/
|
|
340
340
|
notes?: string;
|
|
341
|
+
labelImage?: Image;
|
|
341
342
|
}
|
|
342
343
|
/**
|
|
343
|
-
*
|
|
344
|
+
* Image of the media label (e.g. disc label, cartridge label, cassette label).
|
|
344
345
|
*/
|
|
345
346
|
export interface Image {
|
|
346
347
|
/**
|
|
@@ -353,7 +354,7 @@ export interface Image {
|
|
|
353
354
|
alt?: string;
|
|
354
355
|
}
|
|
355
356
|
/**
|
|
356
|
-
*
|
|
357
|
+
* Front box/case cover image.
|
|
357
358
|
*/
|
|
358
359
|
export interface Image1 {
|
|
359
360
|
/**
|
|
@@ -366,7 +367,7 @@ export interface Image1 {
|
|
|
366
367
|
alt?: string;
|
|
367
368
|
}
|
|
368
369
|
/**
|
|
369
|
-
*
|
|
370
|
+
* Back box/case cover image.
|
|
370
371
|
*/
|
|
371
372
|
export interface Image2 {
|
|
372
373
|
/**
|
|
@@ -378,6 +379,19 @@ export interface Image2 {
|
|
|
378
379
|
*/
|
|
379
380
|
alt?: string;
|
|
380
381
|
}
|
|
382
|
+
/**
|
|
383
|
+
* Box/case spine image.
|
|
384
|
+
*/
|
|
385
|
+
export interface Image3 {
|
|
386
|
+
/**
|
|
387
|
+
* Path to the image file.
|
|
388
|
+
*/
|
|
389
|
+
file: string;
|
|
390
|
+
/**
|
|
391
|
+
* Alternative text describing the image for accessibility.
|
|
392
|
+
*/
|
|
393
|
+
alt?: string;
|
|
394
|
+
}
|
|
381
395
|
/**
|
|
382
396
|
* An image of physical media (cartridge, disc, tape, etc.).
|
|
383
397
|
*/
|
|
@@ -395,7 +409,7 @@ export interface PhysicalMediaImage {
|
|
|
395
409
|
/**
|
|
396
410
|
* Logo/wordmark with transparent background.
|
|
397
411
|
*/
|
|
398
|
-
export interface
|
|
412
|
+
export interface Image4 {
|
|
399
413
|
/**
|
|
400
414
|
* Path to the image file.
|
|
401
415
|
*/
|
|
@@ -408,7 +422,7 @@ export interface Image3 {
|
|
|
408
422
|
/**
|
|
409
423
|
* Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
|
|
410
424
|
*/
|
|
411
|
-
export interface
|
|
425
|
+
export interface Image5 {
|
|
412
426
|
/**
|
|
413
427
|
* Path to the image file.
|
|
414
428
|
*/
|
|
@@ -421,7 +435,7 @@ export interface Image4 {
|
|
|
421
435
|
/**
|
|
422
436
|
* Title screen screenshot.
|
|
423
437
|
*/
|
|
424
|
-
export interface
|
|
438
|
+
export interface Image6 {
|
|
425
439
|
/**
|
|
426
440
|
* Path to the image file.
|
|
427
441
|
*/
|
|
@@ -434,7 +448,7 @@ export interface Image5 {
|
|
|
434
448
|
/**
|
|
435
449
|
* An image file with optional alt text for accessibility.
|
|
436
450
|
*/
|
|
437
|
-
export interface
|
|
451
|
+
export interface Image7 {
|
|
438
452
|
/**
|
|
439
453
|
* Path to the image file.
|
|
440
454
|
*/
|
|
@@ -447,7 +461,7 @@ export interface Image6 {
|
|
|
447
461
|
/**
|
|
448
462
|
* An image file with optional alt text for accessibility.
|
|
449
463
|
*/
|
|
450
|
-
export interface
|
|
464
|
+
export interface Image8 {
|
|
451
465
|
/**
|
|
452
466
|
* Path to the image file.
|
|
453
467
|
*/
|
package/package.json
CHANGED
package/src/generated.ts
CHANGED
|
@@ -522,25 +522,25 @@ export interface RetropakManifest {
|
|
|
522
522
|
* Artwork, documentation, and other supplementary files.
|
|
523
523
|
*/
|
|
524
524
|
assets?: {
|
|
525
|
-
boxFront?:
|
|
526
|
-
boxBack?:
|
|
527
|
-
boxSpine?:
|
|
525
|
+
boxFront?: Image1;
|
|
526
|
+
boxBack?: Image2;
|
|
527
|
+
boxSpine?: Image3;
|
|
528
528
|
/**
|
|
529
529
|
* Images of the physical media (cartridge, disc, tape, floppy, etc.).
|
|
530
530
|
*/
|
|
531
531
|
physicalMedia?: PhysicalMediaImage[];
|
|
532
|
-
logo?:
|
|
533
|
-
backdrop?:
|
|
534
|
-
titleScreen?:
|
|
532
|
+
logo?: Image4;
|
|
533
|
+
backdrop?: Image5;
|
|
534
|
+
titleScreen?: Image6;
|
|
535
535
|
/**
|
|
536
536
|
* Gameplay screenshots.
|
|
537
537
|
*/
|
|
538
|
-
gameplay?:
|
|
538
|
+
gameplay?: Image7[];
|
|
539
539
|
/**
|
|
540
540
|
* Path to the manual (PDF, image, html or text).
|
|
541
541
|
*/
|
|
542
542
|
manual?: string;
|
|
543
|
-
map?:
|
|
543
|
+
map?: Image8;
|
|
544
544
|
/**
|
|
545
545
|
* Soundtrack or audio files from the game.
|
|
546
546
|
*/
|
|
@@ -694,9 +694,10 @@ export interface MediaItem {
|
|
|
694
694
|
* Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
|
|
695
695
|
*/
|
|
696
696
|
notes?: string;
|
|
697
|
+
labelImage?: Image;
|
|
697
698
|
}
|
|
698
699
|
/**
|
|
699
|
-
*
|
|
700
|
+
* Image of the media label (e.g. disc label, cartridge label, cassette label).
|
|
700
701
|
*/
|
|
701
702
|
export interface Image {
|
|
702
703
|
/**
|
|
@@ -709,7 +710,7 @@ export interface Image {
|
|
|
709
710
|
alt?: string;
|
|
710
711
|
}
|
|
711
712
|
/**
|
|
712
|
-
*
|
|
713
|
+
* Front box/case cover image.
|
|
713
714
|
*/
|
|
714
715
|
export interface Image1 {
|
|
715
716
|
/**
|
|
@@ -722,7 +723,7 @@ export interface Image1 {
|
|
|
722
723
|
alt?: string;
|
|
723
724
|
}
|
|
724
725
|
/**
|
|
725
|
-
*
|
|
726
|
+
* Back box/case cover image.
|
|
726
727
|
*/
|
|
727
728
|
export interface Image2 {
|
|
728
729
|
/**
|
|
@@ -734,6 +735,19 @@ export interface Image2 {
|
|
|
734
735
|
*/
|
|
735
736
|
alt?: string;
|
|
736
737
|
}
|
|
738
|
+
/**
|
|
739
|
+
* Box/case spine image.
|
|
740
|
+
*/
|
|
741
|
+
export interface Image3 {
|
|
742
|
+
/**
|
|
743
|
+
* Path to the image file.
|
|
744
|
+
*/
|
|
745
|
+
file: string;
|
|
746
|
+
/**
|
|
747
|
+
* Alternative text describing the image for accessibility.
|
|
748
|
+
*/
|
|
749
|
+
alt?: string;
|
|
750
|
+
}
|
|
737
751
|
/**
|
|
738
752
|
* An image of physical media (cartridge, disc, tape, etc.).
|
|
739
753
|
*/
|
|
@@ -751,7 +765,7 @@ export interface PhysicalMediaImage {
|
|
|
751
765
|
/**
|
|
752
766
|
* Logo/wordmark with transparent background.
|
|
753
767
|
*/
|
|
754
|
-
export interface
|
|
768
|
+
export interface Image4 {
|
|
755
769
|
/**
|
|
756
770
|
* Path to the image file.
|
|
757
771
|
*/
|
|
@@ -764,7 +778,7 @@ export interface Image3 {
|
|
|
764
778
|
/**
|
|
765
779
|
* Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
|
|
766
780
|
*/
|
|
767
|
-
export interface
|
|
781
|
+
export interface Image5 {
|
|
768
782
|
/**
|
|
769
783
|
* Path to the image file.
|
|
770
784
|
*/
|
|
@@ -777,7 +791,7 @@ export interface Image4 {
|
|
|
777
791
|
/**
|
|
778
792
|
* Title screen screenshot.
|
|
779
793
|
*/
|
|
780
|
-
export interface
|
|
794
|
+
export interface Image6 {
|
|
781
795
|
/**
|
|
782
796
|
* Path to the image file.
|
|
783
797
|
*/
|
|
@@ -790,7 +804,7 @@ export interface Image5 {
|
|
|
790
804
|
/**
|
|
791
805
|
* An image file with optional alt text for accessibility.
|
|
792
806
|
*/
|
|
793
|
-
export interface
|
|
807
|
+
export interface Image7 {
|
|
794
808
|
/**
|
|
795
809
|
* Path to the image file.
|
|
796
810
|
*/
|
|
@@ -803,7 +817,7 @@ export interface Image6 {
|
|
|
803
817
|
/**
|
|
804
818
|
* An image file with optional alt text for accessibility.
|
|
805
819
|
*/
|
|
806
|
-
export interface
|
|
820
|
+
export interface Image8 {
|
|
807
821
|
/**
|
|
808
822
|
* Path to the image file.
|
|
809
823
|
*/
|