forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add prettier and format files * Turn off email notifications for builds
- Loading branch information
1 parent
b221948
commit 1bc6783
Showing
161 changed files
with
16,674 additions
and
15,705 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"printWidth": 120, | ||
"tabWidth": 2 | ||
} |
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,4 +1,6 @@ | ||
language: node_js | ||
notifications: | ||
email: false | ||
node_js: | ||
- 10 | ||
script: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
import { ConnectionPolicy, ConsistencyLevel } from "./documents"; | ||
|
||
export interface CosmosClientOptions { | ||
/** The service endpoint to use to create the client. */ | ||
endpoint: string; | ||
/** An object that is used for authenticating requests and must contains one of the options */ | ||
auth: { | ||
/** The authorization master key to use to create the client. */ | ||
masterKey?: string; | ||
/** An array of {@link Permission} objects. */ | ||
permissionFeed?: any; // TODO: any | ||
/** An object that contains resources tokens. | ||
* Keys for the object are resource Ids and values are the resource tokens. | ||
*/ | ||
resourceTokens?: any; // TODO: any | ||
tokenProvider?: any; // TODO: any | ||
}; | ||
/** An instance of {@link ConnectionPolicy} class. | ||
* This parameter is optional and the default connectionPolicy will be used if omitted. | ||
/** The service endpoint to use to create the client. */ | ||
endpoint: string; | ||
/** An object that is used for authenticating requests and must contains one of the options */ | ||
auth: { | ||
/** The authorization master key to use to create the client. */ | ||
masterKey?: string; | ||
/** An array of {@link Permission} objects. */ | ||
permissionFeed?: any; // TODO: any | ||
/** An object that contains resources tokens. | ||
* Keys for the object are resource Ids and values are the resource tokens. | ||
*/ | ||
connectionPolicy?: ConnectionPolicy; | ||
/** An optional parameter that represents the consistency level. | ||
* It can take any value from {@link ConsistencyLevel}. | ||
*/ | ||
consistencyLevel?: ConsistencyLevel; | ||
resourceTokens?: any; // TODO: any | ||
tokenProvider?: any; // TODO: any | ||
}; | ||
/** An instance of {@link ConnectionPolicy} class. | ||
* This parameter is optional and the default connectionPolicy will be used if omitted. | ||
*/ | ||
connectionPolicy?: ConnectionPolicy; | ||
/** An optional parameter that represents the consistency level. | ||
* It can take any value from {@link ConsistencyLevel}. | ||
*/ | ||
consistencyLevel?: ConsistencyLevel; | ||
} |
Oops, something went wrong.