@tsonic/efcore-sqlserver 10.0.1 → 10.0.5
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/bindings.json +686 -17
- package/Azure/internal/index.d.ts +37 -15
- package/Azure.Core/bindings.json +1048 -19
- package/Azure.Core/internal/index.d.ts +61 -23
- package/Azure.Core.Cryptography/bindings.json +5 -0
- package/Azure.Core.Cryptography/internal/index.d.ts +4 -0
- package/Azure.Core.Diagnostics/bindings.json +56 -0
- package/Azure.Core.Diagnostics/internal/index.d.ts +6 -2
- package/Azure.Core.Diagnostics.d.ts +2 -2
- package/Azure.Core.Extensions/bindings.json +17 -0
- package/Azure.Core.Extensions/internal/index.d.ts +8 -0
- package/Azure.Core.GeoJson/bindings.json +362 -0
- package/Azure.Core.GeoJson/internal/index.d.ts +43 -7
- package/Azure.Core.Pipeline/bindings.json +450 -3
- package/Azure.Core.Pipeline/internal/index.d.ts +24 -9
- package/Azure.Core.Pipeline.d.ts +2 -2
- package/Azure.Core.Serialization/bindings.json +89 -1
- package/Azure.Core.Serialization/internal/index.d.ts +8 -2
- package/Azure.Core.d.ts +1 -1
- package/Azure.Identity/bindings.json +1039 -58
- package/Azure.Identity/internal/index.d.ts +97 -35
- package/Azure.Identity.d.ts +1 -1
- package/Azure.Messaging/bindings.json +69 -0
- package/Azure.Messaging/internal/index.d.ts +6 -5
- package/Azure.d.ts +1 -1
- package/Microsoft.Data/bindings.json +16 -0
- package/Microsoft.Data/internal/index.d.ts +2 -1
- package/Microsoft.Data.Sql/bindings.json +16 -0
- package/Microsoft.Data.SqlClient/bindings.json +2482 -38
- package/Microsoft.Data.SqlClient/internal/index.d.ts +140 -38
- package/Microsoft.Data.SqlClient.DataClassification/bindings.json +66 -0
- package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +639 -0
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +90 -15
- package/Microsoft.Data.SqlClient.Server/bindings.json +163 -0
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +2 -0
- package/Microsoft.Data.SqlTypes/bindings.json +73 -0
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +8 -1
- package/Microsoft.EntityFrameworkCore/bindings.json +700 -2
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +6 -1
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +35 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +107 -1
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +11 -1
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +27 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +78 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +853 -10
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +87 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +10 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +917 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +53 -5
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +41 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +9 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +122 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/bindings.json +28 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/bindings.json +27 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/bindings.json +421 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +34 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/bindings.json +87 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/bindings.json +56 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/bindings.json +95 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +11 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +2415 -31
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +183 -9
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +39 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +6 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +5 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/bindings.json +32 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/bindings.json +1816 -67
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +102 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/bindings.json +397 -4
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +33 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/bindings.json +138 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +21 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +3 -1
- package/Microsoft.EntityFrameworkCore.d.ts +4 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +10 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Microsoft.Identity.Client/bindings.json +1941 -39
- package/Microsoft.Identity.Client/internal/index.d.ts +113 -47
- package/Microsoft.Identity.Client.Advanced/bindings.json +5 -0
- package/Microsoft.Identity.Client.AppConfig/bindings.json +21 -0
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +0 -1
- package/Microsoft.Identity.Client.AuthScheme/bindings.json +6 -0
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +3 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.Cache/bindings.json +34 -0
- package/Microsoft.Identity.Client.Extensibility/bindings.json +80 -10
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +7 -5
- package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +117 -0
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +5 -4
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +1 -1
- package/Microsoft.Identity.Client.Kerberos/bindings.json +77 -0
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.ManagedIdentity/bindings.json +31 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/bindings.json +18 -1
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.RP/bindings.json +10 -0
- package/Microsoft.Identity.Client.Region/bindings.json +29 -0
- package/Microsoft.Identity.Client.SSHCertificates/bindings.json +6 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/bindings.json +6 -0
- package/Microsoft.Identity.Client.Utils/bindings.json +10 -0
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +0 -1
- package/Microsoft.Identity.Client.Utils.Windows/bindings.json +6 -0
- package/Microsoft.IdentityModel.Abstractions/bindings.json +135 -1
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +13 -6
- package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +252 -6
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +11 -6
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +1 -1
- package/Microsoft.IdentityModel.Logging/bindings.json +122 -2
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +9 -3
- package/Microsoft.IdentityModel.Logging.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols/bindings.json +155 -1
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +17 -1
- package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +30 -0
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +3 -1
- package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/bindings.json +645 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +19 -3
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +17 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +2 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +1 -1
- package/Microsoft.IdentityModel.Tokens/bindings.json +2486 -77
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +145 -44
- package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +10 -0
- package/Microsoft.IdentityModel.Tokens.d.ts +4 -1
- package/Microsoft.SqlServer.Server/bindings.json +144 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +4 -1
- package/System/bindings.json +63 -0
- package/System.ClientModel/bindings.json +256 -11
- package/System.ClientModel/internal/index.d.ts +21 -12
- package/System.ClientModel.Primitives/bindings.json +1673 -120
- package/System.ClientModel.Primitives/internal/index.d.ts +101 -32
- package/System.ClientModel.Primitives.d.ts +5 -2
- package/System.Configuration/bindings.json +5382 -321
- package/System.Configuration/internal/index.d.ts +292 -59
- package/System.Configuration.Internal/bindings.json +193 -1
- package/System.Configuration.Internal/internal/index.d.ts +23 -2
- package/System.Configuration.Provider/bindings.json +69 -1
- package/System.Configuration.Provider/internal/index.d.ts +8 -3
- package/System.Configuration.Provider.d.ts +1 -1
- package/System.Configuration.d.ts +3 -3
- package/System.Diagnostics/bindings.json +5 -0
- package/System.Drawing.Configuration/bindings.json +25 -0
- package/System.Drawing.Configuration/internal/index.d.ts +6 -2
- package/System.Drawing.Configuration.d.ts +5 -2
- package/System.IdentityModel.Tokens.Jwt/bindings.json +646 -36
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +56 -20
- package/System.Security.Cryptography/bindings.json +31 -0
- package/System.Text.Json.Serialization/bindings.json +10 -0
- package/__internal/extensions/index.d.ts +915 -14
- package/package.json +1 -1
|
@@ -21,12 +21,12 @@ import type { Activity, ActivityContext, ActivityKind, ActivitySource } from "@t
|
|
|
21
21
|
import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
22
22
|
import * as System_Lib from "@tsonic/dotnet/System.js";
|
|
23
23
|
import type { Attribute, Boolean as ClrBoolean, DateTimeOffset, Enum, Exception, Func, IComparable, IConvertible, IDisposable, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, ReadOnlySpan, String as ClrString, TimeSpan, Type, UInt16, Uri, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
24
|
-
import type { HttpClient } from "@tsonic/dotnet/System.Net.Http.js";
|
|
24
|
+
import type { HttpClient, HttpRequestMessage, HttpResponseMessage } from "@tsonic/dotnet/System.Net.Http.js";
|
|
25
25
|
import type { JsonSerializerOptions, Utf8JsonReader, Utf8JsonWriter } from "@tsonic/dotnet/System.Text.Json.js";
|
|
26
26
|
import * as System_Text_Json_Serialization_Internal from "@tsonic/dotnet/System.Text.Json.Serialization.js";
|
|
27
27
|
import type { JsonConverter } from "@tsonic/dotnet/System.Text.Json.Serialization.js";
|
|
28
28
|
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
29
|
-
import type { ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
29
|
+
import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
30
30
|
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
31
31
|
|
|
32
32
|
export enum ClientErrorBehaviors {
|
|
@@ -50,6 +50,8 @@ export enum PipelinePosition {
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export interface IJsonModel_1$instance<T> extends IPersistableModel_1<T> {
|
|
53
|
+
readonly __tsonic_iface_System_ClientModel_Primitives_IJsonModel_1: never;
|
|
54
|
+
|
|
53
55
|
Create(reader: Utf8JsonReader, options: ModelReaderWriterOptions): T | undefined;
|
|
54
56
|
Create(data: BinaryData, options: ModelReaderWriterOptions): T | undefined;
|
|
55
57
|
Create(data: BinaryData, options: ModelReaderWriterOptions): T;
|
|
@@ -62,6 +64,8 @@ export interface IJsonModel_1$instance<T> extends IPersistableModel_1<T> {
|
|
|
62
64
|
export type IJsonModel_1<T> = IJsonModel_1$instance<T>;
|
|
63
65
|
|
|
64
66
|
export interface IPersistableModel_1$instance<T> {
|
|
67
|
+
readonly __tsonic_iface_System_ClientModel_Primitives_IPersistableModel_1: never;
|
|
68
|
+
|
|
65
69
|
Create(data: BinaryData, options: ModelReaderWriterOptions): T | undefined;
|
|
66
70
|
GetFormatFromOptions(options: ModelReaderWriterOptions): string;
|
|
67
71
|
Write(options: ModelReaderWriterOptions): BinaryData;
|
|
@@ -95,7 +99,6 @@ export interface ApiKeyAuthenticationPolicy$instance extends AuthenticationPolic
|
|
|
95
99
|
|
|
96
100
|
|
|
97
101
|
export const ApiKeyAuthenticationPolicy: {
|
|
98
|
-
new(): ApiKeyAuthenticationPolicy;
|
|
99
102
|
CreateBasicAuthorizationPolicy(credential: ApiKeyCredential): ApiKeyAuthenticationPolicy;
|
|
100
103
|
CreateBearerAuthorizationPolicy(credential: ApiKeyCredential): ApiKeyAuthenticationPolicy;
|
|
101
104
|
CreateHeaderApiKeyPolicy(credential: ApiKeyCredential, headerName: string, keyPrefix?: string): ApiKeyAuthenticationPolicy;
|
|
@@ -110,7 +113,7 @@ export interface AsyncCollectionResult$instance {
|
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
|
|
113
|
-
export const AsyncCollectionResult: {
|
|
116
|
+
export const AsyncCollectionResult: (abstract new() => AsyncCollectionResult) & {
|
|
114
117
|
};
|
|
115
118
|
|
|
116
119
|
|
|
@@ -120,7 +123,7 @@ export interface AuthenticationPolicy$instance extends PipelinePolicy {
|
|
|
120
123
|
}
|
|
121
124
|
|
|
122
125
|
|
|
123
|
-
export const AuthenticationPolicy: {
|
|
126
|
+
export const AuthenticationPolicy: (abstract new() => AuthenticationPolicy) & {
|
|
124
127
|
};
|
|
125
128
|
|
|
126
129
|
|
|
@@ -168,7 +171,17 @@ export const ClientCache: {
|
|
|
168
171
|
export type ClientCache = ClientCache$instance;
|
|
169
172
|
|
|
170
173
|
export interface ClientConnectionCollection$instance extends KeyedCollection<System_Internal.String, ClientConnection> {
|
|
174
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
175
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
176
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
177
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyCollection_1: never;
|
|
178
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyList_1: never;
|
|
179
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
180
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
181
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
182
|
+
|
|
171
183
|
AddRange(connections: IEnumerable__System_Collections_Generic<ClientConnection>): void;
|
|
184
|
+
GetKeyForItem(item: ClientConnection): string;
|
|
172
185
|
}
|
|
173
186
|
|
|
174
187
|
|
|
@@ -186,7 +199,7 @@ export interface ClientConnectionProvider$instance {
|
|
|
186
199
|
}
|
|
187
200
|
|
|
188
201
|
|
|
189
|
-
export const ClientConnectionProvider: {
|
|
202
|
+
export const ClientConnectionProvider: (abstract new(maxCacheSize: int) => ClientConnectionProvider) & {
|
|
190
203
|
};
|
|
191
204
|
|
|
192
205
|
|
|
@@ -199,7 +212,7 @@ export interface ClientLoggingOptions$instance {
|
|
|
199
212
|
EnableMessageContentLogging: Nullable<System_Internal.Boolean>;
|
|
200
213
|
EnableMessageLogging: Nullable<System_Internal.Boolean>;
|
|
201
214
|
get LoggerFactory(): ILoggerFactory | undefined;
|
|
202
|
-
set LoggerFactory(value: ILoggerFactory);
|
|
215
|
+
set LoggerFactory(value: ILoggerFactory | undefined);
|
|
203
216
|
MessageContentSizeLimit: Nullable<System_Internal.Int32>;
|
|
204
217
|
Freeze(): void;
|
|
205
218
|
}
|
|
@@ -220,7 +233,6 @@ export interface ClientPipeline$instance {
|
|
|
220
233
|
|
|
221
234
|
|
|
222
235
|
export const ClientPipeline: {
|
|
223
|
-
new(): ClientPipeline;
|
|
224
236
|
Create(options: ClientPipelineOptions, perCallPolicies: ReadOnlySpan<PipelinePolicy>, perTryPolicies: ReadOnlySpan<PipelinePolicy>, beforeTransportPolicies: ReadOnlySpan<PipelinePolicy>): ClientPipeline;
|
|
225
237
|
Create(options?: ClientPipelineOptions): ClientPipeline;
|
|
226
238
|
};
|
|
@@ -230,14 +242,15 @@ export type ClientPipeline = ClientPipeline$instance;
|
|
|
230
242
|
|
|
231
243
|
export interface ClientPipelineOptions$instance {
|
|
232
244
|
get ClientLoggingOptions(): ClientLoggingOptions | undefined;
|
|
233
|
-
set ClientLoggingOptions(value: ClientLoggingOptions);
|
|
245
|
+
set ClientLoggingOptions(value: ClientLoggingOptions | undefined);
|
|
234
246
|
EnableDistributedTracing: Nullable<System_Internal.Boolean>;
|
|
235
247
|
get MessageLoggingPolicy(): PipelinePolicy | undefined;
|
|
236
|
-
set MessageLoggingPolicy(value: PipelinePolicy);
|
|
248
|
+
set MessageLoggingPolicy(value: PipelinePolicy | undefined);
|
|
237
249
|
NetworkTimeout: Nullable<TimeSpan>;
|
|
238
250
|
get RetryPolicy(): PipelinePolicy | undefined;
|
|
239
|
-
set RetryPolicy(value: PipelinePolicy);
|
|
240
|
-
Transport: PipelineTransport;
|
|
251
|
+
set RetryPolicy(value: PipelinePolicy | undefined);
|
|
252
|
+
get Transport(): PipelineTransport | undefined;
|
|
253
|
+
set Transport(value: PipelineTransport | undefined);
|
|
241
254
|
AddPolicy(policy: PipelinePolicy, position: PipelinePosition): void;
|
|
242
255
|
Freeze(): void;
|
|
243
256
|
}
|
|
@@ -251,8 +264,18 @@ export const ClientPipelineOptions: {
|
|
|
251
264
|
export type ClientPipelineOptions = ClientPipelineOptions$instance;
|
|
252
265
|
|
|
253
266
|
export interface ClientRetryPolicy$instance extends PipelinePolicy {
|
|
267
|
+
GetNextDelay(message: PipelineMessage, tryCount: int): TimeSpan;
|
|
268
|
+
OnRequestSent(message: PipelineMessage): void;
|
|
269
|
+
OnRequestSentAsync(message: PipelineMessage): ValueTask;
|
|
270
|
+
OnSendingRequest(message: PipelineMessage): void;
|
|
271
|
+
OnSendingRequestAsync(message: PipelineMessage): ValueTask;
|
|
272
|
+
OnTryComplete(message: PipelineMessage): void;
|
|
254
273
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
255
274
|
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
275
|
+
ShouldRetry(message: PipelineMessage, exception: Exception): boolean;
|
|
276
|
+
ShouldRetryAsync(message: PipelineMessage, exception: Exception): ValueTask<System_Internal.Boolean>;
|
|
277
|
+
Wait(time: TimeSpan, cancellationToken: CancellationToken): void;
|
|
278
|
+
WaitAsync(time: TimeSpan, cancellationToken: CancellationToken): Task;
|
|
256
279
|
}
|
|
257
280
|
|
|
258
281
|
|
|
@@ -271,7 +294,7 @@ export interface CollectionResult$instance {
|
|
|
271
294
|
}
|
|
272
295
|
|
|
273
296
|
|
|
274
|
-
export const CollectionResult: {
|
|
297
|
+
export const CollectionResult: (abstract new() => CollectionResult) & {
|
|
275
298
|
};
|
|
276
299
|
|
|
277
300
|
|
|
@@ -294,7 +317,15 @@ export const GetTokenOptions: {
|
|
|
294
317
|
export type GetTokenOptions = GetTokenOptions$instance;
|
|
295
318
|
|
|
296
319
|
export interface HttpClientPipelineTransport$instance extends PipelineTransport {
|
|
320
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
321
|
+
|
|
322
|
+
CreateMessageCore(): PipelineMessage;
|
|
297
323
|
Dispose(): void;
|
|
324
|
+
Dispose(disposing: boolean): void;
|
|
325
|
+
OnReceivedResponse(message: PipelineMessage, httpResponse: HttpResponseMessage): void;
|
|
326
|
+
OnSendingRequest(message: PipelineMessage, httpRequest: HttpRequestMessage): void;
|
|
327
|
+
ProcessCore(message: PipelineMessage): void;
|
|
328
|
+
ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
298
329
|
}
|
|
299
330
|
|
|
300
331
|
|
|
@@ -352,10 +383,11 @@ export type ModelReaderWriterBuildableAttribute = ModelReaderWriterBuildableAttr
|
|
|
352
383
|
export interface ModelReaderWriterContext$instance {
|
|
353
384
|
GetTypeBuilder(type: Type): ModelReaderWriterTypeBuilder;
|
|
354
385
|
TryGetTypeBuilder(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
386
|
+
TryGetTypeBuilderCore(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
355
387
|
}
|
|
356
388
|
|
|
357
389
|
|
|
358
|
-
export const ModelReaderWriterContext: {
|
|
390
|
+
export const ModelReaderWriterContext: (abstract new() => ModelReaderWriterContext) & {
|
|
359
391
|
};
|
|
360
392
|
|
|
361
393
|
|
|
@@ -387,18 +419,26 @@ export const ModelReaderWriterOptions: {
|
|
|
387
419
|
export type ModelReaderWriterOptions = ModelReaderWriterOptions$instance;
|
|
388
420
|
|
|
389
421
|
export interface ModelReaderWriterTypeBuilder$instance {
|
|
422
|
+
readonly BuilderType: Type;
|
|
423
|
+
readonly ItemType: Type | undefined;
|
|
424
|
+
AddItem(collectionBuilder: unknown, item: unknown): void;
|
|
425
|
+
AddItemWithKey(collectionBuilder: unknown, key: string, item: unknown): void;
|
|
426
|
+
ConvertCollectionBuilder(collectionBuilder: unknown): unknown;
|
|
427
|
+
CreateInstance(): unknown;
|
|
428
|
+
GetItems(collection: unknown): IEnumerable | undefined;
|
|
390
429
|
}
|
|
391
430
|
|
|
392
431
|
|
|
393
|
-
export const ModelReaderWriterTypeBuilder: {
|
|
432
|
+
export const ModelReaderWriterTypeBuilder: (abstract new() => ModelReaderWriterTypeBuilder) & {
|
|
394
433
|
};
|
|
395
434
|
|
|
396
435
|
|
|
397
436
|
export type ModelReaderWriterTypeBuilder = ModelReaderWriterTypeBuilder$instance;
|
|
398
437
|
|
|
399
438
|
export interface OperationResult$instance {
|
|
400
|
-
|
|
401
|
-
|
|
439
|
+
HasCompleted: boolean;
|
|
440
|
+
get RehydrationToken(): ContinuationToken | undefined;
|
|
441
|
+
set RehydrationToken(value: ContinuationToken | undefined);
|
|
402
442
|
GetRawResponse(): PipelineResponse;
|
|
403
443
|
UpdateStatus(options?: RequestOptions): ClientResult;
|
|
404
444
|
UpdateStatusAsync(options?: RequestOptions): ValueTask<ClientResult>;
|
|
@@ -407,7 +447,7 @@ export interface OperationResult$instance {
|
|
|
407
447
|
}
|
|
408
448
|
|
|
409
449
|
|
|
410
|
-
export const OperationResult: {
|
|
450
|
+
export const OperationResult: (abstract new(response: PipelineResponse) => OperationResult) & {
|
|
411
451
|
};
|
|
412
452
|
|
|
413
453
|
|
|
@@ -426,22 +466,25 @@ export const PersistableModelProxyAttribute: {
|
|
|
426
466
|
export type PersistableModelProxyAttribute = PersistableModelProxyAttribute$instance;
|
|
427
467
|
|
|
428
468
|
export interface PipelineMessage$instance {
|
|
469
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
470
|
+
|
|
429
471
|
BufferResponse: boolean;
|
|
430
|
-
|
|
472
|
+
CancellationToken: CancellationToken;
|
|
431
473
|
NetworkTimeout: Nullable<TimeSpan>;
|
|
432
474
|
readonly Request: PipelineRequest;
|
|
433
|
-
|
|
475
|
+
get Response(): PipelineResponse | undefined;
|
|
476
|
+
set Response(value: PipelineResponse | undefined);
|
|
434
477
|
ResponseClassifier: PipelineMessageClassifier;
|
|
435
478
|
Apply(options: RequestOptions): void;
|
|
436
479
|
Dispose(): void;
|
|
480
|
+
Dispose(disposing: boolean): void;
|
|
437
481
|
ExtractResponse(): PipelineResponse | undefined;
|
|
438
482
|
SetProperty(key: Type, value: unknown): void;
|
|
439
483
|
TryGetProperty(key: Type, value: unknown): boolean;
|
|
440
484
|
}
|
|
441
485
|
|
|
442
486
|
|
|
443
|
-
export const PipelineMessage: {
|
|
444
|
-
new(): PipelineMessage;
|
|
487
|
+
export const PipelineMessage: (abstract new(request: PipelineRequest) => PipelineMessage) & {
|
|
445
488
|
};
|
|
446
489
|
|
|
447
490
|
|
|
@@ -453,7 +496,7 @@ export interface PipelineMessageClassifier$instance {
|
|
|
453
496
|
}
|
|
454
497
|
|
|
455
498
|
|
|
456
|
-
export const PipelineMessageClassifier: {
|
|
499
|
+
export const PipelineMessageClassifier: (abstract new() => PipelineMessageClassifier) & {
|
|
457
500
|
readonly Default: PipelineMessageClassifier;
|
|
458
501
|
Create(successStatusCodes: ReadOnlySpan<System_Internal.UInt16>): PipelineMessageClassifier;
|
|
459
502
|
};
|
|
@@ -467,28 +510,43 @@ export interface PipelinePolicy$instance {
|
|
|
467
510
|
}
|
|
468
511
|
|
|
469
512
|
|
|
470
|
-
export const PipelinePolicy: {
|
|
513
|
+
export const PipelinePolicy: (abstract new() => PipelinePolicy) & {
|
|
514
|
+
ProcessNext(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
515
|
+
ProcessNextAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
471
516
|
};
|
|
472
517
|
|
|
473
518
|
|
|
474
519
|
export type PipelinePolicy = PipelinePolicy$instance;
|
|
475
520
|
|
|
476
521
|
export interface PipelineRequest$instance {
|
|
477
|
-
|
|
522
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
523
|
+
|
|
524
|
+
get Content(): BinaryContent | undefined;
|
|
525
|
+
set Content(value: BinaryContent | undefined);
|
|
526
|
+
get ContentCore(): BinaryContent | undefined;
|
|
527
|
+
set ContentCore(value: BinaryContent | undefined);
|
|
478
528
|
readonly Headers: PipelineRequestHeaders;
|
|
529
|
+
readonly HeadersCore: PipelineRequestHeaders;
|
|
479
530
|
Method: string;
|
|
480
|
-
|
|
531
|
+
MethodCore: string;
|
|
532
|
+
get Uri(): Uri | undefined;
|
|
533
|
+
set Uri(value: Uri | undefined);
|
|
534
|
+
get UriCore(): Uri | undefined;
|
|
535
|
+
set UriCore(value: Uri | undefined);
|
|
481
536
|
Dispose(): void;
|
|
482
537
|
}
|
|
483
538
|
|
|
484
539
|
|
|
485
|
-
export const PipelineRequest: {
|
|
540
|
+
export const PipelineRequest: (abstract new() => PipelineRequest) & {
|
|
486
541
|
};
|
|
487
542
|
|
|
488
543
|
|
|
489
544
|
export type PipelineRequest = PipelineRequest$instance;
|
|
490
545
|
|
|
491
546
|
export interface PipelineRequestHeaders$instance {
|
|
547
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
548
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
549
|
+
|
|
492
550
|
Add(name: string, value: string): void;
|
|
493
551
|
GetEnumerator(): IEnumerator<KeyValuePair<System_Internal.String, System_Internal.String>>;
|
|
494
552
|
Remove(name: string): boolean;
|
|
@@ -498,18 +556,22 @@ export interface PipelineRequestHeaders$instance {
|
|
|
498
556
|
}
|
|
499
557
|
|
|
500
558
|
|
|
501
|
-
export const PipelineRequestHeaders: {
|
|
559
|
+
export const PipelineRequestHeaders: (abstract new() => PipelineRequestHeaders) & {
|
|
502
560
|
};
|
|
503
561
|
|
|
504
562
|
|
|
505
563
|
export type PipelineRequestHeaders = PipelineRequestHeaders$instance;
|
|
506
564
|
|
|
507
565
|
export interface PipelineResponse$instance {
|
|
566
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
567
|
+
|
|
508
568
|
readonly Content: BinaryData;
|
|
509
569
|
get ContentStream(): Stream | undefined;
|
|
510
|
-
set ContentStream(value: Stream);
|
|
570
|
+
set ContentStream(value: Stream | undefined);
|
|
511
571
|
readonly Headers: PipelineResponseHeaders;
|
|
572
|
+
readonly HeadersCore: PipelineResponseHeaders;
|
|
512
573
|
readonly IsError: boolean;
|
|
574
|
+
IsErrorCore: boolean;
|
|
513
575
|
readonly ReasonPhrase: string;
|
|
514
576
|
readonly Status: int;
|
|
515
577
|
BufferContent(cancellationToken?: CancellationToken): BinaryData;
|
|
@@ -518,20 +580,23 @@ export interface PipelineResponse$instance {
|
|
|
518
580
|
}
|
|
519
581
|
|
|
520
582
|
|
|
521
|
-
export const PipelineResponse: {
|
|
583
|
+
export const PipelineResponse: (abstract new() => PipelineResponse) & {
|
|
522
584
|
};
|
|
523
585
|
|
|
524
586
|
|
|
525
587
|
export type PipelineResponse = PipelineResponse$instance;
|
|
526
588
|
|
|
527
589
|
export interface PipelineResponseHeaders$instance {
|
|
590
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
591
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
592
|
+
|
|
528
593
|
GetEnumerator(): IEnumerator<KeyValuePair<System_Internal.String, System_Internal.String>>;
|
|
529
594
|
TryGetValue(name: string, value: string): boolean;
|
|
530
595
|
TryGetValues(name: string, values: IEnumerable__System_Collections_Generic<System_Internal.String>): boolean;
|
|
531
596
|
}
|
|
532
597
|
|
|
533
598
|
|
|
534
|
-
export const PipelineResponseHeaders: {
|
|
599
|
+
export const PipelineResponseHeaders: (abstract new() => PipelineResponseHeaders) & {
|
|
535
600
|
};
|
|
536
601
|
|
|
537
602
|
|
|
@@ -539,16 +604,19 @@ export type PipelineResponseHeaders = PipelineResponseHeaders$instance;
|
|
|
539
604
|
|
|
540
605
|
export interface PipelineTransport$instance extends PipelinePolicy {
|
|
541
606
|
CreateMessage(): PipelineMessage;
|
|
607
|
+
CreateMessageCore(): PipelineMessage;
|
|
542
608
|
Process(message: PipelineMessage): void;
|
|
543
609
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
544
610
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
545
611
|
ProcessAsync(message: PipelineMessage): ValueTask;
|
|
546
612
|
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
547
613
|
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
614
|
+
ProcessCore(message: PipelineMessage): void;
|
|
615
|
+
ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
548
616
|
}
|
|
549
617
|
|
|
550
618
|
|
|
551
|
-
export const PipelineTransport: {
|
|
619
|
+
export const PipelineTransport: (abstract new() => PipelineTransport) & (abstract new(enableLogging: boolean, loggerFactory: ILoggerFactory) => PipelineTransport) & {
|
|
552
620
|
};
|
|
553
621
|
|
|
554
622
|
|
|
@@ -560,6 +628,7 @@ export interface RequestOptions$instance {
|
|
|
560
628
|
ErrorOptions: ClientErrorBehaviors;
|
|
561
629
|
AddHeader(name: string, value: string): void;
|
|
562
630
|
AddPolicy(policy: PipelinePolicy, position: PipelinePosition): void;
|
|
631
|
+
Apply(message: PipelineMessage): void;
|
|
563
632
|
Freeze(): void;
|
|
564
633
|
SetHeader(name: string, value: string): void;
|
|
565
634
|
}
|
|
@@ -14,11 +14,11 @@ import type { KeyedCollection } from '@tsonic/dotnet/System.Collections.ObjectMo
|
|
|
14
14
|
import type { Activity, ActivityContext, ActivityKind, ActivitySource } from '@tsonic/dotnet/System.Diagnostics.js';
|
|
15
15
|
import type { Stream } from '@tsonic/dotnet/System.IO.js';
|
|
16
16
|
import type { Attribute, Boolean as ClrBoolean, DateTimeOffset, Enum, Exception, Func, IComparable, IConvertible, IDisposable, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, ReadOnlySpan, String as ClrString, TimeSpan, Type, UInt16, Uri, ValueType, Void } from '@tsonic/dotnet/System.js';
|
|
17
|
-
import type { HttpClient } from '@tsonic/dotnet/System.Net.Http.js';
|
|
17
|
+
import type { HttpClient, HttpRequestMessage, HttpResponseMessage } from '@tsonic/dotnet/System.Net.Http.js';
|
|
18
18
|
import type { JsonSerializerOptions, Utf8JsonReader, Utf8JsonWriter } from '@tsonic/dotnet/System.Text.Json.js';
|
|
19
19
|
import type { JsonConverter } from '@tsonic/dotnet/System.Text.Json.Serialization.js';
|
|
20
20
|
import type { CancellationToken } from '@tsonic/dotnet/System.Threading.js';
|
|
21
|
-
import type { ValueTask } from '@tsonic/dotnet/System.Threading.Tasks.js';
|
|
21
|
+
import type { Task, ValueTask } from '@tsonic/dotnet/System.Threading.Tasks.js';
|
|
22
22
|
import type { ILoggerFactory } from '@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js';
|
|
23
23
|
|
|
24
24
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
@@ -63,3 +63,6 @@ export { MessageLoggingPolicy as MessageLoggingPolicy } from './System.ClientMod
|
|
|
63
63
|
export { PipelinePolicy as PipelinePolicy } from './System.ClientModel.Primitives/internal/index.js';
|
|
64
64
|
export { PipelinePosition as PipelinePosition } from './System.ClientModel.Primitives/internal/index.js';
|
|
65
65
|
export { PipelineTransport as PipelineTransport } from './System.ClientModel.Primitives/internal/index.js';
|
|
66
|
+
// Extension methods (C# using semantics)
|
|
67
|
+
export type { ExtensionMethods_System_ClientModel_Primitives as ExtensionMethods } from './__internal/extensions/index.js';
|
|
68
|
+
|