From 61ac7b10f078ec6f47588359d07c7ab665111458 Mon Sep 17 00:00:00 2001 From: LR <107395524+VWSCoronaDashboard26@users.noreply.github.com> Date: Mon, 16 Jan 2023 15:34:34 +0100 Subject: [PATCH] feature/COR-1347-add-new-variant (#4601) * feat(variants): added new XBB.1.5 (XBB_1_5) variant; added new CH.1.1 (CH_1_1) variant; Co-authored-by: VWSCoronaDashboard26 --- packages/app/schema/nl/__named_difference.json | 10 +++------- packages/app/schema/nl/variants.json | 2 ++ packages/cms/src/lokalize/key-mutations.csv | 2 ++ packages/common/src/types/data.ts | 4 ++++ 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/app/schema/nl/__named_difference.json b/packages/app/schema/nl/__named_difference.json index ab6989fe68..13a984b40e 100644 --- a/packages/app/schema/nl/__named_difference.json +++ b/packages/app/schema/nl/__named_difference.json @@ -41,6 +41,8 @@ "BQ_1", "BQ_1_1", "XBB", + "XBB_1_5", + "CH_1_1", "other_table", "other_graph" ] @@ -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 } } diff --git a/packages/app/schema/nl/variants.json b/packages/app/schema/nl/variants.json index cabef59717..9c2ca79f14 100644 --- a/packages/app/schema/nl/variants.json +++ b/packages/app/schema/nl/variants.json @@ -43,6 +43,8 @@ "BQ_1", "BQ_1_1", "XBB", + "XBB_1_5", + "CH_1_1", "other_table", "other_graph" ] diff --git a/packages/cms/src/lokalize/key-mutations.csv b/packages/cms/src/lokalize/key-mutations.csv index a7c6419a8a..5ebd1a3299 100644 --- a/packages/cms/src/lokalize/key-mutations.csv +++ b/packages/cms/src/lokalize/key-mutations.csv @@ -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,__ diff --git a/packages/common/src/types/data.ts b/packages/common/src/types/data.ts index a713330b7f..92cfac9c91 100644 --- a/packages/common/src/types/data.ts +++ b/packages/common/src/types/data.ts @@ -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; @@ -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[];