@tsonic/aspnetcore 10.0.2 → 10.0.6
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/Microsoft.AspNetCore/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +27 -9
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +250 -112
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +64 -34
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +47 -28
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +28 -11
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +137 -75
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +53 -32
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +221 -139
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +358 -187
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +46 -17
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +220 -89
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +10 -5
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +44 -13
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +16 -8
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +55 -22
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +33 -20
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +105 -37
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +27 -15
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +130 -49
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +64 -20
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +19 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +55 -29
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +43 -20
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +28 -16
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +59 -27
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +32 -19
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +19 -5
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +31 -15
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +58 -32
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +64 -21
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +89 -47
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +9 -5
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +16 -4
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +31 -13
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +408 -199
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +34 -16
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +21 -16
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +208 -88
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +378 -171
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +74 -26
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +18 -8
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +23 -11
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +725 -456
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +57 -27
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +724 -205
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +27 -13
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +37 -13
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +76 -30
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +244 -125
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +59 -25
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +21 -10
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +51 -24
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +12 -7
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +431 -68
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +140 -44
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +192 -89
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +77 -36
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +162 -66
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +48 -25
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +379 -133
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +217 -128
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +156 -102
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +100 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +105 -56
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +19 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +81 -42
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +70 -37
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +123 -95
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +57 -25
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +151 -72
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +41 -23
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +94 -48
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +24 -11
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +266 -144
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +44 -26
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +22 -12
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +28 -10
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +100 -31
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +18 -10
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +64 -29
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +20 -12
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +291 -131
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +191 -79
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +61 -25
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +40 -20
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +29 -13
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +50 -18
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +12 -4
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +56 -36
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +17 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +20 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +29 -18
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +32 -22
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +191 -91
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +63 -25
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +21 -11
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +38 -22
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
- package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +119 -73
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +135 -123
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
- package/Microsoft.Extensions.Hosting.d.ts +3 -0
- package/Microsoft.JSInterop/internal/index.d.ts +95 -52
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +40 -26
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +10 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +92 -60
- package/System.Formats.Cbor/internal/index.d.ts +29 -21
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +3 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +84 -29
- package/__internal/extensions/index.d.ts +1776 -1190
- package/package.json +4 -4
|
@@ -11,14 +11,16 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { IModelMetadataProvider, ModelMetadata, ModelStateDictionary } from "../../Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.js";
|
|
13
13
|
import type { ActionContext } from "../../Microsoft.AspNetCore.Mvc/internal/index.js";
|
|
14
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
15
|
-
import type {
|
|
16
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
17
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
18
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
19
|
-
import type { Attribute, Boolean as ClrBoolean,
|
|
14
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IList_1, IReadOnlyCollection_1, IReadOnlyDictionary_2, IReadOnlyList_1, KeyValuePair_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
16
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
17
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
18
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { Attribute, Boolean as ClrBoolean, Func_1, Int32, Nullable_1, Object as ClrObject, String as ClrString, Type, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
20
20
|
|
|
21
21
|
export interface IClientModelValidator$instance {
|
|
22
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IClientModelValidator: never;
|
|
23
|
+
|
|
22
24
|
AddValidation(context: ClientModelValidationContext): void;
|
|
23
25
|
}
|
|
24
26
|
|
|
@@ -26,6 +28,8 @@ export interface IClientModelValidator$instance {
|
|
|
26
28
|
export type IClientModelValidator = IClientModelValidator$instance;
|
|
27
29
|
|
|
28
30
|
export interface IClientModelValidatorProvider$instance {
|
|
31
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IClientModelValidatorProvider: never;
|
|
32
|
+
|
|
29
33
|
CreateValidators(context: ClientValidatorProviderContext): void;
|
|
30
34
|
}
|
|
31
35
|
|
|
@@ -33,8 +37,10 @@ export interface IClientModelValidatorProvider$instance {
|
|
|
33
37
|
export type IClientModelValidatorProvider = IClientModelValidatorProvider$instance;
|
|
34
38
|
|
|
35
39
|
export interface IMetadataBasedModelValidatorProvider$instance extends IModelValidatorProvider {
|
|
40
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IMetadataBasedModelValidatorProvider: never;
|
|
41
|
+
|
|
36
42
|
CreateValidators(context: ModelValidatorProviderContext): void;
|
|
37
|
-
HasValidators(modelType: Type, validatorMetadata:
|
|
43
|
+
HasValidators(modelType: Type, validatorMetadata: IList_1<unknown>): boolean;
|
|
38
44
|
}
|
|
39
45
|
|
|
40
46
|
|
|
@@ -43,13 +49,17 @@ export interface IMetadataBasedModelValidatorProvider$instance extends IModelVal
|
|
|
43
49
|
export type IMetadataBasedModelValidatorProvider = IMetadataBasedModelValidatorProvider$instance;
|
|
44
50
|
|
|
45
51
|
export interface IModelValidator$instance {
|
|
46
|
-
|
|
52
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IModelValidator: never;
|
|
53
|
+
|
|
54
|
+
Validate(context: ModelValidationContext): IEnumerable_1<ModelValidationResult>;
|
|
47
55
|
}
|
|
48
56
|
|
|
49
57
|
|
|
50
58
|
export type IModelValidator = IModelValidator$instance;
|
|
51
59
|
|
|
52
60
|
export interface IModelValidatorProvider$instance {
|
|
61
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IModelValidatorProvider: never;
|
|
62
|
+
|
|
53
63
|
CreateValidators(context: ModelValidatorProviderContext): void;
|
|
54
64
|
}
|
|
55
65
|
|
|
@@ -57,6 +67,8 @@ export interface IModelValidatorProvider$instance {
|
|
|
57
67
|
export type IModelValidatorProvider = IModelValidatorProvider$instance;
|
|
58
68
|
|
|
59
69
|
export interface IObjectModelValidator$instance {
|
|
70
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IObjectModelValidator: never;
|
|
71
|
+
|
|
60
72
|
Validate(actionContext: ActionContext, validationState: ValidationStateDictionary, prefix: string, model: unknown): void;
|
|
61
73
|
}
|
|
62
74
|
|
|
@@ -64,6 +76,8 @@ export interface IObjectModelValidator$instance {
|
|
|
64
76
|
export type IObjectModelValidator = IObjectModelValidator$instance;
|
|
65
77
|
|
|
66
78
|
export interface IPropertyValidationFilter$instance {
|
|
79
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IPropertyValidationFilter: never;
|
|
80
|
+
|
|
67
81
|
ShouldValidateEntry(entry: ValidationEntry, parentEntry: ValidationEntry): boolean;
|
|
68
82
|
}
|
|
69
83
|
|
|
@@ -71,13 +85,17 @@ export interface IPropertyValidationFilter$instance {
|
|
|
71
85
|
export type IPropertyValidationFilter = IPropertyValidationFilter$instance;
|
|
72
86
|
|
|
73
87
|
export interface IValidationStrategy$instance {
|
|
74
|
-
|
|
88
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IValidationStrategy: never;
|
|
89
|
+
|
|
90
|
+
GetChildren(metadata: ModelMetadata, key: string, model: unknown): IEnumerator_1<ValidationEntry>;
|
|
75
91
|
}
|
|
76
92
|
|
|
77
93
|
|
|
78
94
|
export type IValidationStrategy = IValidationStrategy$instance;
|
|
79
95
|
|
|
80
96
|
export interface ValidationEntry$instance {
|
|
97
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ValidationEntry: never;
|
|
98
|
+
|
|
81
99
|
readonly Key: string;
|
|
82
100
|
readonly Metadata: ModelMetadata;
|
|
83
101
|
readonly Model: unknown | undefined;
|
|
@@ -86,26 +104,30 @@ export interface ValidationEntry$instance {
|
|
|
86
104
|
|
|
87
105
|
export const ValidationEntry: {
|
|
88
106
|
new(metadata: ModelMetadata, key: string, model: unknown): ValidationEntry;
|
|
89
|
-
new(metadata: ModelMetadata, key: string, modelAccessor:
|
|
107
|
+
new(metadata: ModelMetadata, key: string, modelAccessor: Func_1<unknown>): ValidationEntry;
|
|
90
108
|
};
|
|
91
109
|
|
|
92
110
|
|
|
93
111
|
export type ValidationEntry = ValidationEntry$instance;
|
|
94
112
|
|
|
95
113
|
export interface ClientModelValidationContext$instance extends ModelValidationContextBase {
|
|
96
|
-
readonly
|
|
114
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ClientModelValidationContext: never;
|
|
115
|
+
|
|
116
|
+
readonly Attributes: IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
97
117
|
}
|
|
98
118
|
|
|
99
119
|
|
|
100
120
|
export const ClientModelValidationContext: {
|
|
101
|
-
new(actionContext: ActionContext, metadata: ModelMetadata, metadataProvider: IModelMetadataProvider, attributes:
|
|
121
|
+
new(actionContext: ActionContext, metadata: ModelMetadata, metadataProvider: IModelMetadataProvider, attributes: IDictionary_2<System_Internal.String, System_Internal.String>): ClientModelValidationContext;
|
|
102
122
|
};
|
|
103
123
|
|
|
104
124
|
|
|
105
125
|
export type ClientModelValidationContext = ClientModelValidationContext$instance;
|
|
106
126
|
|
|
107
127
|
export interface ClientValidatorCache$instance {
|
|
108
|
-
|
|
128
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ClientValidatorCache: never;
|
|
129
|
+
|
|
130
|
+
GetValidators(metadata: ModelMetadata, validatorProvider: IClientModelValidatorProvider): IReadOnlyList_1<IClientModelValidator>;
|
|
109
131
|
}
|
|
110
132
|
|
|
111
133
|
|
|
@@ -117,6 +139,8 @@ export const ClientValidatorCache: {
|
|
|
117
139
|
export type ClientValidatorCache = ClientValidatorCache$instance;
|
|
118
140
|
|
|
119
141
|
export interface ClientValidatorItem$instance {
|
|
142
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ClientValidatorItem: never;
|
|
143
|
+
|
|
120
144
|
IsReusable: boolean;
|
|
121
145
|
get Validator(): IClientModelValidator | undefined;
|
|
122
146
|
set Validator(value: IClientModelValidator | undefined);
|
|
@@ -133,27 +157,33 @@ export const ClientValidatorItem: {
|
|
|
133
157
|
export type ClientValidatorItem = ClientValidatorItem$instance;
|
|
134
158
|
|
|
135
159
|
export interface ClientValidatorProviderContext$instance {
|
|
160
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ClientValidatorProviderContext: never;
|
|
161
|
+
|
|
136
162
|
readonly ModelMetadata: ModelMetadata;
|
|
137
|
-
readonly Results:
|
|
138
|
-
readonly ValidatorMetadata:
|
|
163
|
+
readonly Results: IList_1<ClientValidatorItem>;
|
|
164
|
+
readonly ValidatorMetadata: IReadOnlyList_1<unknown>;
|
|
139
165
|
}
|
|
140
166
|
|
|
141
167
|
|
|
142
168
|
export const ClientValidatorProviderContext: {
|
|
143
|
-
new(modelMetadata: ModelMetadata, items:
|
|
169
|
+
new(modelMetadata: ModelMetadata, items: IList_1<ClientValidatorItem>): ClientValidatorProviderContext;
|
|
144
170
|
};
|
|
145
171
|
|
|
146
172
|
|
|
147
173
|
export type ClientValidatorProviderContext = ClientValidatorProviderContext$instance;
|
|
148
174
|
|
|
149
|
-
export interface CompositeClientModelValidatorProvider$instance {
|
|
150
|
-
readonly
|
|
175
|
+
export interface CompositeClientModelValidatorProvider$instance extends IClientModelValidatorProvider$instance {
|
|
176
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_CompositeClientModelValidatorProvider: never;
|
|
177
|
+
|
|
178
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IClientModelValidatorProvider: never;
|
|
179
|
+
|
|
180
|
+
readonly ValidatorProviders: IReadOnlyList_1<IClientModelValidatorProvider>;
|
|
151
181
|
CreateValidators(context: ClientValidatorProviderContext): void;
|
|
152
182
|
}
|
|
153
183
|
|
|
154
184
|
|
|
155
185
|
export const CompositeClientModelValidatorProvider: {
|
|
156
|
-
new(providers:
|
|
186
|
+
new(providers: IEnumerable_1<IClientModelValidatorProvider>): CompositeClientModelValidatorProvider;
|
|
157
187
|
};
|
|
158
188
|
|
|
159
189
|
|
|
@@ -161,19 +191,21 @@ export interface __CompositeClientModelValidatorProvider$views {
|
|
|
161
191
|
As_IClientModelValidatorProvider(): IClientModelValidatorProvider$instance;
|
|
162
192
|
}
|
|
163
193
|
|
|
164
|
-
export interface CompositeClientModelValidatorProvider$instance extends IClientModelValidatorProvider$instance {}
|
|
165
|
-
|
|
166
194
|
export type CompositeClientModelValidatorProvider = CompositeClientModelValidatorProvider$instance & __CompositeClientModelValidatorProvider$views;
|
|
167
195
|
|
|
168
196
|
|
|
169
|
-
export interface CompositeModelValidatorProvider$instance {
|
|
170
|
-
readonly
|
|
197
|
+
export interface CompositeModelValidatorProvider$instance extends IModelValidatorProvider$instance {
|
|
198
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_CompositeModelValidatorProvider: never;
|
|
199
|
+
|
|
200
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IModelValidatorProvider: never;
|
|
201
|
+
|
|
202
|
+
readonly ValidatorProviders: IList_1<IModelValidatorProvider>;
|
|
171
203
|
CreateValidators(context: ModelValidatorProviderContext): void;
|
|
172
204
|
}
|
|
173
205
|
|
|
174
206
|
|
|
175
207
|
export const CompositeModelValidatorProvider: {
|
|
176
|
-
new(providers:
|
|
208
|
+
new(providers: IList_1<IModelValidatorProvider>): CompositeModelValidatorProvider;
|
|
177
209
|
};
|
|
178
210
|
|
|
179
211
|
|
|
@@ -181,12 +213,12 @@ export interface __CompositeModelValidatorProvider$views {
|
|
|
181
213
|
As_IModelValidatorProvider(): IModelValidatorProvider$instance;
|
|
182
214
|
}
|
|
183
215
|
|
|
184
|
-
export interface CompositeModelValidatorProvider$instance extends IModelValidatorProvider$instance {}
|
|
185
|
-
|
|
186
216
|
export type CompositeModelValidatorProvider = CompositeModelValidatorProvider$instance & __CompositeModelValidatorProvider$views;
|
|
187
217
|
|
|
188
218
|
|
|
189
219
|
export interface ModelValidationContext$instance extends ModelValidationContextBase {
|
|
220
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ModelValidationContext: never;
|
|
221
|
+
|
|
190
222
|
readonly Container: unknown | undefined;
|
|
191
223
|
readonly Model: unknown | undefined;
|
|
192
224
|
}
|
|
@@ -200,6 +232,8 @@ export const ModelValidationContext: {
|
|
|
200
232
|
export type ModelValidationContext = ModelValidationContext$instance;
|
|
201
233
|
|
|
202
234
|
export interface ModelValidationContextBase$instance {
|
|
235
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ModelValidationContextBase: never;
|
|
236
|
+
|
|
203
237
|
readonly ActionContext: ActionContext;
|
|
204
238
|
readonly MetadataProvider: IModelMetadataProvider;
|
|
205
239
|
readonly ModelMetadata: ModelMetadata;
|
|
@@ -214,6 +248,8 @@ export const ModelValidationContextBase: {
|
|
|
214
248
|
export type ModelValidationContextBase = ModelValidationContextBase$instance;
|
|
215
249
|
|
|
216
250
|
export interface ModelValidationResult$instance {
|
|
251
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ModelValidationResult: never;
|
|
252
|
+
|
|
217
253
|
readonly MemberName: string;
|
|
218
254
|
readonly Message: string;
|
|
219
255
|
}
|
|
@@ -227,20 +263,26 @@ export const ModelValidationResult: {
|
|
|
227
263
|
export type ModelValidationResult = ModelValidationResult$instance;
|
|
228
264
|
|
|
229
265
|
export interface ModelValidatorProviderContext$instance {
|
|
266
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ModelValidatorProviderContext: never;
|
|
267
|
+
|
|
230
268
|
ModelMetadata: ModelMetadata;
|
|
231
|
-
readonly Results:
|
|
232
|
-
readonly ValidatorMetadata:
|
|
269
|
+
readonly Results: IList_1<ValidatorItem>;
|
|
270
|
+
readonly ValidatorMetadata: IReadOnlyList_1<unknown>;
|
|
233
271
|
}
|
|
234
272
|
|
|
235
273
|
|
|
236
274
|
export const ModelValidatorProviderContext: {
|
|
237
|
-
new(modelMetadata: ModelMetadata, items:
|
|
275
|
+
new(modelMetadata: ModelMetadata, items: IList_1<ValidatorItem>): ModelValidatorProviderContext;
|
|
238
276
|
};
|
|
239
277
|
|
|
240
278
|
|
|
241
279
|
export type ModelValidatorProviderContext = ModelValidatorProviderContext$instance;
|
|
242
280
|
|
|
243
|
-
export interface ValidateNeverAttribute$instance extends Attribute {
|
|
281
|
+
export interface ValidateNeverAttribute$instance extends Attribute, IPropertyValidationFilter$instance {
|
|
282
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ValidateNeverAttribute: never;
|
|
283
|
+
|
|
284
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IPropertyValidationFilter: never;
|
|
285
|
+
|
|
244
286
|
ShouldValidateEntry(entry: ValidationEntry, parentEntry: ValidationEntry): boolean;
|
|
245
287
|
}
|
|
246
288
|
|
|
@@ -254,26 +296,33 @@ export interface __ValidateNeverAttribute$views {
|
|
|
254
296
|
As_IPropertyValidationFilter(): IPropertyValidationFilter$instance;
|
|
255
297
|
}
|
|
256
298
|
|
|
257
|
-
export interface ValidateNeverAttribute$instance extends IPropertyValidationFilter$instance {}
|
|
258
|
-
|
|
259
299
|
export type ValidateNeverAttribute = ValidateNeverAttribute$instance & __ValidateNeverAttribute$views;
|
|
260
300
|
|
|
261
301
|
|
|
262
302
|
export interface ValidationStateDictionary$instance {
|
|
303
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ValidationStateDictionary: never;
|
|
304
|
+
|
|
305
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
306
|
+
readonly __tsonic_iface_System_Collections_Generic_IDictionary_2: never;
|
|
307
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
308
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyCollection_1: never;
|
|
309
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyDictionary_2: never;
|
|
310
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
311
|
+
|
|
263
312
|
readonly Count: int;
|
|
264
313
|
readonly IsReadOnly: boolean;
|
|
265
314
|
get Item(): ValidationStateEntry | undefined;
|
|
266
315
|
set Item(value: ValidationStateEntry | undefined);
|
|
267
|
-
readonly Keys:
|
|
268
|
-
readonly Values:
|
|
269
|
-
Add(item:
|
|
316
|
+
readonly Keys: ICollection_1<unknown>;
|
|
317
|
+
readonly Values: ICollection_1<ValidationStateEntry>;
|
|
318
|
+
Add(item: KeyValuePair_2<unknown, ValidationStateEntry>): void;
|
|
270
319
|
Add(key: unknown, value: ValidationStateEntry): void;
|
|
271
320
|
Clear(): void;
|
|
272
|
-
Contains(item:
|
|
321
|
+
Contains(item: KeyValuePair_2<unknown, ValidationStateEntry>): boolean;
|
|
273
322
|
ContainsKey(key: unknown): boolean;
|
|
274
|
-
CopyTo(array:
|
|
275
|
-
GetEnumerator():
|
|
276
|
-
Remove(item:
|
|
323
|
+
CopyTo(array: KeyValuePair_2<unknown, ValidationStateEntry>[], arrayIndex: int): void;
|
|
324
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<unknown, ValidationStateEntry>>;
|
|
325
|
+
Remove(item: KeyValuePair_2<unknown, ValidationStateEntry>): boolean;
|
|
277
326
|
Remove(key: unknown): boolean;
|
|
278
327
|
TryGetValue(key: unknown, value: ValidationStateEntry): boolean;
|
|
279
328
|
}
|
|
@@ -287,6 +336,8 @@ export const ValidationStateDictionary: {
|
|
|
287
336
|
export type ValidationStateDictionary = ValidationStateDictionary$instance;
|
|
288
337
|
|
|
289
338
|
export interface ValidationStateEntry$instance {
|
|
339
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ValidationStateEntry: never;
|
|
340
|
+
|
|
290
341
|
Key: string;
|
|
291
342
|
Metadata: ModelMetadata;
|
|
292
343
|
Strategy: IValidationStrategy;
|
|
@@ -302,7 +353,9 @@ export const ValidationStateEntry: {
|
|
|
302
353
|
export type ValidationStateEntry = ValidationStateEntry$instance;
|
|
303
354
|
|
|
304
355
|
export interface ValidationVisitor$instance {
|
|
305
|
-
|
|
356
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ValidationVisitor: never;
|
|
357
|
+
|
|
358
|
+
MaxValidationDepth: Nullable_1<System_Internal.Int32>;
|
|
306
359
|
ValidateComplexTypesIfChildValidationFails: boolean;
|
|
307
360
|
GetValidationEntry(model: unknown): ValidationStateEntry | undefined;
|
|
308
361
|
SuppressValidation(key: string): void;
|
|
@@ -325,7 +378,9 @@ export const ValidationVisitor: {
|
|
|
325
378
|
export type ValidationVisitor = ValidationVisitor$instance;
|
|
326
379
|
|
|
327
380
|
export interface ValidatorCache$instance {
|
|
328
|
-
|
|
381
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ValidatorCache: never;
|
|
382
|
+
|
|
383
|
+
GetValidators(metadata: ModelMetadata, validatorProvider: IModelValidatorProvider): IReadOnlyList_1<IModelValidator>;
|
|
329
384
|
}
|
|
330
385
|
|
|
331
386
|
|
|
@@ -337,6 +392,8 @@ export const ValidatorCache: {
|
|
|
337
392
|
export type ValidatorCache = ValidatorCache$instance;
|
|
338
393
|
|
|
339
394
|
export interface ValidatorItem$instance {
|
|
395
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_ValidatorItem: never;
|
|
396
|
+
|
|
340
397
|
IsReusable: boolean;
|
|
341
398
|
get Validator(): IModelValidator | undefined;
|
|
342
399
|
set Validator(value: IModelValidator | undefined);
|
|
@@ -353,8 +410,8 @@ export const ValidatorItem: {
|
|
|
353
410
|
export type ValidatorItem = ValidatorItem$instance;
|
|
354
411
|
|
|
355
412
|
export abstract class ModelValidatorProviderExtensions$instance {
|
|
356
|
-
static RemoveType(list:
|
|
357
|
-
static RemoveType<TModelValidatorProvider extends IModelValidatorProvider>(list:
|
|
413
|
+
static RemoveType(list: IList_1<IModelValidatorProvider>, type: Type): void;
|
|
414
|
+
static RemoveType<TModelValidatorProvider extends IModelValidatorProvider>(list: IList_1<IModelValidatorProvider>): void;
|
|
358
415
|
}
|
|
359
416
|
|
|
360
417
|
|
|
@@ -39,3 +39,6 @@ export { ModelValidatorProviderExtensions$instance as ModelValidatorProviderExte
|
|
|
39
39
|
export { ValidateNeverAttribute as ValidateNeverAttribute } from './Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.js';
|
|
40
40
|
export { ValidationVisitor as ValidationVisitor } from './Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.js';
|
|
41
41
|
export { ValidatorCache as ValidatorCache } from './Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.js';
|
|
42
|
+
// Extension methods (C# using semantics)
|
|
43
|
+
export type { ExtensionMethods_Microsoft_AspNetCore_Mvc_ModelBinding_Validation as ExtensionMethods } from './__internal/extensions/index.js';
|
|
44
|
+
|