From 3ba47ccb2c631875a19d48bd78adcf5d501429f2 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Tue, 9 Jan 2024 11:40:23 +0100 Subject: [PATCH] feat: add `RecordAlertCategory` metadata support (#752) * feat: add `RecordAlertCategory` metadata support * test: fix nut test expect --- __tests__/functional/delta.nut.ts | 4 ++-- src/metadata/v54.json | 7 +++++++ src/metadata/v55.json | 7 +++++++ src/metadata/v56.json | 7 +++++++ src/metadata/v57.json | 7 +++++++ src/metadata/v58.json | 7 +++++++ src/metadata/v59.json | 7 +++++++ 7 files changed, 44 insertions(+), 2 deletions(-) diff --git a/__tests__/functional/delta.nut.ts b/__tests__/functional/delta.nut.ts index 3fe779fa..dee3fd8f 100644 --- a/__tests__/functional/delta.nut.ts +++ b/__tests__/functional/delta.nut.ts @@ -60,8 +60,8 @@ describe('sgd:source:delta NUTS', () => { const destructiveChangesLineCount = await getFileLineNumber( 'e2e/expected/destructiveChanges/destructiveChanges.xml' ) - expect(packageLineCount).to.equal(211) - expect(destructiveChangesLineCount).to.equal(118) + expect(packageLineCount).to.equal(220) + expect(destructiveChangesLineCount).to.equal(130) expect(result).to.include('"error": null') expect(result).to.include('"success": true') }) diff --git a/src/metadata/v54.json b/src/metadata/v54.json index da018ece..34458a65 100644 --- a/src/metadata/v54.json +++ b/src/metadata/v54.json @@ -1,4 +1,11 @@ [ + { + "directoryName": "recordAlertCategories", + "inFolder": false, + "metaFile": false, + "suffix": "recordAlertCategory", + "xmlName": "RecordAlertCategory" + }, { "directoryName": "aiApplicationConfigs", "inFolder": false, diff --git a/src/metadata/v55.json b/src/metadata/v55.json index 05f31ea9..33e82e4c 100644 --- a/src/metadata/v55.json +++ b/src/metadata/v55.json @@ -1,4 +1,11 @@ [ + { + "directoryName": "recordAlertCategories", + "inFolder": false, + "metaFile": false, + "suffix": "recordAlertCategory", + "xmlName": "RecordAlertCategory" + }, { "directoryName": "aiApplicationConfigs", "inFolder": false, diff --git a/src/metadata/v56.json b/src/metadata/v56.json index ed4dcbf1..3d108abb 100644 --- a/src/metadata/v56.json +++ b/src/metadata/v56.json @@ -1,4 +1,11 @@ [ + { + "directoryName": "recordAlertCategories", + "inFolder": false, + "metaFile": false, + "suffix": "recordAlertCategory", + "xmlName": "RecordAlertCategory" + }, { "directoryName": "aiApplicationConfigs", "inFolder": false, diff --git a/src/metadata/v57.json b/src/metadata/v57.json index 32bd365c..4948d743 100644 --- a/src/metadata/v57.json +++ b/src/metadata/v57.json @@ -1,4 +1,11 @@ [ + { + "directoryName": "recordAlertCategories", + "inFolder": false, + "metaFile": false, + "suffix": "recordAlertCategory", + "xmlName": "RecordAlertCategory" + }, { "directoryName": "aiApplicationConfigs", "inFolder": false, diff --git a/src/metadata/v58.json b/src/metadata/v58.json index 3e013d62..144ffc6b 100644 --- a/src/metadata/v58.json +++ b/src/metadata/v58.json @@ -1,4 +1,11 @@ [ + { + "directoryName": "recordAlertCategories", + "inFolder": false, + "metaFile": false, + "suffix": "recordAlertCategory", + "xmlName": "RecordAlertCategory" + }, { "directoryName": "aiApplicationConfigs", "inFolder": false, diff --git a/src/metadata/v59.json b/src/metadata/v59.json index 3e013d62..144ffc6b 100644 --- a/src/metadata/v59.json +++ b/src/metadata/v59.json @@ -1,4 +1,11 @@ [ + { + "directoryName": "recordAlertCategories", + "inFolder": false, + "metaFile": false, + "suffix": "recordAlertCategory", + "xmlName": "RecordAlertCategory" + }, { "directoryName": "aiApplicationConfigs", "inFolder": false,