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

Commit

Permalink
feature/COR-1347-add-new-variant (#4601)
Browse files Browse the repository at this point in the history
* feat(variants): added new XBB.1.5 (XBB_1_5) variant; added new CH.1.1 (CH_1_1) variant;

Co-authored-by: VWSCoronaDashboard26 <[email protected]>
  • Loading branch information
VWSCoronaDashboard26 and VWSCoronaDashboard26 authored Jan 16, 2023
1 parent 6353953 commit 61ac7b1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/app/schema/nl/__named_difference.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
"BQ_1",
"BQ_1_1",
"XBB",
"XBB_1_5",
"CH_1_1",
"other_table",
"other_graph"
]
Expand All @@ -58,13 +60,7 @@
"type": "integer"
}
},
"required": [
"variant_code",
"old_value",
"difference",
"old_date_unix",
"new_date_unix"
],
"required": ["variant_code", "old_value", "difference", "old_date_unix", "new_date_unix"],
"additionalProperties": false
}
}
Expand Down
2 changes: 2 additions & 0 deletions packages/app/schema/nl/variants.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
"BQ_1",
"BQ_1_1",
"XBB",
"XBB_1_5",
"CH_1_1",
"other_table",
"other_graph"
]
Expand Down
2 changes: 2 additions & 0 deletions packages/cms/src/lokalize/key-mutations.csv
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
timestamp,action,key,document_id,move_to
2023-01-13T10:39:47.079Z,add,common.variant_codes.XBB_1_5,SREtVRJ5tkQiFlHXXWbrVz,__
2023-01-16T09:36:56.180Z,add,common.variant_codes.CH_1_1,SSqv0zg5US7hRiLa8c1PWF,__
4 changes: 4 additions & 0 deletions packages/common/src/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ export interface NamedDifferenceDecimal {
| 'BQ_1'
| 'BQ_1_1'
| 'XBB'
| 'XBB_1_5'
| 'CH_1_1'
| 'other_table'
| 'other_graph';
old_value: number;
Expand Down Expand Up @@ -1118,6 +1120,8 @@ export interface NlVariantsVariant {
| 'BQ_1'
| 'BQ_1_1'
| 'XBB'
| 'XBB_1_5'
| 'CH_1_1'
| 'other_table'
| 'other_graph';
values: NlVariantsVariantValue[];
Expand Down

0 comments on commit 61ac7b1

Please sign in to comment.