Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
feat(COR-1881): Add null as valid type to deceased_cbs validation (#4948
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ben-van-eekelen authored Dec 12, 2023
1 parent d4f2d3b commit 8d7c4c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/app/schema/nl/deceased_cbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"type": "integer"
},
"expected": {
"type": "integer"
"type": ["integer", "null"]
},
"expected_min": {
"type": "integer"
"type": ["integer", "null"]
},
"expected_max": {
"type": "integer"
"type": ["integer", "null"]
},
"date_start_unix": {
"type": "integer"
Expand Down
6 changes: 3 additions & 3 deletions packages/common/src/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1192,9 +1192,9 @@ export interface NlDeceasedCbs {
}
export interface NlDeceasedCbsValue {
registered: number;
expected: number;
expected_min: number;
expected_max: number;
expected: number | null;
expected_min: number | null;
expected_max: number | null;
date_start_unix: number;
date_end_unix: number;
date_of_insertion_unix: number;
Expand Down

0 comments on commit 8d7c4c2

Please sign in to comment.