Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update mapping component schema to use configKey instead of key #1847

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading