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(release): pull hotfix-release/v1.77.5 into main #1507

Merged
merged 2 commits into from
Jun 25, 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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.77.5](https://github.com/rudderlabs/rudder-config-schema/compare/v1.77.4...v1.77.5) (2024-06-25)


### Bug Fixes

* enhancement: onboard user API for onesignal ([#1460](https://github.com/rudderlabs/rudder-config-schema/issues/1460)) ([b2c8e58](https://github.com/rudderlabs/rudder-config-schema/commit/b2c8e58eb7301778e7739388d4cb7bef1fbaa894))

### [1.77.4](https://github.com/rudderlabs/rudder-config-schema/compare/v1.77.3...v1.77.4) (2024-06-20)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rudder-config-schema",
"version": "1.77.4",
"version": "1.77.5",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"destConfig": {
"defaultConfig": [
"appId",
"version",
"emailDeviceType",
"smsDeviceType",
"eventAsTags",
Expand Down
1 change: 1 addition & 0 deletions src/configurations/destinations/one_signal/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$"
},
"version": { "type": "string", "enum": ["V1", "V2"], "default": "V1" },
"emailDeviceType": {
"type": "boolean",
"default": false
Expand Down
24 changes: 22 additions & 2 deletions src/configurations/destinations/one_signal/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@
"placeholder": "e.g. 7acc2c99-XXXX-XXXX-XXXX-6cd8a994da65",
"secret": true,
"footerNote": "Your OneSignal App Id"
},
{
"type": "singleSelect",
"label": "Event Version to use",
"value": "version",
"options": [
{
"name": "Device Model (Deprecated)",
"value": "V1"
},
{
"name": "User Model",
"value": "V2"
}
],
"defaultOption": {
"name": "Device Model (Deprecated)",
"value": "V1"
},
"footerNote": "Please Select the API version to use. User Model is recommended."
}
]
},
Expand All @@ -21,13 +41,13 @@
"fields": [
{
"type": "checkbox",
"label": "Toggle on to add a device using email",
"label": "Toggle on to add a device/subscription using email",
"value": "emailDeviceType",
"default": false
},
{
"type": "checkbox",
"label": "Toggle on to add a device using phone number",
"label": "Toggle on to add a device/subscription using phone number",
"value": "smsDeviceType",
"default": false
}
Expand Down
15 changes: 15 additions & 0 deletions test/data/validation/destinations/one_signal.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@
"result": false,
"err": ["appId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""]
},
{
"config": {
"appId": "7acc2c99-XXXX-XXXX-XXXX-6cd8a994da65",
"version": "V2",
"emailDeviceType": false,
"smsDeviceType": false,
"eventAsTags": false,
"allowedProperties": [
{
"propertyName": ""
}
]
},
"result": true
},
{
"config": {
"appId": "7acc2c99-XXXX-XXXX-XXXX-6cd8a994da65",
Expand Down
Loading