Skip to content
Merged

Beta #736

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
5 changes: 3 additions & 2 deletions .github/workflows/push_branches.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- uses: convictional/[email protected]
- name: Deploy the documentation
uses: convictional/[email protected]
with:
owner: kuzzleio
repo: documentation
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"}'
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
## [7.11.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1) (2023-11-15)
## [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)


### 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.1](https://github.com/kuzzleio/sdk-javascript/compare/v7.11.0...v7.11.1) (2023-11-15)

### Bug Fixes
* **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)
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": "kuzzle-sdk",
"version": "7.11.1",
"version": "7.11.2-beta.1",
"description": "Official Javascript SDK for Kuzzle",
"author": "The Kuzzle Team <[email protected]>",
"repository": {
Expand Down
26 changes: 14 additions & 12 deletions src/types/ProfilePolicy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
};
/**
* Collection names.
* Rights will only be applied on those collections.
*/
collections?: Array<string>;
}
];
};