Skip to content

Commit

Permalink
patch(cb2-9603): split 'small series' into separate options to accom… (
Browse files Browse the repository at this point in the history
…#128)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
pbardy2000 and github-actions[bot] authored Oct 26, 2023
1 parent 2b0a124 commit c1b3fcf
Show file tree
Hide file tree
Showing 46 changed files with 139 additions and 69 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ TypeScript interfaces will be generated from these files and saved to `types` di
4. Bump the version of the package using `npm version {major|minor|patch}`
5. Publish updates

# Creating a new enum
1. Add (or update) the enum to a file marked `*.enum.json` in the `enum` folder in `json-definitions`
2. Make sure you give it both `enum` and `tsEnumNames` properties on the object
3. Then update the `json-definitions` to use the new file name
4. Run the generate and you should have just a new file in the enum folder of types, which is exportable and useable.

# Publishing a new version

- Raise a PR
Expand Down
6 changes: 4 additions & 2 deletions json-definitions/v3/tech-record/enums/approvalType.enum.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"EU_WVTA_23_ON",
"QNIG",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -29,7 +30,8 @@
"EU WVTA 23 on",
"QNIG",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -21,7 +22,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/enums/approvalType.enum.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"EU_WVTA_23_ON",
"QNIG",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -29,7 +30,8 @@
"EU WVTA 23 on",
"QNIG",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -21,7 +22,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -1009,7 +1010,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -1093,7 +1094,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -1081,7 +1082,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/psv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -248,7 +249,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/psv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -245,7 +246,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/psv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -227,7 +228,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@
"EU_WVTA_23_ON",
"QNIG",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -451,7 +452,8 @@
"EU WVTA 23 on",
"QNIG",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@
"EU_WVTA_23_ON",
"QNIG",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -431,7 +432,8 @@
"EU WVTA 23 on",
"QNIG",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/get/trl/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@
"EU_WVTA_23_ON",
"QNIG",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -433,7 +434,8 @@
"EU WVTA 23 on",
"QNIG",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/put/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -976,7 +977,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/put/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -1052,7 +1053,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/put/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -1035,7 +1036,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/put/psv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -224,7 +225,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/put/psv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -239,7 +240,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
6 changes: 4 additions & 2 deletions json-schemas/v3/tech-record/put/psv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@
"ECSSTA",
"GB_WVTA",
"PROV_GB_WVTA",
"SMALL_SERIES",
"SMALL_SERIES_NKSXX",
"SMALL_SERIES_NKS",
"IVA_VCA",
"IVA_DVSA_NI"
],
Expand All @@ -213,7 +214,8 @@
"ECSSTA",
"GB WVTA",
"Prov.GB WVTA",
"Small series",
"Small series NKSXX",
"Small series NKS",
"IVA - VCA",
"IVA - DVSA/NI"
]
Expand Down
Loading

0 comments on commit c1b3fcf

Please sign in to comment.