@retropak/types 1.0.0-draft6 → 1.0.0-draft7

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.
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retropak/types",
3
- "version": "1.0.0-draft6",
3
+ "version": "1.0.0-draft7",
4
4
  "description": "TypeScript type definitions for Retropak manifests",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
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
  */