@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
|
@@ -5,14 +5,18 @@
|
|
|
5
5
|
// Primitive type aliases from @tsonic/core
|
|
6
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';
|
|
7
7
|
|
|
8
|
+
// Import support types from @tsonic/core
|
|
9
|
+
import type { ptr } from "@tsonic/core/types.js";
|
|
10
|
+
|
|
8
11
|
// Import types from other namespaces
|
|
12
|
+
import type { IReadOnlyList } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
9
13
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, Void } from "@tsonic/dotnet/System.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
11
15
|
import type { IDiagnosticsLogger } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js";
|
|
12
16
|
import * as Microsoft_EntityFrameworkCore_Infrastructure_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
13
17
|
import type { DbContextOptionsExtensionInfo, IDbContextOptions, IDbContextOptionsExtension, IModelValidator, ISingletonOptions, ModelValidatorDependencies, RelationalModelValidator, RelationalModelValidatorDependencies, RelationalOptionsExtension } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
14
18
|
import type { DbLoggerCategory$Model$Validation } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.js";
|
|
15
|
-
import type { IModel } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
|
|
19
|
+
import type { IEntityType, IIndex, IKey, IModel, IProperty, StoreObjectIdentifier } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
|
|
16
20
|
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
17
21
|
|
|
18
22
|
export enum SqlServerEngineType {
|
|
@@ -36,7 +40,23 @@ export interface ISqlServerSingletonOptions$instance extends ISingletonOptions {
|
|
|
36
40
|
|
|
37
41
|
export type ISqlServerSingletonOptions = ISqlServerSingletonOptions$instance;
|
|
38
42
|
|
|
39
|
-
export
|
|
43
|
+
export abstract class SqlServerModelValidator$protected {
|
|
44
|
+
protected ValidateByteIdentityMapping(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
45
|
+
protected ValidateCompatible(property: IProperty, duplicateProperty: IProperty, columnName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
46
|
+
protected ValidateCompatible(key: IKey, duplicateKey: IKey, keyName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
47
|
+
protected ValidateCompatible(index: IIndex, duplicateIndex: IIndex, indexName: string, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
48
|
+
protected ValidateDecimalColumns(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
49
|
+
protected ValidateIndexIncludeProperties(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
50
|
+
protected ValidateSharedColumnsCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
51
|
+
protected ValidateSharedTableCompatibility(mappedTypes: IReadOnlyList<IEntityType>, storeObject: StoreObjectIdentifier, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
52
|
+
protected ValidateTemporalTables(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
53
|
+
protected ValidateTypeMappings(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
54
|
+
protected ValidateValueGeneration(entityType: IEntityType, key: IKey, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
55
|
+
protected ValidateVectorColumns(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export interface SqlServerModelValidator$instance extends SqlServerModelValidator$protected, RelationalModelValidator {
|
|
40
60
|
Validate(model: IModel, logger: IDiagnosticsLogger<DbLoggerCategory$Model$Validation>): void;
|
|
41
61
|
}
|
|
42
62
|
|
|
@@ -48,7 +68,12 @@ export const SqlServerModelValidator: {
|
|
|
48
68
|
|
|
49
69
|
export type SqlServerModelValidator = SqlServerModelValidator$instance;
|
|
50
70
|
|
|
51
|
-
export
|
|
71
|
+
export abstract class SqlServerOptionsExtension$protected {
|
|
72
|
+
protected Clone(): RelationalOptionsExtension;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
export interface SqlServerOptionsExtension$instance extends SqlServerOptionsExtension$protected, RelationalOptionsExtension {
|
|
52
77
|
readonly AzureSqlCompatibilityLevel: int;
|
|
53
78
|
readonly AzureSynapseCompatibilityLevel: int;
|
|
54
79
|
readonly EngineType: SqlServerEngineType;
|
|
@@ -69,6 +94,7 @@ export interface SqlServerOptionsExtension$instance extends RelationalOptionsExt
|
|
|
69
94
|
|
|
70
95
|
export const SqlServerOptionsExtension: {
|
|
71
96
|
new(): SqlServerOptionsExtension;
|
|
97
|
+
new(copyFrom: SqlServerOptionsExtension): SqlServerOptionsExtension;
|
|
72
98
|
readonly SqlServerDefaultCompatibilityLevel: int;
|
|
73
99
|
readonly AzureSqlDefaultCompatibilityLevel: int;
|
|
74
100
|
readonly AzureSynapseDefaultCompatibilityLevel: int;
|
|
@@ -78,10 +104,10 @@ export const SqlServerOptionsExtension: {
|
|
|
78
104
|
export type SqlServerOptionsExtension = SqlServerOptionsExtension$instance;
|
|
79
105
|
|
|
80
106
|
export interface SqlServerSingletonOptions$instance {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
107
|
+
AzureSqlCompatibilityLevel: int;
|
|
108
|
+
AzureSynapseCompatibilityLevel: int;
|
|
109
|
+
EngineType: SqlServerEngineType;
|
|
110
|
+
SqlServerCompatibilityLevel: int;
|
|
85
111
|
readonly SupportsJsonFunctions: boolean;
|
|
86
112
|
readonly SupportsJsonObjectArray: boolean;
|
|
87
113
|
readonly SupportsJsonType: boolean;
|
|
@@ -99,8 +125,6 @@ export interface __SqlServerSingletonOptions$views {
|
|
|
99
125
|
As_ISqlServerSingletonOptions(): ISqlServerSingletonOptions$instance;
|
|
100
126
|
}
|
|
101
127
|
|
|
102
|
-
export interface SqlServerSingletonOptions$instance extends ISqlServerSingletonOptions$instance {}
|
|
103
|
-
|
|
104
128
|
export type SqlServerSingletonOptions = SqlServerSingletonOptions$instance & __SqlServerSingletonOptions$views;
|
|
105
129
|
|
|
106
130
|
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
import * as Internal from './Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.js';
|
|
7
7
|
|
|
8
8
|
// Cross-namespace type imports for constraints
|
|
9
|
-
import type {
|
|
9
|
+
import type { IReadOnlyList } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
|
+
import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, Void } from '@tsonic/dotnet/System.js';
|
|
10
11
|
import type { IDiagnosticsLogger } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Diagnostics.js';
|
|
11
12
|
import type { DbContextOptionsExtensionInfo, IDbContextOptions, IDbContextOptionsExtension, IModelValidator, ISingletonOptions, ModelValidatorDependencies, RelationalModelValidator, RelationalModelValidatorDependencies, RelationalOptionsExtension } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js';
|
|
12
13
|
import type { DbLoggerCategory$Model$Validation } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.js';
|
|
13
|
-
import type { IModel } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
|
|
14
|
+
import type { IEntityType, IIndex, IKey, IModel, IProperty, StoreObjectIdentifier } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
|
|
14
15
|
import type { IServiceCollection } from '@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js';
|
|
15
16
|
|
|
16
17
|
// Public API exports (curated - no internal $instance/$views leakage)
|