@retropak/types 1.0.0-draft7 → 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 +34 -16
- package/package.json +1 -1
- package/src/generated.ts +34 -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
|
*/
|
|
@@ -309,6 +309,10 @@ export interface MediaItem {
|
|
|
309
309
|
* SHA-1 checksum of the media file for verification.
|
|
310
310
|
*/
|
|
311
311
|
sha1?: string;
|
|
312
|
+
/**
|
|
313
|
+
* SHA-256 checksum of the media file for verification.
|
|
314
|
+
*/
|
|
315
|
+
sha256?: string;
|
|
312
316
|
/**
|
|
313
317
|
* CRC32 checksum of the media file for verification.
|
|
314
318
|
*/
|
|
@@ -334,9 +338,10 @@ export interface MediaItem {
|
|
|
334
338
|
* Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
|
|
335
339
|
*/
|
|
336
340
|
notes?: string;
|
|
341
|
+
labelImage?: Image;
|
|
337
342
|
}
|
|
338
343
|
/**
|
|
339
|
-
*
|
|
344
|
+
* Image of the media label (e.g. disc label, cartridge label, cassette label).
|
|
340
345
|
*/
|
|
341
346
|
export interface Image {
|
|
342
347
|
/**
|
|
@@ -349,7 +354,7 @@ export interface Image {
|
|
|
349
354
|
alt?: string;
|
|
350
355
|
}
|
|
351
356
|
/**
|
|
352
|
-
*
|
|
357
|
+
* Front box/case cover image.
|
|
353
358
|
*/
|
|
354
359
|
export interface Image1 {
|
|
355
360
|
/**
|
|
@@ -362,7 +367,7 @@ export interface Image1 {
|
|
|
362
367
|
alt?: string;
|
|
363
368
|
}
|
|
364
369
|
/**
|
|
365
|
-
*
|
|
370
|
+
* Back box/case cover image.
|
|
366
371
|
*/
|
|
367
372
|
export interface Image2 {
|
|
368
373
|
/**
|
|
@@ -374,6 +379,19 @@ export interface Image2 {
|
|
|
374
379
|
*/
|
|
375
380
|
alt?: string;
|
|
376
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
|
+
}
|
|
377
395
|
/**
|
|
378
396
|
* An image of physical media (cartridge, disc, tape, etc.).
|
|
379
397
|
*/
|
|
@@ -391,7 +409,7 @@ export interface PhysicalMediaImage {
|
|
|
391
409
|
/**
|
|
392
410
|
* Logo/wordmark with transparent background.
|
|
393
411
|
*/
|
|
394
|
-
export interface
|
|
412
|
+
export interface Image4 {
|
|
395
413
|
/**
|
|
396
414
|
* Path to the image file.
|
|
397
415
|
*/
|
|
@@ -404,7 +422,7 @@ export interface Image3 {
|
|
|
404
422
|
/**
|
|
405
423
|
* Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
|
|
406
424
|
*/
|
|
407
|
-
export interface
|
|
425
|
+
export interface Image5 {
|
|
408
426
|
/**
|
|
409
427
|
* Path to the image file.
|
|
410
428
|
*/
|
|
@@ -417,7 +435,7 @@ export interface Image4 {
|
|
|
417
435
|
/**
|
|
418
436
|
* Title screen screenshot.
|
|
419
437
|
*/
|
|
420
|
-
export interface
|
|
438
|
+
export interface Image6 {
|
|
421
439
|
/**
|
|
422
440
|
* Path to the image file.
|
|
423
441
|
*/
|
|
@@ -430,7 +448,7 @@ export interface Image5 {
|
|
|
430
448
|
/**
|
|
431
449
|
* An image file with optional alt text for accessibility.
|
|
432
450
|
*/
|
|
433
|
-
export interface
|
|
451
|
+
export interface Image7 {
|
|
434
452
|
/**
|
|
435
453
|
* Path to the image file.
|
|
436
454
|
*/
|
|
@@ -443,7 +461,7 @@ export interface Image6 {
|
|
|
443
461
|
/**
|
|
444
462
|
* An image file with optional alt text for accessibility.
|
|
445
463
|
*/
|
|
446
|
-
export interface
|
|
464
|
+
export interface Image8 {
|
|
447
465
|
/**
|
|
448
466
|
* Path to the image file.
|
|
449
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
|
*/
|
|
@@ -665,6 +665,10 @@ export interface MediaItem {
|
|
|
665
665
|
* SHA-1 checksum of the media file for verification.
|
|
666
666
|
*/
|
|
667
667
|
sha1?: string;
|
|
668
|
+
/**
|
|
669
|
+
* SHA-256 checksum of the media file for verification.
|
|
670
|
+
*/
|
|
671
|
+
sha256?: string;
|
|
668
672
|
/**
|
|
669
673
|
* CRC32 checksum of the media file for verification.
|
|
670
674
|
*/
|
|
@@ -690,9 +694,10 @@ export interface MediaItem {
|
|
|
690
694
|
* Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
|
|
691
695
|
*/
|
|
692
696
|
notes?: string;
|
|
697
|
+
labelImage?: Image;
|
|
693
698
|
}
|
|
694
699
|
/**
|
|
695
|
-
*
|
|
700
|
+
* Image of the media label (e.g. disc label, cartridge label, cassette label).
|
|
696
701
|
*/
|
|
697
702
|
export interface Image {
|
|
698
703
|
/**
|
|
@@ -705,7 +710,7 @@ export interface Image {
|
|
|
705
710
|
alt?: string;
|
|
706
711
|
}
|
|
707
712
|
/**
|
|
708
|
-
*
|
|
713
|
+
* Front box/case cover image.
|
|
709
714
|
*/
|
|
710
715
|
export interface Image1 {
|
|
711
716
|
/**
|
|
@@ -718,7 +723,7 @@ export interface Image1 {
|
|
|
718
723
|
alt?: string;
|
|
719
724
|
}
|
|
720
725
|
/**
|
|
721
|
-
*
|
|
726
|
+
* Back box/case cover image.
|
|
722
727
|
*/
|
|
723
728
|
export interface Image2 {
|
|
724
729
|
/**
|
|
@@ -730,6 +735,19 @@ export interface Image2 {
|
|
|
730
735
|
*/
|
|
731
736
|
alt?: string;
|
|
732
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
|
+
}
|
|
733
751
|
/**
|
|
734
752
|
* An image of physical media (cartridge, disc, tape, etc.).
|
|
735
753
|
*/
|
|
@@ -747,7 +765,7 @@ export interface PhysicalMediaImage {
|
|
|
747
765
|
/**
|
|
748
766
|
* Logo/wordmark with transparent background.
|
|
749
767
|
*/
|
|
750
|
-
export interface
|
|
768
|
+
export interface Image4 {
|
|
751
769
|
/**
|
|
752
770
|
* Path to the image file.
|
|
753
771
|
*/
|
|
@@ -760,7 +778,7 @@ export interface Image3 {
|
|
|
760
778
|
/**
|
|
761
779
|
* Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
|
|
762
780
|
*/
|
|
763
|
-
export interface
|
|
781
|
+
export interface Image5 {
|
|
764
782
|
/**
|
|
765
783
|
* Path to the image file.
|
|
766
784
|
*/
|
|
@@ -773,7 +791,7 @@ export interface Image4 {
|
|
|
773
791
|
/**
|
|
774
792
|
* Title screen screenshot.
|
|
775
793
|
*/
|
|
776
|
-
export interface
|
|
794
|
+
export interface Image6 {
|
|
777
795
|
/**
|
|
778
796
|
* Path to the image file.
|
|
779
797
|
*/
|
|
@@ -786,7 +804,7 @@ export interface Image5 {
|
|
|
786
804
|
/**
|
|
787
805
|
* An image file with optional alt text for accessibility.
|
|
788
806
|
*/
|
|
789
|
-
export interface
|
|
807
|
+
export interface Image7 {
|
|
790
808
|
/**
|
|
791
809
|
* Path to the image file.
|
|
792
810
|
*/
|
|
@@ -799,7 +817,7 @@ export interface Image6 {
|
|
|
799
817
|
/**
|
|
800
818
|
* An image file with optional alt text for accessibility.
|
|
801
819
|
*/
|
|
802
|
-
export interface
|
|
820
|
+
export interface Image8 {
|
|
803
821
|
/**
|
|
804
822
|
* Path to the image file.
|
|
805
823
|
*/
|