@tsonic/efcore-sqlserver 10.0.41 → 10.0.42
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 +44 -44
- package/Azure.Core/internal/index.d.ts +19 -19
- package/Azure.Core.Cryptography/internal/index.d.ts +1 -1
- package/Azure.Core.Cryptography.d.ts +4 -0
- package/Azure.Core.Diagnostics/internal/index.d.ts +1 -1
- package/Azure.Core.Diagnostics.d.ts +4 -0
- package/Azure.Core.Extensions/internal/index.d.ts +10 -9
- package/Azure.Core.Extensions.d.ts +6 -2
- package/Azure.Core.GeoJson/internal/index.d.ts +17 -17
- package/Azure.Core.GeoJson.d.ts +4 -0
- package/Azure.Core.Pipeline/internal/index.d.ts +2 -2
- package/Azure.Core.Pipeline.d.ts +4 -0
- package/Azure.Core.Serialization/internal/index.d.ts +14 -14
- package/Azure.Core.Serialization.d.ts +4 -0
- package/Azure.Core.d.ts +5 -1
- package/Azure.Identity/internal/index.d.ts +1 -1
- package/Azure.Identity.d.ts +4 -0
- package/Azure.Messaging/internal/index.d.ts +3 -3
- package/Azure.Messaging.d.ts +4 -0
- package/Azure.d.ts +8 -4
- package/Microsoft.Data/internal/index.d.ts +1 -1
- package/Microsoft.Data.Sql/internal/index.d.ts +1 -1
- package/Microsoft.Data.Sql.d.ts +4 -0
- package/Microsoft.Data.SqlClient/internal/index.d.ts +47 -47
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +1 -1
- package/Microsoft.Data.SqlClient.DataClassification.d.ts +4 -0
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +31 -31
- package/Microsoft.Data.SqlClient.Diagnostics.d.ts +4 -0
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +11 -11
- package/Microsoft.Data.SqlClient.Server.d.ts +4 -0
- package/Microsoft.Data.SqlClient.d.ts +4 -0
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +8 -8
- package/Microsoft.Data.SqlTypes.d.ts +4 -0
- package/Microsoft.Data.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +71 -71
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Diagnostics.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +11 -11
- package/Microsoft.EntityFrameworkCore.Metadata.Builders.d.ts +6 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +7 -7
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.Metadata.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +44 -44
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +11 -11
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +18 -18
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.d.ts +4 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +4 -4
- package/Microsoft.Extensions.DependencyInjection.d.ts +4 -0
- package/Microsoft.Identity.Client/internal/index.d.ts +29 -29
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.Advanced.d.ts +4 -0
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.AppConfig.d.ts +4 -0
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.AuthScheme.PoP.d.ts +4 -0
- package/Microsoft.Identity.Client.AuthScheme.d.ts +4 -0
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Cache.d.ts +4 -0
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.Extensibility.d.ts +4 -0
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +4 -0
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Kerberos.d.ts +4 -0
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.ManagedIdentity.d.ts +4 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos.d.ts +4 -0
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.RP.d.ts +4 -0
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Region.d.ts +4 -0
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.SSHCertificates.d.ts +4 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient.d.ts +4 -0
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Utils.Windows.d.ts +4 -0
- package/Microsoft.Identity.Client.Utils.d.ts +4 -0
- package/Microsoft.Identity.Client.d.ts +4 -0
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Abstractions.d.ts +4 -0
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +15 -15
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +4 -0
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +33 -33
- package/Microsoft.IdentityModel.Logging.d.ts +4 -0
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +21 -21
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +4 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration.d.ts +4 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +4 -0
- package/Microsoft.IdentityModel.Protocols.d.ts +7 -3
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +15 -15
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.IdentityModel.Tokens.Configuration.d.ts +4 -0
- package/Microsoft.IdentityModel.Tokens.d.ts +4 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +1 -1
- package/Microsoft.SqlServer.Server.d.ts +4 -0
- package/README.md +4 -0
- package/System/internal/index.d.ts +8 -8
- package/System.ClientModel/internal/index.d.ts +16 -16
- package/System.ClientModel.Primitives/internal/index.d.ts +30 -30
- package/System.ClientModel.Primitives.d.ts +6 -2
- package/System.ClientModel.d.ts +6 -2
- package/System.Configuration/internal/index.d.ts +92 -92
- package/System.Configuration.Internal/internal/index.d.ts +26 -26
- package/System.Configuration.Internal.d.ts +4 -0
- package/System.Configuration.Provider/internal/index.d.ts +3 -3
- package/System.Configuration.Provider.d.ts +5 -1
- package/System.Configuration.d.ts +4 -0
- package/System.Diagnostics/internal/index.d.ts +1 -1
- package/System.Diagnostics.d.ts +4 -0
- package/System.Drawing.Configuration/internal/index.d.ts +1 -1
- package/System.Drawing.Configuration.d.ts +4 -0
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +9 -9
- package/System.IdentityModel.Tokens.Jwt.d.ts +4 -0
- package/System.Security.Cryptography/internal/index.d.ts +1 -1
- package/System.Security.Cryptography.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization.d.ts +4 -0
- package/System.d.ts +4 -0
- package/__internal/extensions/index.d.ts +105 -105
- package/package.json +5 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.ClientModel
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { 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
9
|
// Import types from other namespaces
|
|
@@ -47,7 +47,7 @@ export enum PipelinePosition {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
export interface IJsonModel_1$instance<T> extends IPersistableModel_1<T> {
|
|
50
|
+
export interface IJsonModel_1$instance<T extends unknown> extends IPersistableModel_1<T> {
|
|
51
51
|
readonly __tsonic_iface_System_ClientModel_Primitives_IJsonModel_1: never;
|
|
52
52
|
|
|
53
53
|
Create(reader: Utf8JsonReader, options: ModelReaderWriterOptions): T | null;
|
|
@@ -59,9 +59,9 @@ export interface IJsonModel_1$instance<T> extends IPersistableModel_1<T> {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
export type IJsonModel_1<T> = IJsonModel_1$instance<T>;
|
|
62
|
+
export type IJsonModel_1<T extends unknown> = IJsonModel_1$instance<T>;
|
|
63
63
|
|
|
64
|
-
export interface IPersistableModel_1$instance<T> {
|
|
64
|
+
export interface IPersistableModel_1$instance<T extends unknown> {
|
|
65
65
|
readonly __tsonic_iface_System_ClientModel_Primitives_IPersistableModel_1: never;
|
|
66
66
|
|
|
67
67
|
Create(data: BinaryData, options: ModelReaderWriterOptions): T | null;
|
|
@@ -70,12 +70,12 @@ export interface IPersistableModel_1$instance<T> {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
export type IPersistableModel_1<T> = IPersistableModel_1$instance<T>;
|
|
73
|
+
export type IPersistableModel_1<T extends unknown> = IPersistableModel_1$instance<T>;
|
|
74
74
|
|
|
75
75
|
export interface ClientConnection$instance {
|
|
76
76
|
readonly __tsonic_type_System_ClientModel_Primitives_ClientConnection: never;
|
|
77
77
|
|
|
78
|
-
readonly Credential:
|
|
78
|
+
readonly Credential: unknown | null;
|
|
79
79
|
readonly CredentialKind: CredentialKind;
|
|
80
80
|
readonly Id: string;
|
|
81
81
|
readonly Locator: string;
|
|
@@ -85,7 +85,7 @@ export interface ClientConnection$instance {
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
export const ClientConnection: {
|
|
88
|
-
new(id: string, locator: string, credential:
|
|
88
|
+
new(id: string, locator: string, credential: unknown, credentialKind: CredentialKind): ClientConnection;
|
|
89
89
|
new(id: string, locator: string): ClientConnection;
|
|
90
90
|
};
|
|
91
91
|
|
|
@@ -161,7 +161,7 @@ export interface BearerTokenPolicy$instance extends AuthenticationPolicy {
|
|
|
161
161
|
|
|
162
162
|
|
|
163
163
|
export const BearerTokenPolicy: {
|
|
164
|
-
new(tokenProvider: AuthenticationTokenProvider, contexts: IEnumerable_1<IReadOnlyDictionary_2<System_Internal.String,
|
|
164
|
+
new(tokenProvider: AuthenticationTokenProvider, contexts: IEnumerable_1<IReadOnlyDictionary_2<System_Internal.String, unknown>>): BearerTokenPolicy;
|
|
165
165
|
new(tokenProvider: AuthenticationTokenProvider, scope: string): BearerTokenPolicy;
|
|
166
166
|
};
|
|
167
167
|
|
|
@@ -171,7 +171,7 @@ export type BearerTokenPolicy = BearerTokenPolicy$instance;
|
|
|
171
171
|
export interface ClientCache$instance {
|
|
172
172
|
readonly __tsonic_type_System_ClientModel_Primitives_ClientCache: never;
|
|
173
173
|
|
|
174
|
-
GetClient<T>(clientId:
|
|
174
|
+
GetClient<T extends (object | null)>(clientId: unknown, createClient: Func_1<T>): T;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
|
|
@@ -335,12 +335,12 @@ export type CollectionResult = CollectionResult$instance;
|
|
|
335
335
|
export interface GetTokenOptions$instance {
|
|
336
336
|
readonly __tsonic_type_System_ClientModel_Primitives_GetTokenOptions: never;
|
|
337
337
|
|
|
338
|
-
readonly Properties: IReadOnlyDictionary_2<System_Internal.String,
|
|
338
|
+
readonly Properties: IReadOnlyDictionary_2<System_Internal.String, unknown>;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
|
|
342
342
|
export const GetTokenOptions: {
|
|
343
|
-
new(properties: IReadOnlyDictionary_2<System_Internal.String,
|
|
343
|
+
new(properties: IReadOnlyDictionary_2<System_Internal.String, unknown>): GetTokenOptions;
|
|
344
344
|
readonly ScopesPropertyName: string;
|
|
345
345
|
readonly TokenUrlPropertyName: string;
|
|
346
346
|
readonly AuthorizationUrlPropertyName: string;
|
|
@@ -375,12 +375,12 @@ export const HttpClientPipelineTransport: {
|
|
|
375
375
|
|
|
376
376
|
export type HttpClientPipelineTransport = HttpClientPipelineTransport$instance;
|
|
377
377
|
|
|
378
|
-
export interface JsonModelConverter$instance extends JsonConverter_1<IJsonModel_1<
|
|
378
|
+
export interface JsonModelConverter$instance extends JsonConverter_1<IJsonModel_1<unknown>> {
|
|
379
379
|
readonly __tsonic_type_System_ClientModel_Primitives_JsonModelConverter: never;
|
|
380
380
|
|
|
381
381
|
CanConvert(typeToConvert: Type): boolean;
|
|
382
|
-
Read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): IJsonModel_1<
|
|
383
|
-
Write(writer: Utf8JsonWriter, value: IJsonModel_1<
|
|
382
|
+
Read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): IJsonModel_1<unknown> | null;
|
|
383
|
+
Write(writer: Utf8JsonWriter, value: IJsonModel_1<unknown>, options: JsonSerializerOptions): void;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
|
|
@@ -471,11 +471,11 @@ export interface ModelReaderWriterTypeBuilder$instance {
|
|
|
471
471
|
|
|
472
472
|
readonly BuilderType: Type;
|
|
473
473
|
readonly ItemType: Type | null;
|
|
474
|
-
AddItem(collectionBuilder:
|
|
475
|
-
AddItemWithKey(collectionBuilder:
|
|
476
|
-
ConvertCollectionBuilder(collectionBuilder:
|
|
477
|
-
CreateInstance():
|
|
478
|
-
GetItems(collection:
|
|
474
|
+
AddItem(collectionBuilder: unknown, item: unknown | null): void;
|
|
475
|
+
AddItemWithKey(collectionBuilder: unknown, key: string, item: unknown | null): void;
|
|
476
|
+
ConvertCollectionBuilder(collectionBuilder: unknown): unknown;
|
|
477
|
+
CreateInstance(): unknown;
|
|
478
|
+
GetItems(collection: unknown): IEnumerable | null;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
|
|
@@ -536,8 +536,8 @@ export interface PipelineMessage$instance {
|
|
|
536
536
|
Dispose(): void;
|
|
537
537
|
Dispose(disposing: boolean): void;
|
|
538
538
|
ExtractResponse(): PipelineResponse | null;
|
|
539
|
-
SetProperty(key: Type, value:
|
|
540
|
-
TryGetProperty(key: Type, value:
|
|
539
|
+
SetProperty(key: Type, value: unknown | null): void;
|
|
540
|
+
TryGetProperty(key: Type, value: unknown | null): boolean;
|
|
541
541
|
}
|
|
542
542
|
|
|
543
543
|
|
|
@@ -714,21 +714,21 @@ export type RequestOptions = RequestOptions$instance;
|
|
|
714
714
|
|
|
715
715
|
export abstract class ActivityExtensions$instance {
|
|
716
716
|
static MarkClientActivityFailed(activity: Activity, exception: Exception | null): Activity;
|
|
717
|
-
static StartClientActivity(activitySource: ActivitySource, options: ClientPipelineOptions, name: string, kind?: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String,
|
|
717
|
+
static StartClientActivity(activitySource: ActivitySource, options: ClientPipelineOptions, name: string, kind?: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null): Activity | null;
|
|
718
718
|
}
|
|
719
719
|
|
|
720
720
|
|
|
721
721
|
export type ActivityExtensions = ActivityExtensions$instance;
|
|
722
722
|
|
|
723
723
|
export abstract class ModelReaderWriter$instance {
|
|
724
|
-
static Read<T>(data: BinaryData, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): T | null;
|
|
725
|
-
static Read<T extends IPersistableModel_1<T>>(data: BinaryData, options?: ModelReaderWriterOptions | null): T | null;
|
|
726
|
-
static Read(data: BinaryData, returnType: Type, options: ModelReaderWriterOptions, context: ModelReaderWriterContext):
|
|
727
|
-
static Read(data: BinaryData, returnType: Type, options?: ModelReaderWriterOptions | null):
|
|
728
|
-
static Write(model:
|
|
729
|
-
static Write(model:
|
|
730
|
-
static Write<T>(model: T, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): BinaryData;
|
|
731
|
-
static Write<T extends IPersistableModel_1<T>>(model: T, options?: ModelReaderWriterOptions | null): BinaryData;
|
|
724
|
+
static Read<T extends unknown>(data: BinaryData, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): T | null;
|
|
725
|
+
static Read<T extends unknown & IPersistableModel_1<T>>(data: BinaryData, options?: ModelReaderWriterOptions | null): T | null;
|
|
726
|
+
static Read(data: BinaryData, returnType: Type, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): unknown | null;
|
|
727
|
+
static Read(data: BinaryData, returnType: Type, options?: ModelReaderWriterOptions | null): unknown | null;
|
|
728
|
+
static Write(model: unknown, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): BinaryData;
|
|
729
|
+
static Write(model: unknown, options?: ModelReaderWriterOptions | null): BinaryData;
|
|
730
|
+
static Write<T extends unknown>(model: T, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): BinaryData;
|
|
731
|
+
static Write<T extends unknown & IPersistableModel_1<T>>(model: T, options?: ModelReaderWriterOptions | null): BinaryData;
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.ClientModel.Primitives/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ApiKeyCredential, AuthenticationTokenProvider, BinaryContent, ClientResult, ContinuationToken } from './System.ClientModel/internal/index.js';
|
|
10
14
|
import type { BinaryData } from './System/internal/index.js';
|
|
@@ -38,8 +42,8 @@ export { PipelineRequest as PipelineRequest } from './System.ClientModel.Primiti
|
|
|
38
42
|
export { PipelineRequestHeaders as PipelineRequestHeaders } from './System.ClientModel.Primitives/internal/index.js';
|
|
39
43
|
export { PipelineResponse as PipelineResponse } from './System.ClientModel.Primitives/internal/index.js';
|
|
40
44
|
export { PipelineResponseHeaders as PipelineResponseHeaders } from './System.ClientModel.Primitives/internal/index.js';
|
|
41
|
-
export type IJsonModel<T> = Internal.IJsonModel_1<T>;
|
|
42
|
-
export type IPersistableModel<T> = Internal.IPersistableModel_1<T>;
|
|
45
|
+
export type IJsonModel<T extends unknown> = Internal.IJsonModel_1<T>;
|
|
46
|
+
export type IPersistableModel<T extends unknown> = Internal.IPersistableModel_1<T>;
|
|
43
47
|
export { JsonModelConverter as JsonModelConverter } from './System.ClientModel.Primitives/internal/index.js';
|
|
44
48
|
export { ModelReaderWriter$instance as ModelReaderWriter } from './System.ClientModel.Primitives/internal/index.js';
|
|
45
49
|
export { ModelReaderWriterBuildableAttribute as ModelReaderWriterBuildableAttribute } from './System.ClientModel.Primitives/internal/index.js';
|
package/System.ClientModel.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.ClientModel/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { AsyncCollectionResult as AsyncCollectionResult_Imported, AuthenticationToken, CollectionResult as CollectionResult_Imported, GetTokenOptions, IPersistableModel_1, ModelReaderWriterOptions, PipelineResponse } from './System.ClientModel.Primitives/internal/index.js';
|
|
10
14
|
import type { BinaryData } from './System/internal/index.js';
|
|
@@ -35,8 +39,8 @@ declare const __unspecified: unique symbol;
|
|
|
35
39
|
export type __ = typeof __unspecified;
|
|
36
40
|
|
|
37
41
|
export type ClientResult<
|
|
38
|
-
T1 = __,
|
|
42
|
+
T1 extends unknown | __ = __,
|
|
39
43
|
> =
|
|
40
44
|
[T1] extends [__] ? Internal.ClientResult :
|
|
41
|
-
Internal.ClientResult_1<T1
|
|
45
|
+
[T1] extends [unknown] ? Internal.ClientResult_1<T1> : never;
|
|
42
46
|
|