Skip to content

Commit

Permalink
chore: update mapping component schema to use configKey instead of key (
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs authored Dec 18, 2024
1 parent 0ce45b6 commit 2ab4704
Show file tree
Hide file tree
Showing 17 changed files with 89 additions and 89 deletions.
48 changes: 24 additions & 24 deletions src/configurations/destinations/adobe_analytics/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Event",
"placeholder": "e.g: Product Searched"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Adobe Custom Event",
"placeholder": "e.g: conv.add_to_cart"
}
Expand All @@ -384,13 +384,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack field",
"placeholder": "e.g: page.name"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Adobe Context Data Variable",
"placeholder": "e.g: pName"
}
Expand Down Expand Up @@ -424,13 +424,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack field",
"placeholder": "e.g: page.name"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Adobe mobile event",
"placeholder": "e.g: pName"
}
Expand All @@ -457,13 +457,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack field",
"placeholder": "e.g: phone"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "eVar index",
"placeholder": "e.g: 2"
}
Expand All @@ -490,13 +490,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack field",
"placeholder": "e.g: phone"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Heir index",
"placeholder": "e.g: 2"
}
Expand All @@ -523,19 +523,19 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack field",
"placeholder": "e.g: phone"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "List index",
"placeholder": "e.g: 2"
},
{
"type": "singleSelect",
"key": "delimiter",
"configKey": "delimiter",
"label": "List delimiter",
"options": [
{
Expand Down Expand Up @@ -584,19 +584,19 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack field",
"placeholder": "e.g: phone"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Prop index",
"placeholder": "e.g: 2"
},
{
"type": "singleSelect",
"key": "delimiter",
"configKey": "delimiter",
"label": "List delimiter",
"options": [
{
Expand Down Expand Up @@ -645,13 +645,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack event",
"placeholder": "e.g: video playback started"
},
{
"type": "singleSelect",
"key": "to",
"configKey": "to",
"label": "Heartbeat event",
"options": [
{
Expand Down Expand Up @@ -759,13 +759,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Event",
"placeholder": "e.g: Order Completed"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Adobe Event",
"placeholder": "e.g: event1"
}
Expand Down Expand Up @@ -800,13 +800,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Event",
"placeholder": "e.g: Order Completed"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Adobe Event",
"placeholder": "e.g: event1"
}
Expand Down Expand Up @@ -834,13 +834,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack field",
"placeholder": "e.g: product_id"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "eVar Index",
"placeholder": "e.g: 2"
}
Expand Down
4 changes: 2 additions & 2 deletions src/configurations/destinations/bluecore/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "Event Name",
"placeholder": "e.g: Custom Purchase Event"
},
{
"type": "singleSelect",
"key": "to",
"configKey": "to",
"label": "Bluecore Standard Ecommerce Event",
"placeholder": "e.g: purchase",
"options": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Event",
"placeholder": "e.g: Product Searched"
},
{
"type": "singleSelect",
"key": "to",
"configKey": "to",
"label": "Facebook custom event",
"options": [
{
Expand Down
8 changes: 4 additions & 4 deletions src/configurations/destinations/facebook_pixel/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,13 +431,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Event",
"placeholder": "e.g: Product Searched"
},
{
"type": "singleSelect",
"key": "to",
"configKey": "to",
"label": "Facebook custom event",
"options": [
{
Expand Down Expand Up @@ -565,13 +565,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "Event name",
"placeholder": "e.g: Product Searched"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Pixel ID",
"placeholder": "e.g: 234567654654"
}
Expand Down
8 changes: 4 additions & 4 deletions src/configurations/destinations/ga4_v2/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,14 +434,14 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Property",
"placeholder": "properties.price"
},
{
"type": "autoComplete",
"label": "GA4 parameter",
"key": "to",
"configKey": "to",
"placeholder": "value"
}
]
Expand Down Expand Up @@ -2098,15 +2098,15 @@
"label": "Map your Event Property",
"columns": [
{
"key": "from",
"configKey": "from",
"type": "textInput",
"label": "RudderStack Property Name",
"placeholder": "e.g $.properties.revenue"
},
{
"type": "autoComplete",
"label": "GA4 parameter",
"key": "to",
"configKey": "to",
"placeholder": "$.event[0].params.value"
}
],
Expand Down
8 changes: 4 additions & 4 deletions src/configurations/destinations/ga4_v2/ui-config.jt
Original file line number Diff line number Diff line change
Expand Up @@ -434,14 +434,14 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Property",
"placeholder": "properties.price"
},
{
"type": "autoComplete",
"label": "GA4 parameter",
"key": "to",
"configKey": "to",
"placeholder": "value"
}
]
Expand Down Expand Up @@ -484,15 +484,15 @@
"label": "Map your Event Property",
"columns": [
{
"key": "from",
"configKey": "from",
"type": "textInput",
"label": "RudderStack Property Name",
"placeholder": "e.g $.properties.revenue"
},
{
"type": "autoComplete",
"label": "GA4 parameter",
"key": "to",
"configKey": "to",
"placeholder": "$.event[0].params.value"
}
],
Expand Down
4 changes: 2 additions & 2 deletions src/configurations/destinations/hs/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,13 +387,13 @@
"columns": [
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "RudderStack Property Name",
"placeholder": "e.g firstName"
},
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "HubSpot Property Name",
"placeholder": "e.g first_name"
}
Expand Down
12 changes: 6 additions & 6 deletions src/configurations/destinations/http/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,15 +471,15 @@
"columns": [
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Key",
"regex": "^\\$(?:\\.|(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*)$",
"regexErrorMessage": "Please enter a valid JSON path",
"placeholder": "e.g: $.events.key2"
},
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "Value",
"regex": "^\\$(?:\\.|(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*)$|^(?!\\\\$)[A-Za-z0-9!#$%&'*+.^_`|~-]{1,100}$",
"regexErrorMessage": "Please enter a valid JSON path or a constant",
Expand All @@ -501,15 +501,15 @@
"columns": [
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Key",
"regex": "^(?!\\\\$)[A-Za-z0-9!#$%&'*+.^_`|~-]{1,100}$",
"regexErrorMessage": "JSON path is not supported. Please enter a constant",
"placeholder": "e.g: customerId"
},
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "Value",
"regex": "^\\$(?:\\.|(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*)$|^(?!\\\\$)[A-Za-z0-9!#$%&'*+.^_`|~-]{1,100}$",
"regexErrorMessage": "Please enter a valid JSON path or a constant",
Expand All @@ -531,15 +531,15 @@
"columns": [
{
"type": "textInput",
"key": "to",
"configKey": "to",
"label": "Key",
"regex": "^(?!\\\\$)[A-Za-z0-9!#$%&'*+.^_`|~-]{1,100}$",
"regexErrorMessage": "JSON path is not supported. Please enter a constant",
"placeholder": "e.g. content-type"
},
{
"type": "textInput",
"key": "from",
"configKey": "from",
"label": "Value",
"regex": "^\\$(?:\\.|(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*)$|^(?!\\\\$)[A-Za-z0-9!#$%&'*+.^_`|~-]{1,100}$",
"regexErrorMessage": "Please enter a valid JSON path or a constant",
Expand Down
Loading

0 comments on commit 2ab4704

Please sign in to comment.