Skip to content

Commit

Permalink
feat(cb2-14764): made recalls nullable as per pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-cs committed Nov 18, 2024
1 parent cddd2e6 commit 1472928
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions json-definitions/v1/test-result/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@
"anyOf": [
{
"$ref": "../recalls/index.json"
},
{
"type": "null"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion types/v1/test-result/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export interface TestResultSchema {
testHistory?: TestResultSchema[];
testVersion?: string;
deletionFlag?: boolean;
recalls?: RecallsSchema;
recalls?: RecallsSchema | null;
}
export interface VehicleClassSchema {
code: string;
Expand Down
2 changes: 1 addition & 1 deletion types/v1/test/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export interface TestResultSchema {
testHistory?: TestResultSchema[];
testVersion?: string;
deletionFlag?: boolean;
recalls?: RecallsSchema;
recalls?: RecallsSchema | null;
}
export interface TestTypeSchema {
testTypeName: string | null;
Expand Down
2 changes: 1 addition & 1 deletion types/v1/vehicle/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export interface TestResultSchema {
testHistory?: TestResultSchema[];
testVersion?: string;
deletionFlag?: boolean;
recalls?: RecallsSchema;
recalls?: RecallsSchema | null;
}
export interface TestTypeSchema {
testTypeName: string | null;
Expand Down
2 changes: 1 addition & 1 deletion types/v1/visit/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export interface TestResultSchema {
testHistory?: TestResultSchema[];
testVersion?: string;
deletionFlag?: boolean;
recalls?: RecallsSchema;
recalls?: RecallsSchema | null;
}
export interface TestTypeSchema {
testTypeName: string | null;
Expand Down

0 comments on commit 1472928

Please sign in to comment.