Skip to content

Commit

Permalink
Merge pull request #736 from kuzzleio/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
rolljee authored Dec 6, 2023
2 parents 553b7b9 + 10929ae commit 7060136
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 18 deletions.
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>;
}
];
};

0 comments on commit 7060136

Please sign in to comment.