@retropak/types 1.0.0-draft10 → 1.0.0-draft11

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.
@@ -172,14 +172,14 @@ export interface RetropakManifest {
172
172
  /**
173
173
  * Images of the physical media (cartridge, disc, tape, floppy, etc.).
174
174
  */
175
- physicalMedia?: PhysicalMediaImage[];
176
- logo?: Image4;
177
- backdrop?: Image5;
178
- titleScreen?: Image6;
175
+ physicalMedia?: Image4[];
176
+ logo?: Image5;
177
+ backdrop?: Image6;
178
+ titleScreen?: Image7;
179
179
  /**
180
180
  * Gameplay screenshots.
181
181
  */
182
- gameplay?: Image7[];
182
+ gameplay?: Image4[];
183
183
  /**
184
184
  * Path to the manual (PDF, image, html or text).
185
185
  */
@@ -397,21 +397,7 @@ export interface Image3 {
397
397
  alt?: string;
398
398
  }
399
399
  /**
400
- * An image of physical media (cartridge, disc, tape, etc.).
401
- */
402
- export interface PhysicalMediaImage {
403
- /**
404
- * Path to the physical media image file.
405
- */
406
- file: string;
407
- /**
408
- * Alternative text describing the image for accessibility.
409
- */
410
- alt?: string;
411
- type?: MediaType;
412
- }
413
- /**
414
- * Logo/wordmark with transparent background.
400
+ * An image file with optional alt text for accessibility.
415
401
  */
416
402
  export interface Image4 {
417
403
  /**
@@ -424,7 +410,7 @@ export interface Image4 {
424
410
  alt?: string;
425
411
  }
426
412
  /**
427
- * Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
413
+ * An image file with optional alt text for accessibility.
428
414
  */
429
415
  export interface Image5 {
430
416
  /**
@@ -437,7 +423,7 @@ export interface Image5 {
437
423
  alt?: string;
438
424
  }
439
425
  /**
440
- * Title screen screenshot.
426
+ * An image file with optional alt text for accessibility.
441
427
  */
442
428
  export interface Image6 {
443
429
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retropak/types",
3
- "version": "1.0.0-draft10",
3
+ "version": "1.0.0-draft11",
4
4
  "description": "TypeScript type definitions for Retropak manifests",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/generated.ts CHANGED
@@ -528,14 +528,14 @@ export interface RetropakManifest {
528
528
  /**
529
529
  * Images of the physical media (cartridge, disc, tape, floppy, etc.).
530
530
  */
531
- physicalMedia?: PhysicalMediaImage[];
532
- logo?: Image4;
533
- backdrop?: Image5;
534
- titleScreen?: Image6;
531
+ physicalMedia?: Image4[];
532
+ logo?: Image5;
533
+ backdrop?: Image6;
534
+ titleScreen?: Image7;
535
535
  /**
536
536
  * Gameplay screenshots.
537
537
  */
538
- gameplay?: Image7[];
538
+ gameplay?: Image4[];
539
539
  /**
540
540
  * Path to the manual (PDF, image, html or text).
541
541
  */
@@ -753,21 +753,7 @@ export interface Image3 {
753
753
  alt?: string;
754
754
  }
755
755
  /**
756
- * An image of physical media (cartridge, disc, tape, etc.).
757
- */
758
- export interface PhysicalMediaImage {
759
- /**
760
- * Path to the physical media image file.
761
- */
762
- file: string;
763
- /**
764
- * Alternative text describing the image for accessibility.
765
- */
766
- alt?: string;
767
- type?: MediaType;
768
- }
769
- /**
770
- * Logo/wordmark with transparent background.
756
+ * An image file with optional alt text for accessibility.
771
757
  */
772
758
  export interface Image4 {
773
759
  /**
@@ -780,7 +766,7 @@ export interface Image4 {
780
766
  alt?: string;
781
767
  }
782
768
  /**
783
- * Widescreen background artwork for TV/big screen interfaces. Should be free of text or logos.
769
+ * An image file with optional alt text for accessibility.
784
770
  */
785
771
  export interface Image5 {
786
772
  /**
@@ -793,7 +779,7 @@ export interface Image5 {
793
779
  alt?: string;
794
780
  }
795
781
  /**
796
- * Title screen screenshot.
782
+ * An image file with optional alt text for accessibility.
797
783
  */
798
784
  export interface Image6 {
799
785
  /**