-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #725 from kuzzleio/7.10.7-proposal
# [7.10.7](https://github.com/kuzzleio/sdk-javascript/releases/tag/7.10.7) (2023-03-06) #### Enhancements - [ [#723](#723) ] Improve typings ([ScreamZ](https://github.com/ScreamZ)) - [ [#724](#724) ] Add support and documentation to use API keys ([ScreamZ](https://github.com/ScreamZ)) ---
- Loading branch information
Showing
13 changed files
with
211 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const WEBSOCKET_AUTH_RENEWAL = "websocket/auth-renewal"; | ||
const USER_CONNECTION_CLOSED = "user/connection-closed"; | ||
const NETWORK_ERROR = "network/error"; | ||
|
||
export { WEBSOCKET_AUTH_RENEWAL, USER_CONNECTION_CLOSED, NETWORK_ERROR }; | ||
export enum DisconnectionOrigin { | ||
WEBSOCKET_AUTH_RENEWAL = "websocket/auth-renewal", | ||
USER_CONNECTION_CLOSED = "user/connection-closed", | ||
NETWORK_ERROR = "network/error", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
/** | ||
* An interface representing an object with string key and any value | ||
*/ | ||
export interface JSONObject { | ||
[key: string]: JSONObject | any; | ||
} | ||
export type JSONObject = Record<PropertyKey, any>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.