Skip to content

Commit

Permalink
feat: onboard customerio to new UI (#1118)
Browse files Browse the repository at this point in the history
Co-authored-by: Anant Jain <[email protected]>
Co-authored-by: Anant Jain <[email protected]>
  • Loading branch information
3 people authored Jan 22, 2024
1 parent 3d4e32f commit 914bde6
Show file tree
Hide file tree
Showing 4 changed files with 272 additions and 163 deletions.
2 changes: 1 addition & 1 deletion src/configurations/destinations/customerio/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"oneTrustCookieCategories",
"ketchConsentPurposes"
],
"web": ["dataUseInApp", "useNativeSDK", "sendPageNameInSDK"]
"web": ["connectionMode", "dataUseInApp", "useNativeSDK", "sendPageNameInSDK"]
},
"secretKeys": []
}
Expand Down
10 changes: 8 additions & 2 deletions src/configurations/destinations/customerio/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"configSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"required": ["siteID", "apiKey"],
"required": ["apiKey", "siteID", "datacenter"],
"type": "object",
"properties": {
"siteID": {
Expand Down Expand Up @@ -45,6 +45,12 @@
}
}
},
"connectionMode": {
"type": "object",
"properties": {
"web": { "type": "string", "enum": ["cloud", "device"] }
}
},
"eventFilteringOption": {
"type": "string",
"enum": ["disable", "whitelistedEvents", "blacklistedEvents"],
Expand Down Expand Up @@ -93,7 +99,7 @@
"properties": {
"purpose": {
"type": "string",
"pattern": "^(.{0,100})$"
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
Expand Down
Loading

0 comments on commit 914bde6

Please sign in to comment.