Skip to content

Commit

Permalink
feat: gaec migration
Browse files Browse the repository at this point in the history
  • Loading branch information
aashishmalik committed Nov 5, 2024
1 parent 300f547 commit 5c8ea3a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@
"destConfig": {
"defaultConfig": [
"rudderAccountId",
"customerId",
"listOfConversions",
"subAccount",
"loginCustomerId",
"requireHash"
"requireHash",
"configData"
],
"android": [
"connectionMode",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"configData": {
"type": "string",
"default": "{\"customerId\": \"123\"}"
},
"oneTrustCookieCategories": {
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,22 @@
"icon": "settings",
"fields": [
{
"type": "textInput",
"label": "Customer ID",
"note": "Enter the Customer ID",
"configKey": "customerId",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$",
"regexErrorMessage": "Invalid Customer Id",
"placeholder": "e.g: 9693XX9833"
},
{
"type": "checkbox",
"label": "Sub Account",
"configKey": "subAccount",
"default": false
},
{
"type": "textInput",
"label": "Login Customer ID",
"note": "Enter the Login Customer ID",
"configKey": "loginCustomerId",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$",
"regexErrorMessage": "Invalid Login Customer Id",
"type": "nestedSelect",
"label": "Select account",
"apiName": "getConfigData",
"configKey": "configData",
"placeholder": "Select account details",
"preRequisites": {
"fields": [
{
"configKey": "subAccount",
"value": true
"exists": true,
"configKey": "rudderAccountId"
}
]
}
},
"apiDependencies": [
"rudderAccountId"
]
}
]
}
Expand Down

0 comments on commit 5c8ea3a

Please sign in to comment.