Skip to content

Commit 7060136

Browse files
authored
Merge pull request #736 from kuzzleio/beta
Beta
2 parents 553b7b9 + 10929ae commit 7060136

File tree

5 files changed

+36
-18
lines changed

5 files changed

+36
-18
lines changed

.github/workflows/push_branches.workflow.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ jobs:
4545
- name: Checkout
4646
uses: actions/checkout@v3
4747

48-
- uses: convictional/[email protected]
48+
- name: Deploy the documentation
49+
uses: convictional/[email protected]
4950
with:
5051
owner: kuzzleio
5152
repo: documentation
5253
github_token: ${{ secrets.ACCESS_TOKEN_CI }}
5354
workflow_file_name: child_repo.workflow.yml
5455
ref: ${{ github.ref_name == 'master' && 'master' || 'develop' }}
55-
client_payload: '{"repo_name":"sdk-javascript","branch":"${{ github.ref_name }}","version":"1"}'
56+
client_payload: '{"repo_name":"sdk-javascript","branch":"${{ github.ref_name }}","version":"7"}'

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1-
## [7.11.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1) (2023-11-15)
1+
## [7.11.2-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.1...v7.11.2-beta.1) (2023-12-05)
2+
3+
4+
### Bug Fixes
5+
6+
* (ProfilePolicy.ts) restrictedTo was mistyped ([#733](https://github.com/kuzzleio/sdk-javascript/issues/733)) ([5770997](https://github.com/kuzzleio/sdk-javascript/commit/57709975d549441118d7cca420bf3b08f96a4322))
7+
* **documentation:** update the version of the branch to deploy ([9980995](https://github.com/kuzzleio/sdk-javascript/commit/99809952038b0c4c1050acdc499e35f8e52d3e37))
8+
9+
## [7.11.1-beta.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1-beta.1) (2023-12-05)
210

311

412
### Bug Fixes
513

14+
* (ProfilePolicy.ts) restrictedTo was mistyped ([#733](https://github.com/kuzzleio/sdk-javascript/issues/733)) ([5770997](https://github.com/kuzzleio/sdk-javascript/commit/57709975d549441118d7cca420bf3b08f96a4322))
15+
* **documentation:** update the version of the branch to deploy ([9980995](https://github.com/kuzzleio/sdk-javascript/commit/99809952038b0c4c1050acdc499e35f8e52d3e37))
16+
* **http:** fix empty raw responses parsed as json ([9becea5](https://github.com/kuzzleio/sdk-javascript/commit/9becea5761bee0b36d07ce81542d478325ab2ef2))
17+
18+
## [7.11.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1) (2023-11-15)
19+
20+
### Bug Fixes
621
* **http:** fix empty raw responses parsed as json ([9becea5](https://github.com/kuzzleio/sdk-javascript/commit/9becea5761bee0b36d07ce81542d478325ab2ef2))
722

823
# [7.11.0](https://github.com/kuzzleio/sdk-javascript/compare/v7.10.8...v7.11.0) (2023-08-30)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-sdk",
3-
"version": "7.11.1",
3+
"version": "7.11.2-beta.1",
44
"description": "Official Javascript SDK for Kuzzle",
55
"author": "The Kuzzle Team <[email protected]>",
66
"repository": {

src/types/ProfilePolicy.ts

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,19 @@ export type ProfilePolicy = {
2424
/**
2525
* Optional array of restrictions on which the rights are gonne be applied
2626
*/
27-
restrictedTo?: {
28-
/**
29-
* Index name.
30-
* Rights will only be applied on this index.
31-
*/
32-
index: string;
27+
restrictedTo?: [
28+
{
29+
/**
30+
* Index name.
31+
* Rights will only be applied on this index.
32+
*/
33+
index: string;
3334

34-
/**
35-
* Collection names.
36-
* Rights will only be applied on those collections.
37-
*/
38-
collections?: Array<string>;
39-
};
35+
/**
36+
* Collection names.
37+
* Rights will only be applied on those collections.
38+
*/
39+
collections?: Array<string>;
40+
}
41+
];
4042
};

0 commit comments

Comments
 (0)