@tsonic/efcore-sqlserver 10.0.40 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Azure/internal/index.d.ts +42 -44
- package/Azure.Core/bindings.json +2859 -2859
- package/Azure.Core/internal/index.d.ts +103 -105
- package/Azure.Core.Cryptography/internal/index.d.ts +3 -2
- package/Azure.Core.Diagnostics/internal/index.d.ts +3 -2
- package/Azure.Core.Extensions/internal/index.d.ts +3 -2
- package/Azure.Core.GeoJson/internal/index.d.ts +14 -16
- package/Azure.Core.Pipeline/internal/index.d.ts +20 -19
- package/Azure.Core.Serialization/internal/index.d.ts +17 -16
- package/Azure.Core.d.ts +2 -2
- package/Azure.Identity/internal/index.d.ts +3 -2
- package/Azure.Messaging/internal/index.d.ts +17 -16
- package/Microsoft.Data/internal/index.d.ts +3 -2
- package/Microsoft.Data.Sql/internal/index.d.ts +3 -2
- package/Microsoft.Data.SqlClient/internal/index.d.ts +46 -48
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +3 -2
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +13 -12
- package/Microsoft.Data.SqlTypes/bindings.json +4 -1
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +9 -8
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +171 -173
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +17 -16
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +20 -22
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +2 -4
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +45 -44
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +5 -4
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +5 -4
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +26 -25
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +27 -26
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +16 -18
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +50 -49
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +4 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +418 -418
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +97 -99
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +4 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +8 -7
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +32 -34
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +8 -10
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +7 -9
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +6 -5
- package/Microsoft.Identity.Client/bindings.json +100 -100
- package/Microsoft.Identity.Client/internal/index.d.ts +15 -17
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.d.ts +1 -1
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +12 -11
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +10 -12
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +27 -26
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +4 -3
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +4 -3
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +15 -17
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.SqlServer.Server/internal/index.d.ts +3 -2
- package/README.md +32 -13
- package/System/internal/index.d.ts +19 -18
- package/System.ClientModel/internal/index.d.ts +12 -14
- package/System.ClientModel.Primitives/internal/index.d.ts +77 -79
- package/System.Configuration/internal/index.d.ts +94 -93
- package/System.Configuration.Internal/internal/index.d.ts +27 -29
- package/System.Configuration.Provider/internal/index.d.ts +5 -4
- package/System.Configuration.Provider.d.ts +1 -1
- package/System.Diagnostics/internal/index.d.ts +3 -2
- package/System.Drawing.Configuration/internal/index.d.ts +3 -2
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +9 -11
- package/System.Security.Cryptography/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization/internal/index.d.ts +3 -5
- package/__internal/extensions/index.d.ts +199 -201
- package/package.json +5 -5
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.JsonWebTokens
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.JsonWebTokens
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as Microsoft_IdentityModel_Logging_Internal from "../../Microsoft.IdentityModel.Logging/internal/index.js";
|
|
@@ -172,23 +170,23 @@ export interface JsonWebTokenHandler$instance extends TokenHandler {
|
|
|
172
170
|
CreateClaimsIdentity(jwtToken: JsonWebToken, validationParameters: TokenValidationParameters): ClaimsIdentity;
|
|
173
171
|
CreateClaimsIdentity(jwtToken: JsonWebToken, validationParameters: TokenValidationParameters, issuer: string): ClaimsIdentity;
|
|
174
172
|
CreateToken(payload: string): string;
|
|
175
|
-
CreateToken(payload: string, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
173
|
+
CreateToken(payload: string, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
176
174
|
CreateToken(payload: string, signingCredentials: SigningCredentials): string;
|
|
177
|
-
CreateToken(payload: string, signingCredentials: SigningCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
175
|
+
CreateToken(payload: string, signingCredentials: SigningCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
178
176
|
CreateToken(tokenDescriptor: SecurityTokenDescriptor): string;
|
|
179
177
|
CreateToken(payload: string, encryptingCredentials: EncryptingCredentials): string;
|
|
180
|
-
CreateToken(payload: string, encryptingCredentials: EncryptingCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
178
|
+
CreateToken(payload: string, encryptingCredentials: EncryptingCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
181
179
|
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials): string;
|
|
182
|
-
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
180
|
+
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
183
181
|
CreateToken(payload: string, encryptingCredentials: EncryptingCredentials, compressionAlgorithm: string): string;
|
|
184
182
|
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials, compressionAlgorithm: string): string;
|
|
185
|
-
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials, compressionAlgorithm: string, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
186
|
-
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials, compressionAlgorithm: string, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
183
|
+
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials, compressionAlgorithm: string, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>, additionalInnerHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
184
|
+
CreateToken(payload: string, signingCredentials: SigningCredentials, encryptingCredentials: EncryptingCredentials, compressionAlgorithm: string, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
187
185
|
DecryptToken(jwtToken: JsonWebToken, validationParameters: TokenValidationParameters): string;
|
|
188
186
|
EncryptToken(innerJwt: string, encryptingCredentials: EncryptingCredentials): string;
|
|
189
|
-
EncryptToken(innerJwt: string, encryptingCredentials: EncryptingCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
187
|
+
EncryptToken(innerJwt: string, encryptingCredentials: EncryptingCredentials, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
190
188
|
EncryptToken(innerJwt: string, encryptingCredentials: EncryptingCredentials, algorithm: string): string;
|
|
191
|
-
EncryptToken(innerJwt: string, encryptingCredentials: EncryptingCredentials, algorithm: string, additionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
189
|
+
EncryptToken(innerJwt: string, encryptingCredentials: EncryptingCredentials, algorithm: string, additionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>): string;
|
|
192
190
|
ReadJsonWebToken(token: string): JsonWebToken;
|
|
193
191
|
ReadToken(token: string): SecurityToken;
|
|
194
192
|
ResolveTokenDecryptionKey(token: string, jwtToken: JsonWebToken, validationParameters: TokenValidationParameters): SecurityKey;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.Logging
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.Logging
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { EventLogLevel, IIdentityLogger } from "../../Microsoft.IdentityModel.Abstractions/internal/index.js";
|
|
@@ -30,19 +31,19 @@ export interface IdentityModelEventSource$instance extends EventSource {
|
|
|
30
31
|
|
|
31
32
|
LogLevel: EventLevel;
|
|
32
33
|
Write(level: EventLevel, innerException: Exception, message: string): void;
|
|
33
|
-
Write(level: EventLevel, innerException: Exception, message: string, ...args:
|
|
34
|
+
Write(level: EventLevel, innerException: Exception, message: string, ...args: JsValue[]): void;
|
|
34
35
|
WriteAlways(message: string): void;
|
|
35
|
-
WriteAlways(message: string, ...args:
|
|
36
|
+
WriteAlways(message: string, ...args: JsValue[]): void;
|
|
36
37
|
WriteCritical(message: string): void;
|
|
37
|
-
WriteCritical(message: string, ...args:
|
|
38
|
+
WriteCritical(message: string, ...args: JsValue[]): void;
|
|
38
39
|
WriteError(message: string): void;
|
|
39
|
-
WriteError(message: string, ...args:
|
|
40
|
+
WriteError(message: string, ...args: JsValue[]): void;
|
|
40
41
|
WriteInformation(message: string): void;
|
|
41
|
-
WriteInformation(message: string, ...args:
|
|
42
|
+
WriteInformation(message: string, ...args: JsValue[]): void;
|
|
42
43
|
WriteVerbose(message: string): void;
|
|
43
|
-
WriteVerbose(message: string, ...args:
|
|
44
|
+
WriteVerbose(message: string, ...args: JsValue[]): void;
|
|
44
45
|
WriteWarning(message: string): void;
|
|
45
|
-
WriteWarning(message: string, ...args:
|
|
46
|
+
WriteWarning(message: string, ...args: JsValue[]): void;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
|
|
@@ -65,7 +66,7 @@ export interface LoggerContext$instance {
|
|
|
65
66
|
CaptureLogs: boolean;
|
|
66
67
|
DebugId: string;
|
|
67
68
|
Logs: ICollection_1<System_Internal.String>;
|
|
68
|
-
PropertyBag: IDictionary_2<System_Internal.String,
|
|
69
|
+
PropertyBag: IDictionary_2<System_Internal.String, JsValue>;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
|
|
@@ -86,34 +87,34 @@ export interface LogHelper$instance {
|
|
|
86
87
|
export const LogHelper: {
|
|
87
88
|
new(): LogHelper;
|
|
88
89
|
Logger: IIdentityLogger;
|
|
89
|
-
FormatInvariant(format: string, ...args:
|
|
90
|
+
FormatInvariant(format: string, ...args: JsValue[]): string;
|
|
90
91
|
IsEnabled(level: EventLogLevel): boolean;
|
|
91
|
-
LogArgumentException<T extends ArgumentException>(eventLevel: EventLevel, argumentName: string, innerException: Exception, format: string, ...args:
|
|
92
|
+
LogArgumentException<T extends ArgumentException>(eventLevel: EventLevel, argumentName: string, innerException: Exception, format: string, ...args: JsValue[]): T;
|
|
92
93
|
LogArgumentException<T extends ArgumentException>(eventLevel: EventLevel, argumentName: string, innerException: Exception, message: string): T;
|
|
93
|
-
LogArgumentException<T extends ArgumentException>(eventLevel: EventLevel, argumentName: string, format: string, ...args:
|
|
94
|
+
LogArgumentException<T extends ArgumentException>(eventLevel: EventLevel, argumentName: string, format: string, ...args: JsValue[]): T;
|
|
94
95
|
LogArgumentException<T extends ArgumentException>(eventLevel: EventLevel, argumentName: string, message: string): T;
|
|
95
|
-
LogArgumentException<T extends ArgumentException>(argumentName: string, innerException: Exception, format: string, ...args:
|
|
96
|
+
LogArgumentException<T extends ArgumentException>(argumentName: string, innerException: Exception, format: string, ...args: JsValue[]): T;
|
|
96
97
|
LogArgumentException<T extends ArgumentException>(argumentName: string, innerException: Exception, message: string): T;
|
|
97
|
-
LogArgumentException<T extends ArgumentException>(argumentName: string, format: string, ...args:
|
|
98
|
+
LogArgumentException<T extends ArgumentException>(argumentName: string, format: string, ...args: JsValue[]): T;
|
|
98
99
|
LogArgumentException<T extends ArgumentException>(argumentName: string, message: string): T;
|
|
99
100
|
LogArgumentNullException(argument: string): ArgumentNullException;
|
|
100
|
-
LogException<T extends Exception>(eventLevel: EventLevel, innerException: Exception, format: string, ...args:
|
|
101
|
+
LogException<T extends Exception>(eventLevel: EventLevel, innerException: Exception, format: string, ...args: JsValue[]): T;
|
|
101
102
|
LogException<T extends Exception>(eventLevel: EventLevel, innerException: Exception, message: string): T;
|
|
102
|
-
LogException<T extends Exception>(eventLevel: EventLevel, format: string, ...args:
|
|
103
|
+
LogException<T extends Exception>(eventLevel: EventLevel, format: string, ...args: JsValue[]): T;
|
|
103
104
|
LogException<T extends Exception>(eventLevel: EventLevel, message: string): T;
|
|
104
|
-
LogException<T extends Exception>(innerException: Exception, format: string, ...args:
|
|
105
|
+
LogException<T extends Exception>(innerException: Exception, format: string, ...args: JsValue[]): T;
|
|
105
106
|
LogException<T extends Exception>(innerException: Exception, message: string): T;
|
|
106
|
-
LogException<T extends Exception>(format: string, ...args:
|
|
107
|
+
LogException<T extends Exception>(format: string, ...args: JsValue[]): T;
|
|
107
108
|
LogException<T extends Exception>(message: string): T;
|
|
108
109
|
LogExceptionMessage(eventLevel: EventLevel, exception: Exception): Exception;
|
|
109
110
|
LogExceptionMessage(exception: Exception): Exception;
|
|
110
|
-
LogInformation(message: string, ...args:
|
|
111
|
-
LogVerbose(message: string, ...args:
|
|
112
|
-
LogWarning(message: string, ...args:
|
|
113
|
-
MarkAsNonPII(arg:
|
|
114
|
-
MarkAsSecurityArtifact(arg:
|
|
115
|
-
MarkAsSecurityArtifact(arg:
|
|
116
|
-
MarkAsUnsafeSecurityArtifact(arg:
|
|
111
|
+
LogInformation(message: string, ...args: JsValue[]): void;
|
|
112
|
+
LogVerbose(message: string, ...args: JsValue[]): void;
|
|
113
|
+
LogWarning(message: string, ...args: JsValue[]): void;
|
|
114
|
+
MarkAsNonPII(arg: JsValue): JsValue;
|
|
115
|
+
MarkAsSecurityArtifact(arg: JsValue, callback: Func_2<JsValue, System_Internal.String>, callbackUnsafe: Func_2<JsValue, System_Internal.String>): JsValue;
|
|
116
|
+
MarkAsSecurityArtifact(arg: JsValue, callback: Func_2<JsValue, System_Internal.String>): JsValue;
|
|
117
|
+
MarkAsUnsafeSecurityArtifact(arg: JsValue, callbackUnsafe: Func_2<JsValue, System_Internal.String>): JsValue;
|
|
117
118
|
};
|
|
118
119
|
|
|
119
120
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.Protocols
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.Protocols
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { LastKnownGoodConfigurationCacheOptions } from "../../Microsoft.IdentityModel.Protocols.Configuration/internal/index.js";
|
|
@@ -183,7 +184,7 @@ export interface HttpRequestData$instance {
|
|
|
183
184
|
readonly ClientCertificates: X509Certificate2Collection;
|
|
184
185
|
Headers: IDictionary_2<System_Internal.String, IEnumerable_1<System_Internal.String>>;
|
|
185
186
|
Method: string;
|
|
186
|
-
PropertyBag: IDictionary_2<System_Internal.String,
|
|
187
|
+
PropertyBag: IDictionary_2<System_Internal.String, JsValue>;
|
|
187
188
|
Uri: Uri;
|
|
188
189
|
AppendHeaders(headers: HttpHeaders): void;
|
|
189
190
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.Protocols.Configuration
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.Protocols
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as Microsoft_IdentityModel_Tokens_Configuration_Internal from "../../Microsoft.IdentityModel.Tokens.Configuration/internal/index.js";
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.Protocols.OpenIdConnect
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.Protocols.OpenIdConnect
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as Microsoft_IdentityModel_Protocols_Internal from "../../Microsoft.IdentityModel.Protocols/internal/index.js";
|
|
@@ -37,7 +38,7 @@ export interface OpenIdConnectConfiguration$instance extends BaseConfiguration {
|
|
|
37
38
|
|
|
38
39
|
readonly AcrValuesSupported: ICollection_1<System_Internal.String>;
|
|
39
40
|
ActiveTokenEndpoint: string;
|
|
40
|
-
readonly AdditionalData: IDictionary_2<System_Internal.String,
|
|
41
|
+
readonly AdditionalData: IDictionary_2<System_Internal.String, JsValue>;
|
|
41
42
|
AuthorizationEndpoint: string;
|
|
42
43
|
AuthorizationResponseIssParameterSupported: boolean;
|
|
43
44
|
BackchannelAuthenticationEndpoint: string;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.Protocols.OpenIdConnect
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as Microsoft_IdentityModel_Protocols_OpenIdConnect_Internal from "../../Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.js";
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.Tokens
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.Tokens
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as Microsoft_IdentityModel_Logging_Internal from "../../Microsoft.IdentityModel.Logging/internal/index.js";
|
|
@@ -104,9 +102,9 @@ export type ICompressionProvider = ICompressionProvider$instance;
|
|
|
104
102
|
export interface ICryptoProvider$instance {
|
|
105
103
|
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ICryptoProvider: never;
|
|
106
104
|
|
|
107
|
-
Create(algorithm: string, ...args:
|
|
108
|
-
IsSupportedAlgorithm(algorithm: string, ...args:
|
|
109
|
-
Release(cryptoInstance:
|
|
105
|
+
Create(algorithm: string, ...args: JsValue[]): JsValue;
|
|
106
|
+
IsSupportedAlgorithm(algorithm: string, ...args: JsValue[]): boolean;
|
|
107
|
+
Release(cryptoInstance: JsValue): void;
|
|
110
108
|
}
|
|
111
109
|
|
|
112
110
|
|
|
@@ -512,7 +510,7 @@ export type InMemoryCryptoProviderCache = InMemoryCryptoProviderCache$instance;
|
|
|
512
510
|
export interface JsonWebKey$instance extends SecurityKey {
|
|
513
511
|
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_JsonWebKey: never;
|
|
514
512
|
|
|
515
|
-
readonly AdditionalData: IDictionary_2<System_Internal.String,
|
|
513
|
+
readonly AdditionalData: IDictionary_2<System_Internal.String, JsValue>;
|
|
516
514
|
Alg: string;
|
|
517
515
|
Crv: string;
|
|
518
516
|
D: string;
|
|
@@ -575,7 +573,7 @@ export type JsonWebKeyConverter = JsonWebKeyConverter$instance;
|
|
|
575
573
|
export interface JsonWebKeySet$instance {
|
|
576
574
|
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_JsonWebKeySet: never;
|
|
577
575
|
|
|
578
|
-
readonly AdditionalData: IDictionary_2<System_Internal.String,
|
|
576
|
+
readonly AdditionalData: IDictionary_2<System_Internal.String, JsValue>;
|
|
579
577
|
Keys: IList_1<JsonWebKey>;
|
|
580
578
|
SkipUnresolvedJsonWebKeys: boolean;
|
|
581
579
|
GetSigningKeys(): IList_1<SecurityKey>;
|
|
@@ -786,10 +784,10 @@ export type SecurityTokenDecryptionFailedException = SecurityTokenDecryptionFail
|
|
|
786
784
|
export interface SecurityTokenDescriptor$instance {
|
|
787
785
|
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenDescriptor: never;
|
|
788
786
|
|
|
789
|
-
AdditionalHeaderClaims: IDictionary_2<System_Internal.String,
|
|
790
|
-
AdditionalInnerHeaderClaims: IDictionary_2<System_Internal.String,
|
|
787
|
+
AdditionalHeaderClaims: IDictionary_2<System_Internal.String, JsValue>;
|
|
788
|
+
AdditionalInnerHeaderClaims: IDictionary_2<System_Internal.String, JsValue>;
|
|
791
789
|
Audience: string;
|
|
792
|
-
Claims: IDictionary_2<System_Internal.String,
|
|
790
|
+
Claims: IDictionary_2<System_Internal.String, JsValue>;
|
|
793
791
|
CompressionAlgorithm: string;
|
|
794
792
|
EncryptingCredentials: EncryptingCredentials;
|
|
795
793
|
get Expires(): Nullable_1<DateTime>;
|
|
@@ -1368,7 +1366,7 @@ export interface TokenValidationParameters$instance {
|
|
|
1368
1366
|
DebugId: string;
|
|
1369
1367
|
IgnoreTrailingSlashWhenValidatingAudience: boolean;
|
|
1370
1368
|
IncludeTokenOnFailedValidation: boolean;
|
|
1371
|
-
readonly InstancePropertyBag: IDictionary_2<System_Internal.String,
|
|
1369
|
+
readonly InstancePropertyBag: IDictionary_2<System_Internal.String, JsValue>;
|
|
1372
1370
|
IsClone: boolean;
|
|
1373
1371
|
IssuerSigningKey: SecurityKey;
|
|
1374
1372
|
IssuerSigningKeyResolver: IssuerSigningKeyResolver;
|
|
@@ -1383,7 +1381,7 @@ export interface TokenValidationParameters$instance {
|
|
|
1383
1381
|
LogValidationExceptions: boolean;
|
|
1384
1382
|
NameClaimType: string;
|
|
1385
1383
|
NameClaimTypeRetriever: Func_3<SecurityToken, System_Internal.String, System_Internal.String>;
|
|
1386
|
-
PropertyBag: IDictionary_2<System_Internal.String,
|
|
1384
|
+
PropertyBag: IDictionary_2<System_Internal.String, JsValue>;
|
|
1387
1385
|
RefreshBeforeValidation: boolean;
|
|
1388
1386
|
RequireAudience: boolean;
|
|
1389
1387
|
RequireExpirationTime: boolean;
|
|
@@ -1434,12 +1432,12 @@ export type TokenValidationParameters = TokenValidationParameters$instance;
|
|
|
1434
1432
|
export interface TokenValidationResult$instance {
|
|
1435
1433
|
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_TokenValidationResult: never;
|
|
1436
1434
|
|
|
1437
|
-
readonly Claims: IDictionary_2<System_Internal.String,
|
|
1435
|
+
readonly Claims: IDictionary_2<System_Internal.String, JsValue>;
|
|
1438
1436
|
ClaimsIdentity: ClaimsIdentity;
|
|
1439
1437
|
Exception: Exception;
|
|
1440
1438
|
Issuer: string;
|
|
1441
1439
|
IsValid: boolean;
|
|
1442
|
-
readonly PropertyBag: IDictionary_2<System_Internal.String,
|
|
1440
|
+
readonly PropertyBag: IDictionary_2<System_Internal.String, JsValue>;
|
|
1443
1441
|
SecurityToken: SecurityToken;
|
|
1444
1442
|
TokenContext: CallContext;
|
|
1445
1443
|
TokenOnFailedValidation: SecurityToken;
|
|
@@ -1481,7 +1479,7 @@ export interface X509SecurityKey$instance extends AsymmetricSecurityKey {
|
|
|
1481
1479
|
readonly X5t: string;
|
|
1482
1480
|
CanComputeJwkThumbprint(): boolean;
|
|
1483
1481
|
ComputeJwkThumbprint(): byte[];
|
|
1484
|
-
Equals(obj:
|
|
1482
|
+
Equals(obj: JsValue): boolean;
|
|
1485
1483
|
GetHashCode(): int;
|
|
1486
1484
|
}
|
|
1487
1485
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.IdentityModel.Tokens.Configuration
|
|
3
3
|
// Assembly: Microsoft.IdentityModel.Tokens
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { BaseConfiguration } from "../../Microsoft.IdentityModel.Tokens/internal/index.js";
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.SqlServer.Server
|
|
3
3
|
// Assembly: Microsoft.SqlServer.Server
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { BinaryReader, BinaryWriter } from "@tsonic/dotnet/System.IO/internal/index.js";
|
package/README.md
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
# @tsonic/efcore-sqlserver
|
|
2
2
|
|
|
3
|
-
TypeScript
|
|
3
|
+
TypeScript declarations and CLR binding metadata for the EF Core SQL Server
|
|
4
|
+
provider (`Microsoft.EntityFrameworkCore.SqlServer`) on .NET 10.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
This is a generated binding package. It exposes provider APIs to TypeScript and
|
|
7
|
+
Tsonic while your workspace references the real NuGet assemblies.
|
|
6
8
|
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
- ✅ TypeScript bindings for the **SQL Server provider** (and its required dependency assemblies).
|
|
10
|
-
- ❌ Not a JavaScript runtime module (the `.js` files are module stubs for type-only use).
|
|
11
|
-
- ✅ You still need the real **.NET assemblies** via NuGet in your Tsonic workspace.
|
|
12
|
-
|
|
13
|
-
## Install (types)
|
|
9
|
+
## Install
|
|
14
10
|
|
|
15
11
|
```bash
|
|
16
12
|
npm install @tsonic/efcore-sqlserver @tsonic/efcore @tsonic/dotnet @tsonic/core
|
|
17
13
|
```
|
|
18
14
|
|
|
19
|
-
## Use with Tsonic
|
|
15
|
+
## Use with Tsonic
|
|
20
16
|
|
|
21
17
|
```bash
|
|
22
18
|
tsonic add nuget Microsoft.EntityFrameworkCore.SqlServer <version> @tsonic/efcore-sqlserver
|
|
19
|
+
tsonic restore
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
## Imports
|
|
26
23
|
|
|
24
|
+
Provider APIs are exported from the generated `Microsoft.EntityFrameworkCore`
|
|
25
|
+
namespace facade:
|
|
26
|
+
|
|
27
27
|
```ts
|
|
28
28
|
import { SqlServerDbContextOptionsExtensions } from "@tsonic/efcore-sqlserver/Microsoft.EntityFrameworkCore.js";
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Use EF Core base types from `@tsonic/efcore`:
|
|
32
32
|
|
|
33
33
|
```ts
|
|
34
34
|
import { DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
##
|
|
37
|
+
## UseSqlServer example
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
40
|
import { DbContextOptionsBuilder } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
|
|
@@ -45,12 +45,31 @@ SqlServerDbContextOptionsExtensions.UseSqlServer(builder, "Server=.;Database=app
|
|
|
45
45
|
const options = builder.Options;
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
## Package shape
|
|
49
|
+
|
|
50
|
+
The package contains generated namespace facades, ESM stubs, internal
|
|
51
|
+
declarations, extension buckets, and `bindings.json` compiler metadata. It uses
|
|
52
|
+
`@tsonic/efcore`, `@tsonic/microsoft-extensions`, `@tsonic/dotnet`, and
|
|
53
|
+
`@tsonic/core` as peer packages for shared CLR types.
|
|
54
|
+
|
|
48
55
|
## Versioning
|
|
49
56
|
|
|
50
|
-
This repo is versioned by
|
|
57
|
+
This repo is versioned by .NET major:
|
|
51
58
|
|
|
52
59
|
- .NET 10 → npm: `@tsonic/efcore-sqlserver@10.x`
|
|
53
60
|
|
|
61
|
+
## Development
|
|
62
|
+
|
|
63
|
+
Regenerate from sibling checkouts:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npm install
|
|
67
|
+
./__build/scripts/generate.sh
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The generation script requires .NET 10, `../tsbindgen`, `../dotnet`,
|
|
71
|
+
`../microsoft-extensions`, and `../efcore`.
|
|
72
|
+
|
|
54
73
|
## License
|
|
55
74
|
|
|
56
75
|
MIT
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System
|
|
3
3
|
// Assembly: System.ComponentModel, System.ComponentModel.TypeConverter, System.Configuration.ConfigurationManager, System.Console, System.Memory, System.Memory.Data, System.Private.CoreLib, System.Private.Uri
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
@@ -27,40 +28,40 @@ export interface BinaryData$instance {
|
|
|
27
28
|
|
|
28
29
|
readonly IsEmpty: boolean;
|
|
29
30
|
readonly Length: int;
|
|
30
|
-
readonly MediaType: string |
|
|
31
|
-
Equals(obj:
|
|
31
|
+
readonly MediaType: string | null;
|
|
32
|
+
Equals(obj: JsValue | null): boolean;
|
|
32
33
|
GetHashCode(): int;
|
|
33
34
|
ToArray(): byte[];
|
|
34
35
|
ToMemory(): ReadOnlyMemory_1<Byte>;
|
|
35
|
-
ToObjectFromJson<T>(options?: JsonSerializerOptions): T |
|
|
36
|
-
ToObjectFromJson<T>(jsonTypeInfo: JsonTypeInfo_1<T>): T |
|
|
36
|
+
ToObjectFromJson<T>(options?: JsonSerializerOptions | null): T | null;
|
|
37
|
+
ToObjectFromJson<T>(jsonTypeInfo: JsonTypeInfo_1<T>): T | null;
|
|
37
38
|
ToStream(): Stream;
|
|
38
39
|
ToString(): string;
|
|
39
|
-
WithMediaType(mediaType: string): BinaryData;
|
|
40
|
+
WithMediaType(mediaType: string | null): BinaryData;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
export const BinaryData: {
|
|
44
45
|
new(data: byte[]): BinaryData;
|
|
45
|
-
new(data: byte[], mediaType: string): BinaryData;
|
|
46
|
-
new(jsonSerializable:
|
|
47
|
-
new(jsonSerializable:
|
|
46
|
+
new(data: byte[], mediaType: string | null): BinaryData;
|
|
47
|
+
new(jsonSerializable: JsValue | null, options: JsonSerializerOptions | null, type: Type | null): BinaryData;
|
|
48
|
+
new(jsonSerializable: JsValue | null, context: JsonSerializerContext, type: Type | null): BinaryData;
|
|
48
49
|
new(data: ReadOnlyMemory_1<Byte>): BinaryData;
|
|
49
|
-
new(data: ReadOnlyMemory_1<Byte>, mediaType: string): BinaryData;
|
|
50
|
+
new(data: ReadOnlyMemory_1<Byte>, mediaType: string | null): BinaryData;
|
|
50
51
|
new(data: string): BinaryData;
|
|
51
|
-
new(data: string, mediaType: string): BinaryData;
|
|
52
|
+
new(data: string, mediaType: string | null): BinaryData;
|
|
52
53
|
readonly Empty: BinaryData;
|
|
53
|
-
FromBytes(data: byte[], mediaType: string): BinaryData;
|
|
54
|
+
FromBytes(data: byte[], mediaType: string | null): BinaryData;
|
|
54
55
|
FromBytes(data: byte[]): BinaryData;
|
|
55
|
-
FromBytes(data: ReadOnlyMemory_1<Byte>, mediaType: string): BinaryData;
|
|
56
|
+
FromBytes(data: ReadOnlyMemory_1<Byte>, mediaType: string | null): BinaryData;
|
|
56
57
|
FromBytes(data: ReadOnlyMemory_1<Byte>): BinaryData;
|
|
57
58
|
FromObjectAsJson<T>(jsonSerializable: T, jsonTypeInfo: JsonTypeInfo_1<T>): BinaryData;
|
|
58
|
-
FromObjectAsJson<T>(jsonSerializable: T, options?: JsonSerializerOptions): BinaryData;
|
|
59
|
-
FromStream(stream: Stream, mediaType: string): BinaryData;
|
|
59
|
+
FromObjectAsJson<T>(jsonSerializable: T, options?: JsonSerializerOptions | null): BinaryData;
|
|
60
|
+
FromStream(stream: Stream, mediaType: string | null): BinaryData;
|
|
60
61
|
FromStream(stream: Stream): BinaryData;
|
|
61
|
-
FromStreamAsync(stream: Stream, mediaType: string, cancellationToken?: CancellationToken): Task_1<BinaryData>;
|
|
62
|
+
FromStreamAsync(stream: Stream, mediaType: string | null, cancellationToken?: CancellationToken): Task_1<BinaryData>;
|
|
62
63
|
FromStreamAsync(stream: Stream, cancellationToken?: CancellationToken): Task_1<BinaryData>;
|
|
63
|
-
FromString(data: string, mediaType: string): BinaryData;
|
|
64
|
+
FromString(data: string, mediaType: string | null): BinaryData;
|
|
64
65
|
FromString(data: string): BinaryData;
|
|
65
66
|
};
|
|
66
67
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.ClientModel
|
|
3
3
|
// Assembly: System.ClientModel
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as System_ClientModel_Primitives_Internal from "../../System.ClientModel.Primitives/internal/index.js";
|
|
@@ -60,7 +58,7 @@ export type AsyncCollectionResult_1<T> = AsyncCollectionResult_1$instance<T>;
|
|
|
60
58
|
export interface AuthenticationTokenProvider$instance {
|
|
61
59
|
readonly __tsonic_type_System_ClientModel_AuthenticationTokenProvider: never;
|
|
62
60
|
|
|
63
|
-
CreateTokenOptions(properties: IReadOnlyDictionary_2<System_Internal.String,
|
|
61
|
+
CreateTokenOptions(properties: IReadOnlyDictionary_2<System_Internal.String, JsValue>): GetTokenOptions | null;
|
|
64
62
|
GetToken(options: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
65
63
|
GetTokenAsync(options: GetTokenOptions, cancellationToken: CancellationToken): ValueTask_1<AuthenticationToken>;
|
|
66
64
|
}
|
|
@@ -77,8 +75,8 @@ export interface BinaryContent$instance {
|
|
|
77
75
|
|
|
78
76
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
79
77
|
|
|
80
|
-
get MediaType(): string |
|
|
81
|
-
set MediaType(value: string |
|
|
78
|
+
get MediaType(): string | null;
|
|
79
|
+
set MediaType(value: string | null);
|
|
82
80
|
Dispose(): void;
|
|
83
81
|
TryComputeLength(length: long): boolean;
|
|
84
82
|
WriteTo(stream: Stream, cancellationToken?: CancellationToken): void;
|
|
@@ -89,10 +87,10 @@ export interface BinaryContent$instance {
|
|
|
89
87
|
export const BinaryContent: (abstract new() => BinaryContent) & {
|
|
90
88
|
Create(value: BinaryData): BinaryContent;
|
|
91
89
|
Create(stream: Stream): BinaryContent;
|
|
92
|
-
Create<T extends IPersistableModel_1<T>>(model: T, options?: ModelReaderWriterOptions): BinaryContent;
|
|
90
|
+
Create<T extends IPersistableModel_1<T>>(model: T, options?: ModelReaderWriterOptions | null): BinaryContent;
|
|
93
91
|
CreateJson(jsonString: string, validate?: boolean): BinaryContent;
|
|
94
92
|
CreateJson<T>(jsonSerializable: T, jsonTypeInfo: JsonTypeInfo_1<T>): BinaryContent;
|
|
95
|
-
CreateJson<T>(jsonSerializable: T, options?: JsonSerializerOptions): BinaryContent;
|
|
93
|
+
CreateJson<T>(jsonSerializable: T, options?: JsonSerializerOptions | null): BinaryContent;
|
|
96
94
|
};
|
|
97
95
|
|
|
98
96
|
|
|
@@ -106,7 +104,7 @@ export interface ClientResult$instance {
|
|
|
106
104
|
|
|
107
105
|
|
|
108
106
|
export const ClientResult: (abstract new(response: PipelineResponse) => ClientResult) & {
|
|
109
|
-
FromOptionalValue<T>(value: T, response: PipelineResponse): ClientResult_1<T |
|
|
107
|
+
FromOptionalValue<T>(value: T | null, response: PipelineResponse): ClientResult_1<T | null>;
|
|
110
108
|
FromResponse(response: PipelineResponse): ClientResult;
|
|
111
109
|
FromValue<T>(value: T, response: PipelineResponse): ClientResult_1<T>;
|
|
112
110
|
};
|
|
@@ -133,14 +131,14 @@ export interface ClientResultException$instance extends Exception {
|
|
|
133
131
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
134
132
|
|
|
135
133
|
Status: int;
|
|
136
|
-
GetRawResponse(): PipelineResponse |
|
|
134
|
+
GetRawResponse(): PipelineResponse | null;
|
|
137
135
|
}
|
|
138
136
|
|
|
139
137
|
|
|
140
138
|
export const ClientResultException: {
|
|
141
|
-
new(response: PipelineResponse, innerException: Exception): ClientResultException;
|
|
142
|
-
new(message: string, response: PipelineResponse, innerException: Exception): ClientResultException;
|
|
143
|
-
CreateAsync(response: PipelineResponse, innerException?: Exception): Task_1<ClientResultException>;
|
|
139
|
+
new(response: PipelineResponse, innerException: Exception | null): ClientResultException;
|
|
140
|
+
new(message: string, response: PipelineResponse | null, innerException: Exception | null): ClientResultException;
|
|
141
|
+
CreateAsync(response: PipelineResponse, innerException?: Exception | null): Task_1<ClientResultException>;
|
|
144
142
|
};
|
|
145
143
|
|
|
146
144
|
|