@retropak/types 1.0.0-draft5 → 1.0.0-draft6

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.
@@ -131,6 +131,22 @@ export interface RetropakManifest {
131
131
  gamefaqs?: number;
132
132
  };
133
133
  rating?: AgeRating;
134
+ /**
135
+ * European Article Number (EAN-13) barcode from product packaging. Also covers JAN (Japanese Article Number).
136
+ */
137
+ ean?: string;
138
+ /**
139
+ * Universal Product Code (UPC-A) barcode from product packaging.
140
+ */
141
+ upc?: string;
142
+ /**
143
+ * International Standard Book Number (ISBN-10 or ISBN-13) if applicable.
144
+ */
145
+ isbn?: string;
146
+ /**
147
+ * International Standard Serial Number (ISSN) for magazine coverdisks.
148
+ */
149
+ issn?: string;
134
150
  /**
135
151
  * Additional notes, warnings, or information (e.g. access codes, compatibility notes, copy protection details).
136
152
  */
@@ -263,10 +279,6 @@ export interface AgeRating {
263
279
  * A media file (ROM, disc image, tape, etc.).
264
280
  */
265
281
  export interface MediaItem {
266
- /**
267
- * Unique identifier for this media item, used for referencing in other fields.
268
- */
269
- id?: string;
270
282
  /**
271
283
  * Relative path to the media file within the archive.
272
284
  */
@@ -311,9 +323,9 @@ export interface MediaItem {
311
323
  */
312
324
  source?: string;
313
325
  /**
314
- * Official product serial/catalog number from the original media.
326
+ * Official product code or catalog number from the original media (e.g. 'SLUS-00594', 'MK-1491', 'DOL-GALE-USA').
315
327
  */
316
- serial?: string;
328
+ productCode?: string;
317
329
  /**
318
330
  * Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
319
331
  */
@@ -370,10 +382,6 @@ export interface PhysicalMediaImage {
370
382
  * Alternative text describing the image for accessibility.
371
383
  */
372
384
  alt?: string;
373
- /**
374
- * References the 'id' field of a media item, if specific to one disc/cart.
375
- */
376
- mediaId?: string;
377
385
  type?: MediaType;
378
386
  }
379
387
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retropak/types",
3
- "version": "1.0.0-draft5",
3
+ "version": "1.0.0-draft6",
4
4
  "description": "TypeScript type definitions for Retropak manifests",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/generated.ts CHANGED
@@ -462,6 +462,22 @@ export interface RetropakManifest {
462
462
  gamefaqs?: number;
463
463
  };
464
464
  rating?: AgeRating;
465
+ /**
466
+ * European Article Number (EAN-13) barcode from product packaging. Also covers JAN (Japanese Article Number).
467
+ */
468
+ ean?: string;
469
+ /**
470
+ * Universal Product Code (UPC-A) barcode from product packaging.
471
+ */
472
+ upc?: string;
473
+ /**
474
+ * International Standard Book Number (ISBN-10 or ISBN-13) if applicable.
475
+ */
476
+ isbn?: string;
477
+ /**
478
+ * International Standard Serial Number (ISSN) for magazine coverdisks.
479
+ */
480
+ issn?: string;
465
481
  /**
466
482
  * Additional notes, warnings, or information (e.g. access codes, compatibility notes, copy protection details).
467
483
  */
@@ -594,10 +610,6 @@ export interface AgeRating {
594
610
  * A media file (ROM, disc image, tape, etc.).
595
611
  */
596
612
  export interface MediaItem {
597
- /**
598
- * Unique identifier for this media item, used for referencing in other fields.
599
- */
600
- id?: string;
601
613
  /**
602
614
  * Relative path to the media file within the archive.
603
615
  */
@@ -642,9 +654,9 @@ export interface MediaItem {
642
654
  */
643
655
  source?: string;
644
656
  /**
645
- * Official product serial/catalog number from the original media.
657
+ * Official product code or catalog number from the original media (e.g. 'SLUS-00594', 'MK-1491', 'DOL-GALE-USA').
646
658
  */
647
- serial?: string;
659
+ productCode?: string;
648
660
  /**
649
661
  * Additional notes about this specific media file (e.g. distribution method, requirements, known issues).
650
662
  */
@@ -701,10 +713,6 @@ export interface PhysicalMediaImage {
701
713
  * Alternative text describing the image for accessibility.
702
714
  */
703
715
  alt?: string;
704
- /**
705
- * References the 'id' field of a media item, if specific to one disc/cart.
706
- */
707
- mediaId?: string;
708
716
  type?: MediaType;
709
717
  }
710
718
  /**