From 57709975d549441118d7cca420bf3b08f96a4322 Mon Sep 17 00:00:00 2001 From: Juiced66 <80784430+Juiced66@users.noreply.github.com> Date: Thu, 30 Nov 2023 07:13:01 +0100 Subject: [PATCH 1/5] fix: (ProfilePolicy.ts) restrictedTo was mistyped (#733) Co-authored-by: Juiced66 --- src/types/ProfilePolicy.ts | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/types/ProfilePolicy.ts b/src/types/ProfilePolicy.ts index 89ada2e60..45986ff1e 100644 --- a/src/types/ProfilePolicy.ts +++ b/src/types/ProfilePolicy.ts @@ -24,17 +24,19 @@ export type ProfilePolicy = { /** * Optional array of restrictions on which the rights are gonne be applied */ - restrictedTo?: { - /** - * Index name. - * Rights will only be applied on this index. - */ - index: string; + restrictedTo?: [ + { + /** + * Index name. + * Rights will only be applied on this index. + */ + index: string; - /** - * Collection names. - * Rights will only be applied on those collections. - */ - collections?: Array; - }; + /** + * Collection names. + * Rights will only be applied on those collections. + */ + collections?: Array; + } + ]; }; From 054de1a1a757a7323e27ed9de201358a163c6018 Mon Sep 17 00:00:00 2001 From: rolljee Date: Thu, 30 Nov 2023 19:44:17 +0100 Subject: [PATCH 2/5] Update version of the documentation to deploy --- .github/workflows/push_branches.workflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push_branches.workflow.yaml b/.github/workflows/push_branches.workflow.yaml index c7cd96c34..b28d74106 100644 --- a/.github/workflows/push_branches.workflow.yaml +++ b/.github/workflows/push_branches.workflow.yaml @@ -52,4 +52,4 @@ jobs: github_token: ${{ secrets.ACCESS_TOKEN_CI }} workflow_file_name: child_repo.workflow.yml ref: ${{ github.ref_name == 'master' && 'master' || 'develop' }} - client_payload: '{"repo_name":"sdk-javascript","branch":"${{ github.ref_name }}","version":"1"}' + client_payload: '{"repo_name":"sdk-javascript","branch":"${{ github.ref_name }}","version":"7"}' From 99809952038b0c4c1050acdc499e35f8e52d3e37 Mon Sep 17 00:00:00 2001 From: rolljee Date: Thu, 30 Nov 2023 19:45:29 +0100 Subject: [PATCH 3/5] fix(documentation): update the version of the branch to deploy --- .github/workflows/push_branches.workflow.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push_branches.workflow.yaml b/.github/workflows/push_branches.workflow.yaml index b28d74106..921582f4c 100644 --- a/.github/workflows/push_branches.workflow.yaml +++ b/.github/workflows/push_branches.workflow.yaml @@ -45,7 +45,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - uses: convictional/trigger-workflow-and-wait@v1.6.3 + - name: Deploy the documentation + uses: convictional/trigger-workflow-and-wait@v1.6.3 with: owner: kuzzleio repo: documentation From 4d6a2d7edf9f5d84584f8da9aa4a938473eb6db1 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 5 Dec 2023 16:10:36 +0000 Subject: [PATCH 4/5] chore(release): 7.11.1-beta.1 [skip ci] ## [7.11.1-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1-beta.1) (2023-12-05) ### Bug Fixes * (ProfilePolicy.ts) restrictedTo was mistyped ([#733](https://github.com/kuzzleio/sdk-javascript/issues/733)) ([5770997](https://github.com/kuzzleio/sdk-javascript/commit/57709975d549441118d7cca420bf3b08f96a4322)) * **documentation:** update the version of the branch to deploy ([9980995](https://github.com/kuzzleio/sdk-javascript/commit/99809952038b0c4c1050acdc499e35f8e52d3e37)) * **http:** fix empty raw responses parsed as json ([9becea5](https://github.com/kuzzleio/sdk-javascript/commit/9becea5761bee0b36d07ce81542d478325ab2ef2)) --- CHANGELOG.md | 9 +++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e90a88a5..41a00913e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [7.11.1-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1-beta.1) (2023-12-05) + + +### Bug Fixes + +* (ProfilePolicy.ts) restrictedTo was mistyped ([#733](https://github.com/kuzzleio/sdk-javascript/issues/733)) ([5770997](https://github.com/kuzzleio/sdk-javascript/commit/57709975d549441118d7cca420bf3b08f96a4322)) +* **documentation:** update the version of the branch to deploy ([9980995](https://github.com/kuzzleio/sdk-javascript/commit/99809952038b0c4c1050acdc499e35f8e52d3e37)) +* **http:** fix empty raw responses parsed as json ([9becea5](https://github.com/kuzzleio/sdk-javascript/commit/9becea5761bee0b36d07ce81542d478325ab2ef2)) + # [7.11.0](https://github.com/kuzzleio/sdk-javascript/compare/v7.10.8...v7.11.0) (2023-08-30) diff --git a/package-lock.json b/package-lock.json index 76fd366e7..c79e8d46b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "kuzzle-sdk", - "version": "7.11.0", + "version": "7.11.1-beta.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "kuzzle-sdk", - "version": "7.11.0", + "version": "7.11.1-beta.1", "license": "Apache-2.0", "dependencies": { "min-req-promise": "^1.0.1", diff --git a/package.json b/package.json index 1b501b8a5..4a11a14ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kuzzle-sdk", - "version": "7.11.0", + "version": "7.11.1-beta.1", "description": "Official Javascript SDK for Kuzzle", "author": "The Kuzzle Team ", "repository": { From 10929ae78a46b7dae782e1b3a21fdef573a64dc5 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 5 Dec 2023 19:24:03 +0000 Subject: [PATCH 5/5] chore(release): 7.11.2-beta.1 [skip ci] ## [7.11.2-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.1...v7.11.2-beta.1) (2023-12-05) ### Bug Fixes * (ProfilePolicy.ts) restrictedTo was mistyped ([#733](https://github.com/kuzzleio/sdk-javascript/issues/733)) ([5770997](https://github.com/kuzzleio/sdk-javascript/commit/57709975d549441118d7cca420bf3b08f96a4322)) * **documentation:** update the version of the branch to deploy ([9980995](https://github.com/kuzzleio/sdk-javascript/commit/99809952038b0c4c1050acdc499e35f8e52d3e37)) --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9db1ded67..c07a9c879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [7.11.2-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.1...v7.11.2-beta.1) (2023-12-05) + + +### Bug Fixes + +* (ProfilePolicy.ts) restrictedTo was mistyped ([#733](https://github.com/kuzzleio/sdk-javascript/issues/733)) ([5770997](https://github.com/kuzzleio/sdk-javascript/commit/57709975d549441118d7cca420bf3b08f96a4322)) +* **documentation:** update the version of the branch to deploy ([9980995](https://github.com/kuzzleio/sdk-javascript/commit/99809952038b0c4c1050acdc499e35f8e52d3e37)) + ## [7.11.1-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1-beta.1) (2023-12-05) diff --git a/package-lock.json b/package-lock.json index c79e8d46b..7bef30399 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "kuzzle-sdk", - "version": "7.11.1-beta.1", + "version": "7.11.2-beta.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "kuzzle-sdk", - "version": "7.11.1-beta.1", + "version": "7.11.2-beta.1", "license": "Apache-2.0", "dependencies": { "min-req-promise": "^1.0.1", diff --git a/package.json b/package.json index 4a11a14ae..4ef544c42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kuzzle-sdk", - "version": "7.11.1-beta.1", + "version": "7.11.2-beta.1", "description": "Official Javascript SDK for Kuzzle", "author": "The Kuzzle Team ", "repository": {