Skip to content

Commit

Permalink
feat: add FeatureParameter metadata support (#915)
Browse files Browse the repository at this point in the history
Co-authored-by: aljaz <[email protected]>
  • Loading branch information
aljaz823 and aljazforce authored Sep 13, 2024
1 parent 5562561 commit f3c9ca2
Show file tree
Hide file tree
Showing 17 changed files with 351 additions and 0 deletions.
15 changes: 15 additions & 0 deletions __tests__/integration/services.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,21 @@ const testContext = [
new Set(['WaveXmdTest']),
'WaveXmd',
],
[
'force-app/main/default/featureParameters/FeatureParameterIntegerTest.featureParameterInteger',
new Set(['FeatureParameterIntegerTest']),
'FeatureParameterInteger',
],
[
'force-app/main/default/featureParameters/FeatureParameterBooleanTest.featureParameterBoolean',
new Set(['FeatureParameterBooleanTest']),
'FeatureParameterBoolean',
],
[
'force-app/main/default/featureParameters/FeatureParameterDateTest.featureParameterDate',
new Set(['FeatureParameterDateTest']),
'FeatureParameterDate',
],
]

let globalMetadata: MetadataRepository
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v46.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "recommendationStrategies",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v47.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "actionPlanTemplates",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v49.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v50.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v51.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v52.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v53.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v54.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v55.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v56.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v57.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "useraccesspolicies",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v58.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "dw",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v59.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "conversationMessageDefinitions",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v60.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterInteger",
"xmlName": "FeatureParameterInteger"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterBoolean",
"xmlName": "FeatureParameterBoolean"
},
{
"directoryName": "featureParameters",
"inFolder": false,
"metaFile": false,
"suffix": "featureParameterDate",
"xmlName": "FeatureParameterDate"
},
{
"directoryName": "conversationMessageDefinitions",
"inFolder": false,
Expand Down
Loading

0 comments on commit f3c9ca2

Please sign in to comment.