@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.
Files changed (93) hide show
  1. package/Azure/internal/index.d.ts +42 -44
  2. package/Azure.Core/bindings.json +2859 -2859
  3. package/Azure.Core/internal/index.d.ts +103 -105
  4. package/Azure.Core.Cryptography/internal/index.d.ts +3 -2
  5. package/Azure.Core.Diagnostics/internal/index.d.ts +3 -2
  6. package/Azure.Core.Extensions/internal/index.d.ts +3 -2
  7. package/Azure.Core.GeoJson/internal/index.d.ts +14 -16
  8. package/Azure.Core.Pipeline/internal/index.d.ts +20 -19
  9. package/Azure.Core.Serialization/internal/index.d.ts +17 -16
  10. package/Azure.Core.d.ts +2 -2
  11. package/Azure.Identity/internal/index.d.ts +3 -2
  12. package/Azure.Messaging/internal/index.d.ts +17 -16
  13. package/Microsoft.Data/internal/index.d.ts +3 -2
  14. package/Microsoft.Data.Sql/internal/index.d.ts +3 -2
  15. package/Microsoft.Data.SqlClient/internal/index.d.ts +46 -48
  16. package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +3 -2
  17. package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +33 -32
  18. package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +13 -12
  19. package/Microsoft.Data.SqlTypes/bindings.json +4 -1
  20. package/Microsoft.Data.SqlTypes/internal/index.d.ts +9 -8
  21. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +171 -173
  22. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +3 -2
  23. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +7 -6
  24. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +3 -2
  25. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +17 -16
  26. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +20 -22
  27. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +2 -4
  28. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +45 -44
  29. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +5 -4
  30. package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +5 -4
  31. package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +26 -25
  32. package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +27 -26
  33. package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +1 -1
  34. package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +16 -18
  35. package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +1 -1
  36. package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +50 -49
  37. package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +3 -2
  38. package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +4 -3
  39. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +418 -418
  40. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +97 -99
  41. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +4 -3
  42. package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +4 -4
  43. package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +8 -7
  44. package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +1 -1
  45. package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +32 -34
  46. package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
  47. package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +8 -10
  48. package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +7 -9
  49. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +6 -5
  50. package/Microsoft.Identity.Client/bindings.json +100 -100
  51. package/Microsoft.Identity.Client/internal/index.d.ts +15 -17
  52. package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +3 -2
  53. package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +3 -2
  54. package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +3 -2
  55. package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -2
  56. package/Microsoft.Identity.Client.Cache/internal/index.d.ts +3 -2
  57. package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +3 -2
  58. package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +3 -2
  59. package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +3 -2
  60. package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +3 -2
  61. package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +3 -2
  62. package/Microsoft.Identity.Client.RP/internal/index.d.ts +3 -2
  63. package/Microsoft.Identity.Client.Region/internal/index.d.ts +3 -2
  64. package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +3 -2
  65. package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +3 -2
  66. package/Microsoft.Identity.Client.Utils/internal/index.d.ts +3 -2
  67. package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +3 -2
  68. package/Microsoft.Identity.Client.d.ts +1 -1
  69. package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +12 -11
  70. package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +10 -12
  71. package/Microsoft.IdentityModel.Logging/internal/index.d.ts +27 -26
  72. package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +4 -3
  73. package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +3 -2
  74. package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +4 -3
  75. package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +3 -2
  76. package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +15 -17
  77. package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +3 -2
  78. package/Microsoft.SqlServer.Server/internal/index.d.ts +3 -2
  79. package/README.md +32 -13
  80. package/System/internal/index.d.ts +19 -18
  81. package/System.ClientModel/internal/index.d.ts +12 -14
  82. package/System.ClientModel.Primitives/internal/index.d.ts +77 -79
  83. package/System.Configuration/internal/index.d.ts +94 -93
  84. package/System.Configuration.Internal/internal/index.d.ts +27 -29
  85. package/System.Configuration.Provider/internal/index.d.ts +5 -4
  86. package/System.Configuration.Provider.d.ts +1 -1
  87. package/System.Diagnostics/internal/index.d.ts +3 -2
  88. package/System.Drawing.Configuration/internal/index.d.ts +3 -2
  89. package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +9 -11
  90. package/System.Security.Cryptography/internal/index.d.ts +5 -4
  91. package/System.Text.Json.Serialization/internal/index.d.ts +3 -5
  92. package/__internal/extensions/index.d.ts +199 -201
  93. package/package.json +5 -5
@@ -2,8 +2,9 @@
2
2
  // Namespace: Azure.Core.Pipeline
3
3
  // Assembly: Azure.Core
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { ClientOptions, DelayStrategy, HttpMessage, Request, RequestFailedDetailsParser, ResponseClassifier, TokenCredential, TokenRequestContext } from "../../Azure.Core/internal/index.js";
@@ -79,8 +80,8 @@ export interface HttpPipeline$instance {
79
80
 
80
81
  readonly ResponseClassifier: ResponseClassifier;
81
82
  CreateMessage(): HttpMessage;
82
- CreateMessage(context: RequestContext): HttpMessage;
83
- CreateMessage(context: RequestContext, classifier?: ResponseClassifier): HttpMessage;
83
+ CreateMessage(context: RequestContext | null): HttpMessage;
84
+ CreateMessage(context: RequestContext | null, classifier?: ResponseClassifier | null): HttpMessage;
84
85
  CreateRequest(): Request;
85
86
  Send(message: HttpMessage, cancellationToken: CancellationToken): void;
86
87
  SendAsync(message: HttpMessage, cancellationToken: CancellationToken): ValueTask;
@@ -90,9 +91,9 @@ export interface HttpPipeline$instance {
90
91
 
91
92
 
92
93
  export const HttpPipeline: {
93
- new(transport: HttpPipelineTransport, policies: HttpPipelinePolicy[], responseClassifier: ResponseClassifier): HttpPipeline;
94
- CreateClientRequestIdScope(clientRequestId: string): IDisposable;
95
- CreateHttpMessagePropertiesScope(messageProperties: IDictionary_2<System_Internal.String, unknown>): IDisposable;
94
+ new(transport: HttpPipelineTransport, policies: HttpPipelinePolicy[] | null, responseClassifier: ResponseClassifier | null): HttpPipeline;
95
+ CreateClientRequestIdScope(clientRequestId: string | null): IDisposable;
96
+ CreateHttpMessagePropertiesScope(messageProperties: IDictionary_2<System_Internal.String, JsValue | null>): IDisposable;
96
97
  };
97
98
 
98
99
 
@@ -105,8 +106,8 @@ export interface HttpPipelineOptions$instance {
105
106
  readonly PerCallPolicies: IList_1<HttpPipelinePolicy>;
106
107
  readonly PerRetryPolicies: IList_1<HttpPipelinePolicy>;
107
108
  RequestFailedDetailsParser: RequestFailedDetailsParser;
108
- get ResponseClassifier(): ResponseClassifier | undefined;
109
- set ResponseClassifier(value: ResponseClassifier | undefined);
109
+ get ResponseClassifier(): ResponseClassifier | null;
110
+ set ResponseClassifier(value: ResponseClassifier | null);
110
111
  }
111
112
 
112
113
 
@@ -169,8 +170,8 @@ export interface HttpPipelineTransportOptions$instance {
169
170
 
170
171
  readonly ClientCertificates: IList_1<X509Certificate2>;
171
172
  IsClientRedirectEnabled: boolean;
172
- get ServerCertificateCustomValidationCallback(): Func_2<ServerCertificateCustomValidationArgs, System_Internal.Boolean> | undefined;
173
- set ServerCertificateCustomValidationCallback(value: Func_2<ServerCertificateCustomValidationArgs, System_Internal.Boolean> | undefined);
173
+ get ServerCertificateCustomValidationCallback(): Func_2<ServerCertificateCustomValidationArgs, System_Internal.Boolean> | null;
174
+ set ServerCertificateCustomValidationCallback(value: Func_2<ServerCertificateCustomValidationArgs, System_Internal.Boolean> | null);
174
175
  }
175
176
 
176
177
 
@@ -205,13 +206,13 @@ export interface RetryPolicy$instance extends HttpPipelinePolicy {
205
206
  OnSendingRequestAsync(message: HttpMessage): ValueTask;
206
207
  Process(message: HttpMessage, pipeline: ReadOnlyMemory_1<HttpPipelinePolicy>): void;
207
208
  ProcessAsync(message: HttpMessage, pipeline: ReadOnlyMemory_1<HttpPipelinePolicy>): ValueTask;
208
- ShouldRetry(message: HttpMessage, exception: Exception): boolean;
209
- ShouldRetryAsync(message: HttpMessage, exception: Exception): ValueTask_1<System_Internal.Boolean>;
209
+ ShouldRetry(message: HttpMessage, exception: Exception | null): boolean;
210
+ ShouldRetryAsync(message: HttpMessage, exception: Exception | null): ValueTask_1<System_Internal.Boolean>;
210
211
  }
211
212
 
212
213
 
213
214
  export const RetryPolicy: {
214
- new(maxRetries: int, delayStrategy: DelayStrategy): RetryPolicy;
215
+ new(maxRetries: int, delayStrategy: DelayStrategy | null): RetryPolicy;
215
216
  };
216
217
 
217
218
 
@@ -220,22 +221,22 @@ export type RetryPolicy = RetryPolicy$instance;
220
221
  export interface ServerCertificateCustomValidationArgs$instance {
221
222
  readonly __tsonic_type_Azure_Core_Pipeline_ServerCertificateCustomValidationArgs: never;
222
223
 
223
- readonly Certificate: X509Certificate2 | undefined;
224
- readonly CertificateAuthorityChain: X509Chain | undefined;
224
+ readonly Certificate: X509Certificate2 | null;
225
+ readonly CertificateAuthorityChain: X509Chain | null;
225
226
  readonly SslPolicyErrors: SslPolicyErrors;
226
227
  }
227
228
 
228
229
 
229
230
  export const ServerCertificateCustomValidationArgs: {
230
- new(certificate: X509Certificate2, certificateAuthorityChain: X509Chain, sslPolicyErrors: SslPolicyErrors): ServerCertificateCustomValidationArgs;
231
+ new(certificate: X509Certificate2 | null, certificateAuthorityChain: X509Chain | null, sslPolicyErrors: SslPolicyErrors): ServerCertificateCustomValidationArgs;
231
232
  };
232
233
 
233
234
 
234
235
  export type ServerCertificateCustomValidationArgs = ServerCertificateCustomValidationArgs$instance;
235
236
 
236
237
  export abstract class HttpPipelineBuilder$instance {
237
- static Build(options: ClientOptions, perCallPolicies: HttpPipelinePolicy[], perRetryPolicies: HttpPipelinePolicy[], transportOptions: HttpPipelineTransportOptions, responseClassifier: ResponseClassifier): DisposableHttpPipeline;
238
- static Build(options: ClientOptions, perCallPolicies: HttpPipelinePolicy[], perRetryPolicies: HttpPipelinePolicy[], responseClassifier: ResponseClassifier): HttpPipeline;
238
+ static Build(options: ClientOptions, perCallPolicies: HttpPipelinePolicy[], perRetryPolicies: HttpPipelinePolicy[], transportOptions: HttpPipelineTransportOptions, responseClassifier: ResponseClassifier | null): DisposableHttpPipeline;
239
+ static Build(options: ClientOptions, perCallPolicies: HttpPipelinePolicy[], perRetryPolicies: HttpPipelinePolicy[], responseClassifier: ResponseClassifier | null): HttpPipeline;
239
240
  static Build(options: ClientOptions, ...perRetryPolicies: HttpPipelinePolicy[]): HttpPipeline;
240
241
  static Build(options: HttpPipelineOptions, transportOptions: HttpPipelineTransportOptions): DisposableHttpPipeline;
241
242
  static Build(options: HttpPipelineOptions): HttpPipeline;
@@ -2,8 +2,9 @@
2
2
  // Namespace: Azure.Core.Serialization
3
3
  // Assembly: Azure.Core
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { BinaryData } from "../../System/internal/index.js";
@@ -26,7 +27,7 @@ export enum JsonPropertyNames {
26
27
  export interface IMemberNameConverter$instance {
27
28
  readonly __tsonic_iface_Azure_Core_Serialization_IMemberNameConverter: never;
28
29
 
29
- ConvertMemberName(member: MemberInfo): string | undefined;
30
+ ConvertMemberName(member: MemberInfo): string | null;
30
31
  }
31
32
 
32
33
 
@@ -39,7 +40,7 @@ export interface DynamicData$instance {
39
40
  readonly __tsonic_iface_System_IDisposable: never;
40
41
 
41
42
  Dispose(): void;
42
- Equals(obj: unknown): boolean;
43
+ Equals(obj: JsValue | null): boolean;
43
44
  GetHashCode(): int;
44
45
  ToString(): string;
45
46
  }
@@ -56,12 +57,12 @@ export interface JsonObjectSerializer$instance extends ObjectSerializer, IMember
56
57
 
57
58
  readonly __tsonic_iface_Azure_Core_Serialization_IMemberNameConverter: never;
58
59
 
59
- Deserialize(stream: Stream, returnType: Type, cancellationToken: CancellationToken): unknown | undefined;
60
- DeserializeAsync(stream: Stream, returnType: Type, cancellationToken: CancellationToken): ValueTask_1<unknown>;
61
- Serialize(stream: Stream, value: unknown, inputType: Type, cancellationToken: CancellationToken): void;
62
- Serialize(value: unknown, inputType?: Type, cancellationToken?: CancellationToken): BinaryData;
63
- SerializeAsync(stream: Stream, value: unknown, inputType: Type, cancellationToken: CancellationToken): ValueTask;
64
- SerializeAsync(value: unknown, inputType?: Type, cancellationToken?: CancellationToken): ValueTask_1<BinaryData>;
60
+ Deserialize(stream: Stream, returnType: Type, cancellationToken: CancellationToken): JsValue | null;
61
+ DeserializeAsync(stream: Stream, returnType: Type, cancellationToken: CancellationToken): ValueTask_1<JsValue>;
62
+ Serialize(stream: Stream, value: JsValue | null, inputType: Type, cancellationToken: CancellationToken): void;
63
+ Serialize(value: JsValue | null, inputType?: Type | null, cancellationToken?: CancellationToken): BinaryData;
64
+ SerializeAsync(stream: Stream, value: JsValue | null, inputType: Type, cancellationToken: CancellationToken): ValueTask;
65
+ SerializeAsync(value: JsValue | null, inputType?: Type | null, cancellationToken?: CancellationToken): ValueTask_1<BinaryData>;
65
66
  }
66
67
 
67
68
 
@@ -82,12 +83,12 @@ export type JsonObjectSerializer = JsonObjectSerializer$instance & __JsonObjectS
82
83
  export interface ObjectSerializer$instance {
83
84
  readonly __tsonic_type_Azure_Core_Serialization_ObjectSerializer: never;
84
85
 
85
- Deserialize(stream: Stream, returnType: Type, cancellationToken: CancellationToken): unknown | undefined;
86
- DeserializeAsync(stream: Stream, returnType: Type, cancellationToken: CancellationToken): ValueTask_1<unknown>;
87
- Serialize(stream: Stream, value: unknown, inputType: Type, cancellationToken: CancellationToken): void;
88
- Serialize(value: unknown, inputType?: Type, cancellationToken?: CancellationToken): BinaryData;
89
- SerializeAsync(stream: Stream, value: unknown, inputType: Type, cancellationToken: CancellationToken): ValueTask;
90
- SerializeAsync(value: unknown, inputType?: Type, cancellationToken?: CancellationToken): ValueTask_1<BinaryData>;
86
+ Deserialize(stream: Stream, returnType: Type, cancellationToken: CancellationToken): JsValue | null;
87
+ DeserializeAsync(stream: Stream, returnType: Type, cancellationToken: CancellationToken): ValueTask_1<JsValue>;
88
+ Serialize(stream: Stream, value: JsValue | null, inputType: Type, cancellationToken: CancellationToken): void;
89
+ Serialize(value: JsValue | null, inputType?: Type | null, cancellationToken?: CancellationToken): BinaryData;
90
+ SerializeAsync(stream: Stream, value: JsValue | null, inputType: Type, cancellationToken: CancellationToken): ValueTask;
91
+ SerializeAsync(value: JsValue | null, inputType?: Type | null, cancellationToken?: CancellationToken): ValueTask_1<BinaryData>;
91
92
  }
92
93
 
93
94
 
package/Azure.Core.d.ts CHANGED
@@ -34,6 +34,8 @@ export { DelayStrategy as DelayStrategy } from './Azure.Core/internal/index.js';
34
34
  export { DelegatedTokenCredential$instance as DelegatedTokenCredential } from './Azure.Core/internal/index.js';
35
35
  export { DiagnosticsOptions as DiagnosticsOptions } from './Azure.Core/internal/index.js';
36
36
  export { HttpHeader as HttpHeader } from './Azure.Core/internal/index.js';
37
+ export { HttpHeader_Names$instance as HttpHeader_Names } from './Azure.Core/internal/index.js';
38
+ export { HttpHeader_Common$instance as HttpHeader_Common } from './Azure.Core/internal/index.js';
37
39
  export { HttpMessage as HttpMessage } from './Azure.Core/internal/index.js';
38
40
  export { HttpPipelinePosition as HttpPipelinePosition } from './Azure.Core/internal/index.js';
39
41
  export { MessageProcessingContext as MessageProcessingContext } from './Azure.Core/internal/index.js';
@@ -57,5 +59,3 @@ export type SyncAsyncEventHandler<T extends Internal.SyncAsyncEventArgs> = Inter
57
59
  export { TelemetryDetails as TelemetryDetails } from './Azure.Core/internal/index.js';
58
60
  export { TokenCredential as TokenCredential } from './Azure.Core/internal/index.js';
59
61
  export { TokenRequestContext as TokenRequestContext } from './Azure.Core/internal/index.js';
60
- export { HttpHeader_Names$instance as HttpHeader_Names } from './Azure.Core/internal/index.js';
61
- export { HttpHeader_Common$instance as HttpHeader_Common } from './Azure.Core/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: Azure.Identity
3
3
  // Assembly: Azure.Identity
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { HttpPipelinePolicy, HttpPipelineTransport } from "../../Azure.Core.Pipeline/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Azure.Messaging
3
3
  // Assembly: Azure.Core
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { ContentType } from "../../Azure.Core/internal/index.js";
@@ -21,17 +22,17 @@ export enum CloudEventDataFormat {
21
22
  export interface CloudEvent$instance {
22
23
  readonly __tsonic_type_Azure_Messaging_CloudEvent: never;
23
24
 
24
- get Data(): BinaryData | undefined;
25
- set Data(value: BinaryData | undefined);
26
- get DataContentType(): string | undefined;
27
- set DataContentType(value: string | undefined);
28
- get DataSchema(): string | undefined;
29
- set DataSchema(value: string | undefined);
30
- readonly ExtensionAttributes: IDictionary_2<System_Internal.String, unknown>;
25
+ get Data(): BinaryData | null;
26
+ set Data(value: BinaryData | null);
27
+ get DataContentType(): string | null;
28
+ set DataContentType(value: string | null);
29
+ get DataSchema(): string | null;
30
+ set DataSchema(value: string | null);
31
+ readonly ExtensionAttributes: IDictionary_2<System_Internal.String, JsValue>;
31
32
  Id: string;
32
33
  Source: string;
33
- get Subject(): string | undefined;
34
- set Subject(value: string | undefined);
34
+ get Subject(): string | null;
35
+ set Subject(value: string | null);
35
36
  get Time(): Nullable_1<DateTimeOffset>;
36
37
  set Time(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
37
38
  Type: string;
@@ -39,9 +40,9 @@ export interface CloudEvent$instance {
39
40
 
40
41
 
41
42
  export const CloudEvent: {
42
- new(source: string, type: string, jsonSerializableData: unknown, dataSerializationType: Type): CloudEvent;
43
- new(source: string, type: string, data: BinaryData, dataContentType: string, dataFormat: CloudEventDataFormat): CloudEvent;
44
- Parse(json: BinaryData, skipValidation?: boolean): CloudEvent | undefined;
43
+ new(source: string, type: string, jsonSerializableData: JsValue | null, dataSerializationType: Type | null): CloudEvent;
44
+ new(source: string, type: string, data: BinaryData | null, dataContentType: string | null, dataFormat: CloudEventDataFormat): CloudEvent;
45
+ Parse(json: BinaryData, skipValidation?: boolean): CloudEvent | null;
45
46
  ParseMany(json: BinaryData, skipValidation?: boolean): CloudEvent[];
46
47
  };
47
48
 
@@ -55,8 +56,8 @@ export interface MessageContent$instance {
55
56
  set ContentType(value: Nullable_1<ContentType> | ContentType);
56
57
  get ContentTypeCore(): Nullable_1<ContentType>;
57
58
  set ContentTypeCore(value: Nullable_1<ContentType> | ContentType);
58
- get Data(): BinaryData | undefined;
59
- set Data(value: BinaryData | undefined);
59
+ get Data(): BinaryData | null;
60
+ set Data(value: BinaryData | null);
60
61
  readonly IsReadOnly: boolean;
61
62
  }
62
63
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Data
3
3
  // Assembly: Microsoft.Data.SqlClient
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { SqlDbType } from "@tsonic/dotnet/System.Data/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Data.Sql
3
3
  // Assembly: Microsoft.Data.SqlClient
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 System_Data_Common_Internal from "@tsonic/dotnet/System.Data.Common/internal/index.js";
@@ -2,11 +2,9 @@
2
2
  // Namespace: Microsoft.Data.SqlClient
3
3
  // Assembly: Microsoft.Data.SqlClient
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 type { SqlNotificationRequest } from "../../Microsoft.Data.Sql/internal/index.js";
@@ -162,19 +160,19 @@ export enum SqlNotificationType {
162
160
  }
163
161
 
164
162
 
165
- export type OnChangeEventHandler = (sender: unknown, e: SqlNotificationEventArgs) => void;
163
+ export type OnChangeEventHandler = (sender: JsValue, e: SqlNotificationEventArgs) => void;
166
164
 
167
165
 
168
- export type SqlInfoMessageEventHandler = (sender: unknown, e: SqlInfoMessageEventArgs) => void;
166
+ export type SqlInfoMessageEventHandler = (sender: JsValue, e: SqlInfoMessageEventArgs) => void;
169
167
 
170
168
 
171
- export type SqlRowsCopiedEventHandler = (sender: unknown, e: SqlRowsCopiedEventArgs) => void;
169
+ export type SqlRowsCopiedEventHandler = (sender: JsValue, e: SqlRowsCopiedEventArgs) => void;
172
170
 
173
171
 
174
- export type SqlRowUpdatedEventHandler = (sender: unknown, e: SqlRowUpdatedEventArgs) => void;
172
+ export type SqlRowUpdatedEventHandler = (sender: JsValue, e: SqlRowUpdatedEventArgs) => void;
175
173
 
176
174
 
177
- export type SqlRowUpdatingEventHandler = (sender: unknown, e: SqlRowUpdatingEventArgs) => void;
175
+ export type SqlRowUpdatingEventHandler = (sender: JsValue, e: SqlRowUpdatingEventArgs) => void;
178
176
 
179
177
 
180
178
  export interface ActiveDirectoryAuthenticationProvider$instance extends SqlAuthenticationProvider {
@@ -289,8 +287,8 @@ export interface SqlBatch$instance extends DbBatch {
289
287
  ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task_1<System_Internal.Int32>;
290
288
  ExecuteReader(): SqlDataReader;
291
289
  ExecuteReaderAsync(cancellationToken?: CancellationToken): Task_1<SqlDataReader>;
292
- ExecuteScalar(): unknown;
293
- ExecuteScalarAsync(cancellationToken?: CancellationToken): Task_1<unknown>;
290
+ ExecuteScalar(): JsValue;
291
+ ExecuteScalarAsync(cancellationToken?: CancellationToken): Task_1<JsValue>;
294
292
  Prepare(): void;
295
293
  PrepareAsync(cancellationToken?: CancellationToken): Task;
296
294
  }
@@ -633,13 +631,13 @@ export interface SqlCommand$instance extends DbCommand {
633
631
  Transaction: SqlTransaction;
634
632
  UpdatedRowSource: UpdateRowSource;
635
633
  BeginExecuteNonQuery(): IAsyncResult;
636
- BeginExecuteNonQuery(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
634
+ BeginExecuteNonQuery(callback: AsyncCallback, stateObject: JsValue): IAsyncResult;
637
635
  BeginExecuteReader(): IAsyncResult;
638
- BeginExecuteReader(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
639
- BeginExecuteReader(callback: AsyncCallback, stateObject: unknown, behavior: CommandBehavior): IAsyncResult;
636
+ BeginExecuteReader(callback: AsyncCallback, stateObject: JsValue): IAsyncResult;
637
+ BeginExecuteReader(callback: AsyncCallback, stateObject: JsValue, behavior: CommandBehavior): IAsyncResult;
640
638
  BeginExecuteReader(behavior: CommandBehavior): IAsyncResult;
641
639
  BeginExecuteXmlReader(): IAsyncResult;
642
- BeginExecuteXmlReader(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
640
+ BeginExecuteXmlReader(callback: AsyncCallback, stateObject: JsValue): IAsyncResult;
643
641
  Cancel(): void;
644
642
  Clone(): SqlCommand;
645
643
  CreateDbParameter(): DbParameter;
@@ -658,8 +656,8 @@ export interface SqlCommand$instance extends DbCommand {
658
656
  ExecuteReaderAsync(behavior: CommandBehavior): Task_1<SqlDataReader>;
659
657
  ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<SqlDataReader>;
660
658
  ExecuteReaderAsync(cancellationToken: CancellationToken): Task_1<SqlDataReader>;
661
- ExecuteScalar(): unknown;
662
- ExecuteScalarAsync(cancellationToken: CancellationToken): Task_1<unknown>;
659
+ ExecuteScalar(): JsValue;
660
+ ExecuteScalarAsync(cancellationToken: CancellationToken): Task_1<JsValue>;
663
661
  ExecuteXmlReader(): XmlReader;
664
662
  ExecuteXmlReaderAsync(): Task_1<XmlReader>;
665
663
  ExecuteXmlReaderAsync(cancellationToken: CancellationToken): Task_1<XmlReader>;
@@ -783,7 +781,7 @@ export interface SqlConnection$instance extends DbConnection {
783
781
  OpenAsync(cancellationToken: CancellationToken): Task;
784
782
  RegisterColumnEncryptionKeyStoreProvidersOnConnection(customProviders: IDictionary_2<System_Internal.String, SqlColumnEncryptionKeyStoreProvider>): void;
785
783
  ResetStatistics(): void;
786
- RetrieveInternalInfo(): IDictionary_2<System_Internal.String, unknown>;
784
+ RetrieveInternalInfo(): IDictionary_2<System_Internal.String, JsValue>;
787
785
  RetrieveStatistics(): IDictionary;
788
786
  }
789
787
 
@@ -808,7 +806,7 @@ export type SqlConnection = SqlConnection$instance;
808
806
  export interface SqlConnectionEncryptOption$instance {
809
807
  readonly __tsonic_type_Microsoft_Data_SqlClient_SqlConnectionEncryptOption: never;
810
808
 
811
- Equals(obj: unknown): boolean;
809
+ Equals(obj: JsValue): boolean;
812
810
  GetHashCode(): int;
813
811
  ToString(): string;
814
812
  }
@@ -881,7 +879,7 @@ export interface SqlConnectionStringBuilder$instance extends DbConnectionStringB
881
879
  ContainsKey(keyword: string): boolean;
882
880
  Remove(keyword: string): boolean;
883
881
  ShouldSerialize(keyword: string): boolean;
884
- TryGetValue(keyword: string, value: unknown): boolean;
882
+ TryGetValue(keyword: string, value: JsValue): boolean;
885
883
  }
886
884
 
887
885
 
@@ -891,7 +889,7 @@ export const SqlConnectionStringBuilder: {
891
889
  };
892
890
 
893
891
 
894
- export type SqlConnectionStringBuilder = SqlConnectionStringBuilder$instance & { [keyword: string]: unknown; };
892
+ export type SqlConnectionStringBuilder = SqlConnectionStringBuilder$instance & { [keyword: string]: JsValue; };
895
893
 
896
894
  export interface SqlCredential$instance {
897
895
  readonly __tsonic_type_Microsoft_Data_SqlClient_SqlCredential: never;
@@ -955,8 +953,8 @@ export interface SqlDataReader$instance extends DbDataReader {
955
953
  readonly SensitivityClassification: SensitivityClassification;
956
954
  readonly VisibleFieldCount: int;
957
955
  Close(): void;
958
- get_Item(i: int): unknown;
959
- get_Item(name: string): unknown;
956
+ get_Item(i: int): JsValue;
957
+ get_Item(name: string): JsValue;
960
958
  GetBoolean(i: int): boolean;
961
959
  GetByte(i: int): byte;
962
960
  GetBytes(i: int, dataIndex: long, buffer: byte[], bufferIndex: int, length: int): long;
@@ -980,8 +978,8 @@ export interface SqlDataReader$instance extends DbDataReader {
980
978
  GetName(i: int): string;
981
979
  GetOrdinal(name: string): int;
982
980
  GetProviderSpecificFieldType(i: int): Type;
983
- GetProviderSpecificValue(i: int): unknown;
984
- GetProviderSpecificValues(values: unknown[]): int;
981
+ GetProviderSpecificValue(i: int): JsValue;
982
+ GetProviderSpecificValues(values: JsValue[]): int;
985
983
  GetSchemaTable(): DataTable;
986
984
  GetSqlBinary(i: int): SqlBinary;
987
985
  GetSqlBoolean(i: int): SqlBoolean;
@@ -999,16 +997,16 @@ export interface SqlDataReader$instance extends DbDataReader {
999
997
  GetSqlMoney(i: int): SqlMoney;
1000
998
  GetSqlSingle(i: int): SqlSingle;
1001
999
  GetSqlString(i: int): SqlString;
1002
- GetSqlValue(i: int): unknown;
1003
- GetSqlValues(values: unknown[]): int;
1004
- GetSqlVector<T extends unknown>(i: int): SqlVector_1<T>;
1000
+ GetSqlValue(i: int): JsValue;
1001
+ GetSqlValues(values: JsValue[]): int;
1002
+ GetSqlVector<T extends NonNullable<JsValue>>(i: int): SqlVector_1<T>;
1005
1003
  GetSqlXml(i: int): SqlXml;
1006
1004
  GetStream(i: int): Stream;
1007
1005
  GetString(i: int): string;
1008
1006
  GetTextReader(i: int): TextReader;
1009
1007
  GetTimeSpan(i: int): TimeSpan;
1010
- GetValue(i: int): unknown;
1011
- GetValues(values: unknown[]): int;
1008
+ GetValue(i: int): JsValue;
1009
+ GetValues(values: JsValue[]): int;
1012
1010
  GetXmlReader(i: int): XmlReader;
1013
1011
  IsDBNull(i: int): boolean;
1014
1012
  IsDBNullAsync(i: int, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
@@ -1168,10 +1166,10 @@ export interface SqlParameter$instance extends DbParameter {
1168
1166
  SourceColumnNullMapping: boolean;
1169
1167
  SourceVersion: DataRowVersion;
1170
1168
  SqlDbType: SqlDbType;
1171
- SqlValue: unknown;
1169
+ SqlValue: JsValue;
1172
1170
  TypeName: string;
1173
1171
  UdtTypeName: string;
1174
- Value: unknown;
1172
+ Value: JsValue;
1175
1173
  XmlSchemaCollectionDatabase: string;
1176
1174
  XmlSchemaCollectionName: string;
1177
1175
  XmlSchemaCollectionOwningSchema: string;
@@ -1185,10 +1183,10 @@ export const SqlParameter: {
1185
1183
  new(): SqlParameter;
1186
1184
  new(parameterName: string, dbType: SqlDbType): SqlParameter;
1187
1185
  new(parameterName: string, dbType: SqlDbType, size: int): SqlParameter;
1188
- new(parameterName: string, dbType: SqlDbType, size: int, direction: ParameterDirection, isNullable: boolean, precision: byte, scale: byte, sourceColumn: string, sourceVersion: DataRowVersion, value: unknown): SqlParameter;
1189
- new(parameterName: string, dbType: SqlDbType, size: int, direction: ParameterDirection, precision: byte, scale: byte, sourceColumn: string, sourceVersion: DataRowVersion, sourceColumnNullMapping: boolean, value: unknown, xmlSchemaCollectionDatabase: string, xmlSchemaCollectionOwningSchema: string, xmlSchemaCollectionName: string): SqlParameter;
1186
+ new(parameterName: string, dbType: SqlDbType, size: int, direction: ParameterDirection, isNullable: boolean, precision: byte, scale: byte, sourceColumn: string, sourceVersion: DataRowVersion, value: JsValue): SqlParameter;
1187
+ new(parameterName: string, dbType: SqlDbType, size: int, direction: ParameterDirection, precision: byte, scale: byte, sourceColumn: string, sourceVersion: DataRowVersion, sourceColumnNullMapping: boolean, value: JsValue, xmlSchemaCollectionDatabase: string, xmlSchemaCollectionOwningSchema: string, xmlSchemaCollectionName: string): SqlParameter;
1190
1188
  new(parameterName: string, dbType: SqlDbType, size: int, sourceColumn: string): SqlParameter;
1191
- new(parameterName: string, value: unknown): SqlParameter;
1189
+ new(parameterName: string, value: JsValue): SqlParameter;
1192
1190
  };
1193
1191
 
1194
1192
 
@@ -1205,18 +1203,18 @@ export interface SqlParameterCollection$instance extends DbParameterCollection {
1205
1203
  readonly Count: int;
1206
1204
  readonly IsFixedSize: boolean;
1207
1205
  readonly IsReadOnly: boolean;
1208
- readonly SyncRoot: unknown;
1206
+ readonly SyncRoot: JsValue;
1209
1207
  Add(value: SqlParameter): SqlParameter;
1210
- Add(value: unknown): int;
1208
+ Add(value: JsValue): int;
1211
1209
  Add(parameterName: string, sqlDbType: SqlDbType): SqlParameter;
1212
1210
  Add(parameterName: string, sqlDbType: SqlDbType, size: int): SqlParameter;
1213
1211
  Add(parameterName: string, sqlDbType: SqlDbType, size: int, sourceColumn: string): SqlParameter;
1214
1212
  AddRange(values: SqlParameter[]): void;
1215
1213
  AddRange(values: ClrArray): void;
1216
- AddWithValue(parameterName: string, value: unknown): SqlParameter;
1214
+ AddWithValue(parameterName: string, value: JsValue): SqlParameter;
1217
1215
  Clear(): void;
1218
1216
  Contains(value: SqlParameter): boolean;
1219
- Contains(value: unknown): boolean;
1217
+ Contains(value: JsValue): boolean;
1220
1218
  Contains(value: string): boolean;
1221
1219
  CopyTo(array: SqlParameter[], index: int): void;
1222
1220
  CopyTo(array: ClrArray, index: int): void;
@@ -1226,12 +1224,12 @@ export interface SqlParameterCollection$instance extends DbParameterCollection {
1226
1224
  GetParameter(index: int): DbParameter;
1227
1225
  GetParameter(parameterName: string): DbParameter;
1228
1226
  IndexOf(value: SqlParameter): int;
1229
- IndexOf(value: unknown): int;
1227
+ IndexOf(value: JsValue): int;
1230
1228
  IndexOf(parameterName: string): int;
1231
1229
  Insert(index: int, value: SqlParameter): void;
1232
- Insert(index: int, value: unknown): void;
1230
+ Insert(index: int, value: JsValue): void;
1233
1231
  Remove(value: SqlParameter): void;
1234
- Remove(value: unknown): void;
1232
+ Remove(value: JsValue): void;
1235
1233
  RemoveAt(index: int): void;
1236
1234
  RemoveAt(parameterName: string): void;
1237
1235
  set_Item(index: int, value: SqlParameter): void;
@@ -1276,7 +1274,7 @@ export interface SqlRetryIntervalBaseEnumerator$instance {
1276
1274
  GapTimeInterval: TimeSpan;
1277
1275
  MaxTimeInterval: TimeSpan;
1278
1276
  MinTimeInterval: TimeSpan;
1279
- Clone(): unknown;
1277
+ Clone(): JsValue;
1280
1278
  Dispose(): void;
1281
1279
  GetNextInterval(): TimeSpan;
1282
1280
  MoveNext(): boolean;
@@ -1300,9 +1298,9 @@ export interface SqlRetryLogicBase$instance {
1300
1298
  NumberOfTries: int;
1301
1299
  RetryIntervalEnumerator: SqlRetryIntervalBaseEnumerator;
1302
1300
  TransientPredicate: Predicate_1<Exception>;
1303
- Clone(): unknown;
1301
+ Clone(): JsValue;
1304
1302
  Reset(): void;
1305
- RetryCondition(sender: unknown): boolean;
1303
+ RetryCondition(sender: JsValue): boolean;
1306
1304
  TryNextInterval(intervalTime: TimeSpan): boolean;
1307
1305
  }
1308
1306
 
@@ -1318,9 +1316,9 @@ export interface SqlRetryLogicBaseProvider$instance {
1318
1316
 
1319
1317
  Retrying: EventHandler_1<SqlRetryingEventArgs>;
1320
1318
  RetryLogic: SqlRetryLogicBase;
1321
- Execute<TResult>(sender: unknown, function_: Func_1<TResult>): TResult;
1322
- ExecuteAsync(sender: unknown, function_: Func_1<Task>, cancellationToken?: CancellationToken): Task;
1323
- ExecuteAsync<TResult>(sender: unknown, function_: Func_1<Task_1<TResult>>, cancellationToken?: CancellationToken): Task_1<TResult>;
1319
+ Execute<TResult>(sender: JsValue, function_: Func_1<TResult>): TResult;
1320
+ ExecuteAsync(sender: JsValue, function_: Func_1<Task>, cancellationToken?: CancellationToken): Task;
1321
+ ExecuteAsync<TResult>(sender: JsValue, function_: Func_1<Task_1<TResult>>, cancellationToken?: CancellationToken): Task_1<TResult>;
1324
1322
  }
1325
1323
 
1326
1324
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Data.SqlClient.DataClassification
3
3
  // Assembly: Microsoft.Data.SqlClient
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";