@retropak/types 1.0.0-draft6 → 1.0.0-draft8
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 +9 -1
- package/package.json +1 -1
- package/src/generated.ts +33 -0
package/dist/generated.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* A classification for the type/nature of the software.
|
|
8
8
|
*/
|
|
9
|
-
export type Category = "addon" | "application" | "beta" | "bios" | "compilation" | "coverdisk" | "demo" | "educational" | "firmware" | "freeware" | "game" | "homebrew" | "multimedia" | "promotional" | "prototype" | "scene_demo" | "shareware" | "unlicensed" | "utility";
|
|
9
|
+
export type Category = "addon" | "application" | "beta" | "bios" | "compilation" | "coverdisk" | "demo" | "educational" | "enhanced" | "firmware" | "freeware" | "game" | "homebrew" | "multimedia" | "port" | "promotional" | "prototype" | "remake" | "remaster" | "rerelease" | "scene_demo" | "shareware" | "unlicensed" | "utility";
|
|
10
10
|
/**
|
|
11
11
|
* Genre classification.
|
|
12
12
|
*/
|
|
@@ -131,6 +131,10 @@ export interface RetropakManifest {
|
|
|
131
131
|
gamefaqs?: number;
|
|
132
132
|
};
|
|
133
133
|
rating?: AgeRating;
|
|
134
|
+
/**
|
|
135
|
+
* The software license (e.g., 'freeware', 'shareware', 'commercial', 'gpl', 'mit').
|
|
136
|
+
*/
|
|
137
|
+
license?: "commercial" | "freeware" | "shareware" | "public_domain" | "open_source" | "gpl" | "gpl2" | "gpl3" | "lgpl" | "mit" | "bsd" | "apache" | "creative_commons" | "cc_by" | "cc_by_sa" | "cc_by_nc" | "cc_by_nc_sa" | "cc0" | "proprietary" | "unknown";
|
|
134
138
|
/**
|
|
135
139
|
* European Article Number (EAN-13) barcode from product packaging. Also covers JAN (Japanese Article Number).
|
|
136
140
|
*/
|
|
@@ -305,6 +309,10 @@ export interface MediaItem {
|
|
|
305
309
|
* SHA-1 checksum of the media file for verification.
|
|
306
310
|
*/
|
|
307
311
|
sha1?: string;
|
|
312
|
+
/**
|
|
313
|
+
* SHA-256 checksum of the media file for verification.
|
|
314
|
+
*/
|
|
315
|
+
sha256?: string;
|
|
308
316
|
/**
|
|
309
317
|
* CRC32 checksum of the media file for verification.
|
|
310
318
|
*/
|
package/package.json
CHANGED
package/src/generated.ts
CHANGED
|
@@ -17,13 +17,18 @@ export type Category =
|
|
|
17
17
|
| "coverdisk"
|
|
18
18
|
| "demo"
|
|
19
19
|
| "educational"
|
|
20
|
+
| "enhanced"
|
|
20
21
|
| "firmware"
|
|
21
22
|
| "freeware"
|
|
22
23
|
| "game"
|
|
23
24
|
| "homebrew"
|
|
24
25
|
| "multimedia"
|
|
26
|
+
| "port"
|
|
25
27
|
| "promotional"
|
|
26
28
|
| "prototype"
|
|
29
|
+
| "remake"
|
|
30
|
+
| "remaster"
|
|
31
|
+
| "rerelease"
|
|
27
32
|
| "scene_demo"
|
|
28
33
|
| "shareware"
|
|
29
34
|
| "unlicensed"
|
|
@@ -462,6 +467,30 @@ export interface RetropakManifest {
|
|
|
462
467
|
gamefaqs?: number;
|
|
463
468
|
};
|
|
464
469
|
rating?: AgeRating;
|
|
470
|
+
/**
|
|
471
|
+
* The software license (e.g., 'freeware', 'shareware', 'commercial', 'gpl', 'mit').
|
|
472
|
+
*/
|
|
473
|
+
license?:
|
|
474
|
+
| "commercial"
|
|
475
|
+
| "freeware"
|
|
476
|
+
| "shareware"
|
|
477
|
+
| "public_domain"
|
|
478
|
+
| "open_source"
|
|
479
|
+
| "gpl"
|
|
480
|
+
| "gpl2"
|
|
481
|
+
| "gpl3"
|
|
482
|
+
| "lgpl"
|
|
483
|
+
| "mit"
|
|
484
|
+
| "bsd"
|
|
485
|
+
| "apache"
|
|
486
|
+
| "creative_commons"
|
|
487
|
+
| "cc_by"
|
|
488
|
+
| "cc_by_sa"
|
|
489
|
+
| "cc_by_nc"
|
|
490
|
+
| "cc_by_nc_sa"
|
|
491
|
+
| "cc0"
|
|
492
|
+
| "proprietary"
|
|
493
|
+
| "unknown";
|
|
465
494
|
/**
|
|
466
495
|
* European Article Number (EAN-13) barcode from product packaging. Also covers JAN (Japanese Article Number).
|
|
467
496
|
*/
|
|
@@ -636,6 +665,10 @@ export interface MediaItem {
|
|
|
636
665
|
* SHA-1 checksum of the media file for verification.
|
|
637
666
|
*/
|
|
638
667
|
sha1?: string;
|
|
668
|
+
/**
|
|
669
|
+
* SHA-256 checksum of the media file for verification.
|
|
670
|
+
*/
|
|
671
|
+
sha256?: string;
|
|
639
672
|
/**
|
|
640
673
|
* CRC32 checksum of the media file for verification.
|
|
641
674
|
*/
|