@types/tedious
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for tedious 3.0.0 | ||
// Type definitions for tedious 4.0.0 | ||
// Project: http://tediousjs.github.io/tedious/ | ||
@@ -7,2 +7,3 @@ // Definitions by: Rogier Schouten <https://github.com/rogierschouten> | ||
// Guilherme Amorim <https://github.com/guiampm> | ||
// Simon Childs <https://github.com/csharpsi> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -353,4 +354,9 @@ | ||
export interface ConnectionConfig { | ||
export interface ConnectionAuthenticationOptions { | ||
/** | ||
* Once you set domain, driver will connect to SQL Server using domain login. | ||
*/ | ||
domain?: string; | ||
/** | ||
* User name to use for authentication. | ||
@@ -366,2 +372,21 @@ */ | ||
/** | ||
* Authentication token used when type is 'azure-active-directory-access-token' | ||
*/ | ||
token?: string; | ||
} | ||
export interface ConnectionAuthentication { | ||
/** | ||
* Authentication Type. Default value is 'default'. | ||
*/ | ||
type?: string; | ||
/** | ||
* Authentication Options | ||
*/ | ||
options: ConnectionAuthenticationOptions; | ||
} | ||
export interface ConnectionConfig { | ||
/** | ||
* Hostname to connect to. | ||
@@ -380,2 +405,7 @@ */ | ||
options?: ConnectionOptions; | ||
/** | ||
* Authentication Options | ||
*/ | ||
authentication?: ConnectionAuthentication; | ||
} | ||
@@ -382,0 +412,0 @@ |
{ | ||
"name": "@types/tedious", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "TypeScript definitions for tedious", | ||
@@ -26,2 +26,7 @@ "license": "MIT", | ||
"githubUsername": "guiampm" | ||
}, | ||
{ | ||
"name": "Simon Childs", | ||
"url": "https://github.com/csharpsi", | ||
"githubUsername": "csharpsi" | ||
} | ||
@@ -40,4 +45,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "cb619797359b496488650327c8e06ec99069ff10efee27d4e1d26a66bfc0579b", | ||
"typesPublisherContentHash": "6536c7ec0b43d939955e51f9ec1d085d64cdf29d03e9fd60e8a5df86011a5a3a", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 25 Mar 2019 16:42:34 GMT | ||
* Last updated: Tue, 04 Jun 2019 00:45:06 GMT | ||
* Dependencies: @types/node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>, Chris Thompson <https://github.com/cjthompson>, Suraiya Hameed <https://github.com/v-suhame>, Guilherme Amorim <https://github.com/guiampm>. | ||
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>, Chris Thompson <https://github.com/cjthompson>, Suraiya Hameed <https://github.com/v-suhame>, Guilherme Amorim <https://github.com/guiampm>, Simon Childs <https://github.com/csharpsi>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35582
665