Skip to content

Commit

Permalink
patch(cb2-12692): added optional testStationCountry - implement types…
Browse files Browse the repository at this point in the history
… into cert-gen (#184)
  • Loading branch information
cb-cs authored Nov 8, 2024
1 parent 76775be commit 85f3c8a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
9 changes: 8 additions & 1 deletion json-definitions/v1/test-station/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
},
"searchProperty": {
"type": "string"
},
"testStationCountry": {
"type": "string"
},
"testStationStatus": {
"type": "string"
}
},
"required": [
Expand All @@ -61,7 +67,8 @@
"testStationLongitude",
"testStationLatitude",
"testStationType",
"testStationEmails"
"testStationEmails",
"testStationStatus"
],
"additionalProperties": false
}
9 changes: 8 additions & 1 deletion json-schemas/v1/test-station/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
},
"searchProperty": {
"type": "string"
},
"testStationCountry": {
"type": "string"
},
"testStationStatus": {
"type": "string"
}
},
"required": [
Expand All @@ -61,7 +67,8 @@
"testStationLongitude",
"testStationLatitude",
"testStationType",
"testStationEmails"
"testStationEmails",
"testStationStatus"
],
"additionalProperties": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvsa/cvs-type-definitions",
"version": "7.6.1",
"version": "7.6.2",
"description": "type definitions for cvs vta and vtm applications",
"main": "index.js",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions types/v1/test-station/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ export interface TestStationSchema {
testStationType: string;
testStationEmails: string[];
searchProperty?: string;
testStationCountry?: string;
testStationStatus: string;
}

0 comments on commit 85f3c8a

Please sign in to comment.