@tsonic/efcore-sqlserver 10.0.1 → 10.0.2
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 -7
- package/Azure.Core/bindings.json +1048 -19
- package/Azure.Core/internal/index.d.ts +40 -9
- package/Azure.Core.Cryptography/bindings.json +5 -0
- package/Azure.Core.Diagnostics/bindings.json +56 -0
- package/Azure.Core.Diagnostics/internal/index.d.ts +9 -3
- package/Azure.Core.Diagnostics.d.ts +2 -2
- package/Azure.Core.Extensions/bindings.json +17 -0
- package/Azure.Core.GeoJson/bindings.json +362 -0
- package/Azure.Core.Pipeline/bindings.json +450 -3
- package/Azure.Core.Pipeline/internal/index.d.ts +27 -4
- package/Azure.Core.Pipeline.d.ts +2 -2
- package/Azure.Core.Serialization/bindings.json +89 -1
- package/Azure.Core.Serialization/internal/index.d.ts +1 -0
- package/Azure.Core.d.ts +1 -1
- package/Azure.Identity/bindings.json +1039 -58
- package/Azure.Identity/internal/index.d.ts +51 -30
- package/Azure.Identity.d.ts +1 -1
- package/Azure.Messaging/bindings.json +69 -0
- package/Azure.Messaging/internal/index.d.ts +6 -1
- package/Azure.d.ts +1 -1
- package/Microsoft.Data/bindings.json +16 -0
- package/Microsoft.Data.Sql/bindings.json +16 -0
- package/Microsoft.Data.SqlClient/bindings.json +2482 -38
- package/Microsoft.Data.SqlClient/internal/index.d.ts +114 -22
- package/Microsoft.Data.SqlClient.DataClassification/bindings.json +66 -0
- package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +639 -0
- package/Microsoft.Data.SqlClient.Server/bindings.json +163 -0
- package/Microsoft.Data.SqlTypes/bindings.json +73 -0
- package/Microsoft.EntityFrameworkCore/bindings.json +700 -2
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +9 -2
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +35 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +107 -1
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +1 -0
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +27 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +78 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +853 -10
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +85 -13
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +10 -0
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +917 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +56 -6
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +41 -0
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +6 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +122 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +10 -2
- 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.Infrastructure.Internal/bindings.json +421 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +34 -10
- 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.Migrations.Internal/bindings.json +95 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +8 -2
- 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 +209 -30
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +39 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +8 -3
- 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.Storage.Internal/bindings.json +1816 -67
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +197 -27
- 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 +38 -7
- 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 +16 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +3 -1
- package/Microsoft.EntityFrameworkCore.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +10 -0
- package/Microsoft.Identity.Client/bindings.json +1941 -39
- package/Microsoft.Identity.Client/internal/index.d.ts +94 -28
- package/Microsoft.Identity.Client.Advanced/bindings.json +5 -0
- package/Microsoft.Identity.Client.AppConfig/bindings.json +21 -0
- package/Microsoft.Identity.Client.AuthScheme/bindings.json +6 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +3 -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 +6 -5
- package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +117 -0
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +2 -1
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +1 -1
- package/Microsoft.Identity.Client.Kerberos/bindings.json +77 -0
- 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 -0
- 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.Windows/bindings.json +6 -0
- package/Microsoft.IdentityModel.Abstractions/bindings.json +135 -1
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +1 -0
- package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +252 -6
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +12 -5
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +1 -1
- package/Microsoft.IdentityModel.Logging/bindings.json +122 -2
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +8 -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 +1 -0
- package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +30 -0
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +2 -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 +17 -2
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +17 -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 +135 -35
- package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +10 -0
- package/Microsoft.IdentityModel.Tokens.d.ts +1 -1
- package/Microsoft.SqlServer.Server/bindings.json +144 -0
- package/System/bindings.json +63 -0
- package/System.ClientModel/bindings.json +256 -11
- package/System.ClientModel/internal/index.d.ts +22 -6
- package/System.ClientModel.Primitives/bindings.json +1673 -120
- package/System.ClientModel.Primitives/internal/index.d.ts +111 -17
- package/System.ClientModel.Primitives.d.ts +2 -2
- package/System.Configuration/bindings.json +5382 -321
- package/System.Configuration/internal/index.d.ts +323 -51
- package/System.Configuration.Internal/bindings.json +193 -1
- package/System.Configuration.Provider/bindings.json +69 -1
- package/System.Configuration.Provider/internal/index.d.ts +3 -1
- 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 +11 -3
- 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 +33 -19
- package/System.Security.Cryptography/bindings.json +31 -0
- package/System.Text.Json.Serialization/bindings.json +10 -0
- 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 {
|
|
@@ -111,6 +111,7 @@ export interface AsyncCollectionResult$instance {
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
export const AsyncCollectionResult: {
|
|
114
|
+
new(): AsyncCollectionResult;
|
|
114
115
|
};
|
|
115
116
|
|
|
116
117
|
|
|
@@ -121,6 +122,7 @@ export interface AuthenticationPolicy$instance extends PipelinePolicy {
|
|
|
121
122
|
|
|
122
123
|
|
|
123
124
|
export const AuthenticationPolicy: {
|
|
125
|
+
new(): AuthenticationPolicy;
|
|
124
126
|
};
|
|
125
127
|
|
|
126
128
|
|
|
@@ -167,7 +169,12 @@ export const ClientCache: {
|
|
|
167
169
|
|
|
168
170
|
export type ClientCache = ClientCache$instance;
|
|
169
171
|
|
|
170
|
-
export
|
|
172
|
+
export abstract class ClientConnectionCollection$protected {
|
|
173
|
+
protected GetKeyForItem(item: ClientConnection): string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
export interface ClientConnectionCollection$instance extends ClientConnectionCollection$protected, KeyedCollection<System_Internal.String, ClientConnection> {
|
|
171
178
|
AddRange(connections: IEnumerable__System_Collections_Generic<ClientConnection>): void;
|
|
172
179
|
}
|
|
173
180
|
|
|
@@ -187,6 +194,7 @@ export interface ClientConnectionProvider$instance {
|
|
|
187
194
|
|
|
188
195
|
|
|
189
196
|
export const ClientConnectionProvider: {
|
|
197
|
+
new(maxCacheSize: int): ClientConnectionProvider;
|
|
190
198
|
};
|
|
191
199
|
|
|
192
200
|
|
|
@@ -250,7 +258,21 @@ export const ClientPipelineOptions: {
|
|
|
250
258
|
|
|
251
259
|
export type ClientPipelineOptions = ClientPipelineOptions$instance;
|
|
252
260
|
|
|
253
|
-
export
|
|
261
|
+
export abstract class ClientRetryPolicy$protected {
|
|
262
|
+
protected GetNextDelay(message: PipelineMessage, tryCount: int): TimeSpan;
|
|
263
|
+
protected OnRequestSent(message: PipelineMessage): void;
|
|
264
|
+
protected OnRequestSentAsync(message: PipelineMessage): ValueTask;
|
|
265
|
+
protected OnSendingRequest(message: PipelineMessage): void;
|
|
266
|
+
protected OnSendingRequestAsync(message: PipelineMessage): ValueTask;
|
|
267
|
+
protected OnTryComplete(message: PipelineMessage): void;
|
|
268
|
+
protected ShouldRetry(message: PipelineMessage, exception: Exception): boolean;
|
|
269
|
+
protected ShouldRetryAsync(message: PipelineMessage, exception: Exception): ValueTask<System_Internal.Boolean>;
|
|
270
|
+
protected Wait(time: TimeSpan, cancellationToken: CancellationToken): void;
|
|
271
|
+
protected WaitAsync(time: TimeSpan, cancellationToken: CancellationToken): Task;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
export interface ClientRetryPolicy$instance extends ClientRetryPolicy$protected, PipelinePolicy {
|
|
254
276
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
255
277
|
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
256
278
|
}
|
|
@@ -272,6 +294,7 @@ export interface CollectionResult$instance {
|
|
|
272
294
|
|
|
273
295
|
|
|
274
296
|
export const CollectionResult: {
|
|
297
|
+
new(): CollectionResult;
|
|
275
298
|
};
|
|
276
299
|
|
|
277
300
|
|
|
@@ -293,7 +316,17 @@ export const GetTokenOptions: {
|
|
|
293
316
|
|
|
294
317
|
export type GetTokenOptions = GetTokenOptions$instance;
|
|
295
318
|
|
|
296
|
-
export
|
|
319
|
+
export abstract class HttpClientPipelineTransport$protected {
|
|
320
|
+
protected CreateMessageCore(): PipelineMessage;
|
|
321
|
+
protected Dispose(disposing: boolean): void;
|
|
322
|
+
protected OnReceivedResponse(message: PipelineMessage, httpResponse: HttpResponseMessage): void;
|
|
323
|
+
protected OnSendingRequest(message: PipelineMessage, httpRequest: HttpRequestMessage): void;
|
|
324
|
+
protected ProcessCore(message: PipelineMessage): void;
|
|
325
|
+
protected ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
export interface HttpClientPipelineTransport$instance extends HttpClientPipelineTransport$protected, PipelineTransport {
|
|
297
330
|
Dispose(): void;
|
|
298
331
|
}
|
|
299
332
|
|
|
@@ -349,13 +382,19 @@ export const ModelReaderWriterBuildableAttribute: {
|
|
|
349
382
|
|
|
350
383
|
export type ModelReaderWriterBuildableAttribute = ModelReaderWriterBuildableAttribute$instance;
|
|
351
384
|
|
|
352
|
-
export
|
|
385
|
+
export abstract class ModelReaderWriterContext$protected {
|
|
386
|
+
protected TryGetTypeBuilderCore(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
export interface ModelReaderWriterContext$instance extends ModelReaderWriterContext$protected {
|
|
353
391
|
GetTypeBuilder(type: Type): ModelReaderWriterTypeBuilder;
|
|
354
392
|
TryGetTypeBuilder(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
355
393
|
}
|
|
356
394
|
|
|
357
395
|
|
|
358
396
|
export const ModelReaderWriterContext: {
|
|
397
|
+
new(): ModelReaderWriterContext;
|
|
359
398
|
};
|
|
360
399
|
|
|
361
400
|
|
|
@@ -386,19 +425,32 @@ export const ModelReaderWriterOptions: {
|
|
|
386
425
|
|
|
387
426
|
export type ModelReaderWriterOptions = ModelReaderWriterOptions$instance;
|
|
388
427
|
|
|
389
|
-
export
|
|
428
|
+
export abstract class ModelReaderWriterTypeBuilder$protected {
|
|
429
|
+
protected readonly BuilderType: Type;
|
|
430
|
+
protected readonly ItemType: Type | undefined;
|
|
431
|
+
protected AddItem(collectionBuilder: unknown, item: unknown): void;
|
|
432
|
+
protected AddItemWithKey(collectionBuilder: unknown, key: string, item: unknown): void;
|
|
433
|
+
protected ConvertCollectionBuilder(collectionBuilder: unknown): unknown;
|
|
434
|
+
protected abstract CreateInstance(): unknown;
|
|
435
|
+
protected GetItems(collection: unknown): IEnumerable | undefined;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
export interface ModelReaderWriterTypeBuilder$instance extends ModelReaderWriterTypeBuilder$protected {
|
|
390
440
|
}
|
|
391
441
|
|
|
392
442
|
|
|
393
443
|
export const ModelReaderWriterTypeBuilder: {
|
|
444
|
+
new(): ModelReaderWriterTypeBuilder;
|
|
394
445
|
};
|
|
395
446
|
|
|
396
447
|
|
|
397
448
|
export type ModelReaderWriterTypeBuilder = ModelReaderWriterTypeBuilder$instance;
|
|
398
449
|
|
|
399
450
|
export interface OperationResult$instance {
|
|
400
|
-
|
|
401
|
-
|
|
451
|
+
HasCompleted: boolean;
|
|
452
|
+
get RehydrationToken(): ContinuationToken | undefined;
|
|
453
|
+
set RehydrationToken(value: ContinuationToken);
|
|
402
454
|
GetRawResponse(): PipelineResponse;
|
|
403
455
|
UpdateStatus(options?: RequestOptions): ClientResult;
|
|
404
456
|
UpdateStatusAsync(options?: RequestOptions): ValueTask<ClientResult>;
|
|
@@ -408,6 +460,7 @@ export interface OperationResult$instance {
|
|
|
408
460
|
|
|
409
461
|
|
|
410
462
|
export const OperationResult: {
|
|
463
|
+
new(response: PipelineResponse): OperationResult;
|
|
411
464
|
};
|
|
412
465
|
|
|
413
466
|
|
|
@@ -425,12 +478,17 @@ export const PersistableModelProxyAttribute: {
|
|
|
425
478
|
|
|
426
479
|
export type PersistableModelProxyAttribute = PersistableModelProxyAttribute$instance;
|
|
427
480
|
|
|
428
|
-
export
|
|
481
|
+
export abstract class PipelineMessage$protected {
|
|
482
|
+
protected Dispose(disposing: boolean): void;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
export interface PipelineMessage$instance extends PipelineMessage$protected {
|
|
429
487
|
BufferResponse: boolean;
|
|
430
|
-
|
|
488
|
+
CancellationToken: CancellationToken;
|
|
431
489
|
NetworkTimeout: Nullable<TimeSpan>;
|
|
432
490
|
readonly Request: PipelineRequest;
|
|
433
|
-
|
|
491
|
+
Response: PipelineResponse;
|
|
434
492
|
ResponseClassifier: PipelineMessageClassifier;
|
|
435
493
|
Apply(options: RequestOptions): void;
|
|
436
494
|
Dispose(): void;
|
|
@@ -441,7 +499,7 @@ export interface PipelineMessage$instance {
|
|
|
441
499
|
|
|
442
500
|
|
|
443
501
|
export const PipelineMessage: {
|
|
444
|
-
new(): PipelineMessage;
|
|
502
|
+
new(request: PipelineRequest): PipelineMessage;
|
|
445
503
|
};
|
|
446
504
|
|
|
447
505
|
|
|
@@ -454,6 +512,7 @@ export interface PipelineMessageClassifier$instance {
|
|
|
454
512
|
|
|
455
513
|
|
|
456
514
|
export const PipelineMessageClassifier: {
|
|
515
|
+
new(): PipelineMessageClassifier;
|
|
457
516
|
readonly Default: PipelineMessageClassifier;
|
|
458
517
|
Create(successStatusCodes: ReadOnlySpan<System_Internal.UInt16>): PipelineMessageClassifier;
|
|
459
518
|
};
|
|
@@ -468,12 +527,23 @@ export interface PipelinePolicy$instance {
|
|
|
468
527
|
|
|
469
528
|
|
|
470
529
|
export const PipelinePolicy: {
|
|
530
|
+
new(): PipelinePolicy;
|
|
531
|
+
ProcessNext(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
532
|
+
ProcessNextAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
471
533
|
};
|
|
472
534
|
|
|
473
535
|
|
|
474
536
|
export type PipelinePolicy = PipelinePolicy$instance;
|
|
475
537
|
|
|
476
|
-
export
|
|
538
|
+
export abstract class PipelineRequest$protected {
|
|
539
|
+
protected ContentCore: BinaryContent | undefined;
|
|
540
|
+
protected readonly HeadersCore: PipelineRequestHeaders;
|
|
541
|
+
protected MethodCore: string;
|
|
542
|
+
protected UriCore: Uri | undefined;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
export interface PipelineRequest$instance extends PipelineRequest$protected {
|
|
477
547
|
Content: BinaryContent;
|
|
478
548
|
readonly Headers: PipelineRequestHeaders;
|
|
479
549
|
Method: string;
|
|
@@ -483,6 +553,7 @@ export interface PipelineRequest$instance {
|
|
|
483
553
|
|
|
484
554
|
|
|
485
555
|
export const PipelineRequest: {
|
|
556
|
+
new(): PipelineRequest;
|
|
486
557
|
};
|
|
487
558
|
|
|
488
559
|
|
|
@@ -499,12 +570,19 @@ export interface PipelineRequestHeaders$instance {
|
|
|
499
570
|
|
|
500
571
|
|
|
501
572
|
export const PipelineRequestHeaders: {
|
|
573
|
+
new(): PipelineRequestHeaders;
|
|
502
574
|
};
|
|
503
575
|
|
|
504
576
|
|
|
505
577
|
export type PipelineRequestHeaders = PipelineRequestHeaders$instance;
|
|
506
578
|
|
|
507
|
-
export
|
|
579
|
+
export abstract class PipelineResponse$protected {
|
|
580
|
+
protected readonly HeadersCore: PipelineResponseHeaders;
|
|
581
|
+
protected IsErrorCore: boolean;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
export interface PipelineResponse$instance extends PipelineResponse$protected {
|
|
508
586
|
readonly Content: BinaryData;
|
|
509
587
|
get ContentStream(): Stream | undefined;
|
|
510
588
|
set ContentStream(value: Stream);
|
|
@@ -519,6 +597,7 @@ export interface PipelineResponse$instance {
|
|
|
519
597
|
|
|
520
598
|
|
|
521
599
|
export const PipelineResponse: {
|
|
600
|
+
new(): PipelineResponse;
|
|
522
601
|
};
|
|
523
602
|
|
|
524
603
|
|
|
@@ -532,12 +611,20 @@ export interface PipelineResponseHeaders$instance {
|
|
|
532
611
|
|
|
533
612
|
|
|
534
613
|
export const PipelineResponseHeaders: {
|
|
614
|
+
new(): PipelineResponseHeaders;
|
|
535
615
|
};
|
|
536
616
|
|
|
537
617
|
|
|
538
618
|
export type PipelineResponseHeaders = PipelineResponseHeaders$instance;
|
|
539
619
|
|
|
540
|
-
export
|
|
620
|
+
export abstract class PipelineTransport$protected {
|
|
621
|
+
protected abstract CreateMessageCore(): PipelineMessage;
|
|
622
|
+
protected abstract ProcessCore(message: PipelineMessage): void;
|
|
623
|
+
protected abstract ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
export interface PipelineTransport$instance extends PipelineTransport$protected, PipelinePolicy {
|
|
541
628
|
CreateMessage(): PipelineMessage;
|
|
542
629
|
Process(message: PipelineMessage): void;
|
|
543
630
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
@@ -549,12 +636,19 @@ export interface PipelineTransport$instance extends PipelinePolicy {
|
|
|
549
636
|
|
|
550
637
|
|
|
551
638
|
export const PipelineTransport: {
|
|
639
|
+
new(): PipelineTransport;
|
|
640
|
+
new(enableLogging: boolean, loggerFactory: ILoggerFactory): PipelineTransport;
|
|
552
641
|
};
|
|
553
642
|
|
|
554
643
|
|
|
555
644
|
export type PipelineTransport = PipelineTransport$instance;
|
|
556
645
|
|
|
557
|
-
export
|
|
646
|
+
export abstract class RequestOptions$protected {
|
|
647
|
+
protected Apply(message: PipelineMessage): void;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
export interface RequestOptions$instance extends RequestOptions$protected {
|
|
558
652
|
BufferResponse: boolean;
|
|
559
653
|
CancellationToken: CancellationToken;
|
|
560
654
|
ErrorOptions: ClientErrorBehaviors;
|
|
@@ -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)
|