@tsonic/aspnetcore 10.0.39 → 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.
- package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Components.d.ts +1 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Http/bindings.json +470 -530
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.d.ts +4 -4
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Routing.d.ts +1 -1
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.JSInterop/internal/index.d.ts +46 -48
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/README.md +58 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
- package/__internal/extensions/index.d.ts +417 -419
- package/package.json +4 -4
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Routing.Constraints
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
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 { HttpContext } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -48,7 +49,7 @@ export interface BoolRouteConstraint$instance extends IParameterPolicy, Microsof
|
|
|
48
49
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
49
50
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
50
51
|
|
|
51
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
52
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
|
|
@@ -73,7 +74,7 @@ export interface CompositeRouteConstraint$instance extends IParameterPolicy, Mic
|
|
|
73
74
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
74
75
|
|
|
75
76
|
Constraints: IEnumerable_1<IRouteConstraint>;
|
|
76
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
77
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
|
|
@@ -98,7 +99,7 @@ export interface DateTimeRouteConstraint$instance extends IParameterPolicy, Micr
|
|
|
98
99
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
99
100
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
100
101
|
|
|
101
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
102
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
|
|
@@ -123,7 +124,7 @@ export interface DecimalRouteConstraint$instance extends IParameterPolicy, Micro
|
|
|
123
124
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
124
125
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
125
126
|
|
|
126
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
127
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
|
|
@@ -148,7 +149,7 @@ export interface DoubleRouteConstraint$instance extends IParameterPolicy, Micros
|
|
|
148
149
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
149
150
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
150
151
|
|
|
151
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
152
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
|
|
@@ -173,7 +174,7 @@ export interface FileNameRouteConstraint$instance extends IParameterPolicy, Micr
|
|
|
173
174
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
174
175
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
175
176
|
|
|
176
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
177
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
|
|
@@ -198,7 +199,7 @@ export interface FloatRouteConstraint$instance extends IParameterPolicy, Microso
|
|
|
198
199
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
199
200
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
200
201
|
|
|
201
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
202
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
|
|
@@ -223,7 +224,7 @@ export interface GuidRouteConstraint$instance extends IParameterPolicy, Microsof
|
|
|
223
224
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
224
225
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
225
226
|
|
|
226
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
227
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
227
228
|
}
|
|
228
229
|
|
|
229
230
|
|
|
@@ -247,7 +248,7 @@ export interface HttpMethodRouteConstraint$instance extends IParameterPolicy, Mi
|
|
|
247
248
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_IRouteConstraint: never;
|
|
248
249
|
|
|
249
250
|
readonly AllowedMethods: IList_1<System_Internal.String>;
|
|
250
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
251
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
251
252
|
}
|
|
252
253
|
|
|
253
254
|
|
|
@@ -271,7 +272,7 @@ export interface IntRouteConstraint$instance extends IParameterPolicy, Microsoft
|
|
|
271
272
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
272
273
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
273
274
|
|
|
274
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
275
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
275
276
|
}
|
|
276
277
|
|
|
277
278
|
|
|
@@ -298,7 +299,7 @@ export interface LengthRouteConstraint$instance extends IParameterPolicy, Micros
|
|
|
298
299
|
|
|
299
300
|
readonly MaxLength: int;
|
|
300
301
|
readonly MinLength: int;
|
|
301
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
302
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
302
303
|
}
|
|
303
304
|
|
|
304
305
|
|
|
@@ -324,7 +325,7 @@ export interface LongRouteConstraint$instance extends IParameterPolicy, Microsof
|
|
|
324
325
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
325
326
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
326
327
|
|
|
327
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
328
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
328
329
|
}
|
|
329
330
|
|
|
330
331
|
|
|
@@ -350,7 +351,7 @@ export interface MaxLengthRouteConstraint$instance extends IParameterPolicy, Mic
|
|
|
350
351
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
351
352
|
|
|
352
353
|
readonly MaxLength: int;
|
|
353
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
354
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
354
355
|
}
|
|
355
356
|
|
|
356
357
|
|
|
@@ -376,7 +377,7 @@ export interface MaxRouteConstraint$instance extends IParameterPolicy, Microsoft
|
|
|
376
377
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
377
378
|
|
|
378
379
|
Max: long;
|
|
379
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
380
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
380
381
|
}
|
|
381
382
|
|
|
382
383
|
|
|
@@ -402,7 +403,7 @@ export interface MinLengthRouteConstraint$instance extends IParameterPolicy, Mic
|
|
|
402
403
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
403
404
|
|
|
404
405
|
MinLength: int;
|
|
405
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
406
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
406
407
|
}
|
|
407
408
|
|
|
408
409
|
|
|
@@ -428,7 +429,7 @@ export interface MinRouteConstraint$instance extends IParameterPolicy, Microsoft
|
|
|
428
429
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
429
430
|
|
|
430
431
|
readonly Min: long;
|
|
431
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
432
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
432
433
|
}
|
|
433
434
|
|
|
434
435
|
|
|
@@ -453,7 +454,7 @@ export interface NonFileNameRouteConstraint$instance extends IParameterPolicy, M
|
|
|
453
454
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
454
455
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
455
456
|
|
|
456
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
457
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
457
458
|
}
|
|
458
459
|
|
|
459
460
|
|
|
@@ -477,7 +478,7 @@ export interface OptionalRouteConstraint$instance extends IParameterPolicy, Micr
|
|
|
477
478
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_IRouteConstraint: never;
|
|
478
479
|
|
|
479
480
|
readonly InnerConstraint: IRouteConstraint;
|
|
480
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
481
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
481
482
|
}
|
|
482
483
|
|
|
483
484
|
|
|
@@ -503,7 +504,7 @@ export interface RangeRouteConstraint$instance extends IParameterPolicy, Microso
|
|
|
503
504
|
|
|
504
505
|
Max: long;
|
|
505
506
|
Min: long;
|
|
506
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
507
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
507
508
|
}
|
|
508
509
|
|
|
509
510
|
|
|
@@ -552,7 +553,7 @@ export interface RegexRouteConstraint$instance extends IParameterPolicy, Microso
|
|
|
552
553
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
553
554
|
|
|
554
555
|
readonly Constraint: Regex;
|
|
555
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
556
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
556
557
|
}
|
|
557
558
|
|
|
558
559
|
|
|
@@ -576,7 +577,7 @@ export interface RequiredRouteConstraint$instance extends IParameterPolicy, Micr
|
|
|
576
577
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_IParameterPolicy: never;
|
|
577
578
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_IRouteConstraint: never;
|
|
578
579
|
|
|
579
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
580
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
580
581
|
}
|
|
581
582
|
|
|
582
583
|
|
|
@@ -600,7 +601,7 @@ export interface StringRouteConstraint$instance extends IParameterPolicy, Micros
|
|
|
600
601
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_ICachableParameterPolicy: never;
|
|
601
602
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
602
603
|
|
|
603
|
-
Match(httpContext: HttpContext, route: IRouter, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
604
|
+
Match(httpContext: HttpContext | null, route: IRouter | null, routeKey: string, values: RouteValueDictionary, routeDirection: RouteDirection): boolean;
|
|
604
605
|
}
|
|
605
606
|
|
|
606
607
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Routing.Internal
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
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 { EndpointDataSource } from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
@@ -728,7 +728,10 @@
|
|
|
728
728
|
"isLiteral": false,
|
|
729
729
|
"visibility": "Public",
|
|
730
730
|
"declaringClrType": "Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer\u00601",
|
|
731
|
-
"declaringAssemblyName": "Microsoft.AspNetCore.Routing"
|
|
731
|
+
"declaringAssemblyName": "Microsoft.AspNetCore.Routing",
|
|
732
|
+
"emitSemantics": {
|
|
733
|
+
"callableStaticAccessorKind": "field"
|
|
734
|
+
}
|
|
732
735
|
}
|
|
733
736
|
],
|
|
734
737
|
"events": [],
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Routing.Matching
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
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 * as Microsoft_AspNetCore_Http_Internal from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -65,8 +63,8 @@ export interface CandidateState$instance {
|
|
|
65
63
|
|
|
66
64
|
readonly Endpoint: Endpoint;
|
|
67
65
|
readonly Score: int;
|
|
68
|
-
get Values(): RouteValueDictionary |
|
|
69
|
-
set Values(value: RouteValueDictionary |
|
|
66
|
+
get Values(): RouteValueDictionary | null;
|
|
67
|
+
set Values(value: RouteValueDictionary | null);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -81,12 +79,12 @@ export interface PolicyJumpTableEdge$instance {
|
|
|
81
79
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_PolicyJumpTableEdge: never;
|
|
82
80
|
|
|
83
81
|
readonly Destination: int;
|
|
84
|
-
readonly State:
|
|
82
|
+
readonly State: JsValue;
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
|
|
88
86
|
export const PolicyJumpTableEdge: {
|
|
89
|
-
new(state:
|
|
87
|
+
new(state: JsValue, destination: int): PolicyJumpTableEdge;
|
|
90
88
|
};
|
|
91
89
|
|
|
92
90
|
|
|
@@ -96,12 +94,12 @@ export interface PolicyNodeEdge$instance {
|
|
|
96
94
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_PolicyNodeEdge: never;
|
|
97
95
|
|
|
98
96
|
readonly Endpoints: IReadOnlyList_1<Endpoint>;
|
|
99
|
-
readonly State:
|
|
97
|
+
readonly State: JsValue;
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
|
|
103
101
|
export const PolicyNodeEdge: {
|
|
104
|
-
new(state:
|
|
102
|
+
new(state: JsValue, endpoints: IReadOnlyList_1<Endpoint>): PolicyNodeEdge;
|
|
105
103
|
};
|
|
106
104
|
|
|
107
105
|
|
|
@@ -113,7 +111,7 @@ export interface CandidateSet$instance {
|
|
|
113
111
|
readonly Count: int;
|
|
114
112
|
ExpandEndpoint(index: int, endpoints: IReadOnlyList_1<Endpoint>, comparer: IComparer_1<Endpoint>): void;
|
|
115
113
|
IsValidCandidate(index: int): boolean;
|
|
116
|
-
ReplaceEndpoint(index: int, endpoint: Endpoint, values: RouteValueDictionary): void;
|
|
114
|
+
ReplaceEndpoint(index: int, endpoint: Endpoint | null, values: RouteValueDictionary | null): void;
|
|
117
115
|
SetValidity(index: int, value: boolean): void;
|
|
118
116
|
}
|
|
119
117
|
|
|
@@ -144,14 +142,14 @@ export interface EndpointMetadataComparer_1$instance<TMetadata> {
|
|
|
144
142
|
|
|
145
143
|
readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
|
|
146
144
|
|
|
147
|
-
Compare(x: Endpoint, y: Endpoint): int;
|
|
148
|
-
CompareMetadata(x: TMetadata, y: TMetadata): int;
|
|
149
|
-
GetMetadata(endpoint: Endpoint): TMetadata |
|
|
145
|
+
Compare(x: Endpoint | null, y: Endpoint | null): int;
|
|
146
|
+
CompareMetadata(x: TMetadata | null, y: TMetadata | null): int;
|
|
147
|
+
GetMetadata(endpoint: Endpoint): TMetadata | null;
|
|
150
148
|
}
|
|
151
149
|
|
|
152
150
|
|
|
153
151
|
export const EndpointMetadataComparer_1: (abstract new<TMetadata>() => EndpointMetadataComparer_1<TMetadata>) & {
|
|
154
|
-
readonly Default:
|
|
152
|
+
readonly Default: <TMetadata>() => EndpointMetadataComparer_1<TMetadata>;
|
|
155
153
|
};
|
|
156
154
|
|
|
157
155
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Routing.Patterns
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
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 { IParameterPolicy, IRouteConstraint, RouteValueDictionary } from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
@@ -30,20 +31,20 @@ export enum RoutePatternPartKind {
|
|
|
30
31
|
export interface RoutePattern$instance {
|
|
31
32
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePattern: never;
|
|
32
33
|
|
|
33
|
-
readonly Defaults: IReadOnlyDictionary_2<System_Internal.String,
|
|
34
|
+
readonly Defaults: IReadOnlyDictionary_2<System_Internal.String, JsValue | null>;
|
|
34
35
|
readonly InboundPrecedence: decimal;
|
|
35
36
|
readonly OutboundPrecedence: decimal;
|
|
36
37
|
readonly ParameterPolicies: IReadOnlyDictionary_2<System_Internal.String, IReadOnlyList_1<RoutePatternParameterPolicyReference>>;
|
|
37
38
|
readonly Parameters: IReadOnlyList_1<RoutePatternParameterPart>;
|
|
38
39
|
readonly PathSegments: IReadOnlyList_1<RoutePatternPathSegment>;
|
|
39
|
-
readonly RawText: string |
|
|
40
|
-
readonly RequiredValues: IReadOnlyDictionary_2<System_Internal.String,
|
|
41
|
-
GetParameter(name: string): RoutePatternParameterPart |
|
|
40
|
+
readonly RawText: string | null;
|
|
41
|
+
readonly RequiredValues: IReadOnlyDictionary_2<System_Internal.String, JsValue | null>;
|
|
42
|
+
GetParameter(name: string): RoutePatternParameterPart | null;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
export const RoutePattern: {
|
|
46
|
-
readonly RequiredValueAny:
|
|
47
|
+
readonly RequiredValueAny: JsValue;
|
|
47
48
|
};
|
|
48
49
|
|
|
49
50
|
|
|
@@ -82,7 +83,7 @@ export type RoutePatternLiteralPart = RoutePatternLiteralPart$instance;
|
|
|
82
83
|
export interface RoutePatternParameterPart$instance extends RoutePatternPart {
|
|
83
84
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternParameterPart: never;
|
|
84
85
|
|
|
85
|
-
readonly Default:
|
|
86
|
+
readonly Default: JsValue | null;
|
|
86
87
|
readonly EncodeSlashes: boolean;
|
|
87
88
|
readonly IsCatchAll: boolean;
|
|
88
89
|
readonly IsOptional: boolean;
|
|
@@ -101,8 +102,8 @@ export type RoutePatternParameterPart = RoutePatternParameterPart$instance;
|
|
|
101
102
|
export interface RoutePatternParameterPolicyReference$instance {
|
|
102
103
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternParameterPolicyReference: never;
|
|
103
104
|
|
|
104
|
-
readonly Content: string |
|
|
105
|
-
readonly ParameterPolicy: IParameterPolicy |
|
|
105
|
+
readonly Content: string | null;
|
|
106
|
+
readonly ParameterPolicy: IParameterPolicy | null;
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
|
|
@@ -158,8 +159,8 @@ export type RoutePatternSeparatorPart = RoutePatternSeparatorPart$instance;
|
|
|
158
159
|
export interface RoutePatternTransformer$instance {
|
|
159
160
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternTransformer: never;
|
|
160
161
|
|
|
161
|
-
SubstituteRequiredValues(original: RoutePattern, requiredValues:
|
|
162
|
-
SubstituteRequiredValues(original: RoutePattern, requiredValues: RouteValueDictionary): RoutePattern |
|
|
162
|
+
SubstituteRequiredValues(original: RoutePattern, requiredValues: JsValue): RoutePattern | null;
|
|
163
|
+
SubstituteRequiredValues(original: RoutePattern, requiredValues: RouteValueDictionary): RoutePattern | null;
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
|
|
@@ -170,35 +171,35 @@ export const RoutePatternTransformer: (abstract new() => RoutePatternTransformer
|
|
|
170
171
|
export type RoutePatternTransformer = RoutePatternTransformer$instance;
|
|
171
172
|
|
|
172
173
|
export abstract class RoutePatternFactory$instance {
|
|
173
|
-
static Combine(left: RoutePattern, right: RoutePattern): RoutePattern;
|
|
174
|
+
static Combine(left: RoutePattern | null, right: RoutePattern): RoutePattern;
|
|
174
175
|
static Constraint(constraint: IRouteConstraint): RoutePatternParameterPolicyReference;
|
|
175
|
-
static Constraint(constraint:
|
|
176
|
+
static Constraint(constraint: JsValue): RoutePatternParameterPolicyReference;
|
|
176
177
|
static Constraint(constraint: string): RoutePatternParameterPolicyReference;
|
|
177
178
|
static LiteralPart(content: string): RoutePatternLiteralPart;
|
|
178
|
-
static ParameterPart(parameterName: string, default_:
|
|
179
|
-
static ParameterPart(parameterName: string, default_:
|
|
180
|
-
static ParameterPart(parameterName: string, default_:
|
|
181
|
-
static ParameterPart(parameterName: string, default_:
|
|
179
|
+
static ParameterPart(parameterName: string, default_: JsValue | null, parameterKind: RoutePatternParameterKind, ...parameterPolicies: RoutePatternParameterPolicyReference[]): RoutePatternParameterPart;
|
|
180
|
+
static ParameterPart(parameterName: string, default_: JsValue | null, parameterKind: RoutePatternParameterKind, parameterPolicies: IEnumerable_1<RoutePatternParameterPolicyReference>): RoutePatternParameterPart;
|
|
181
|
+
static ParameterPart(parameterName: string, default_: JsValue | null, parameterKind: RoutePatternParameterKind): RoutePatternParameterPart;
|
|
182
|
+
static ParameterPart(parameterName: string, default_: JsValue): RoutePatternParameterPart;
|
|
182
183
|
static ParameterPart(parameterName: string): RoutePatternParameterPart;
|
|
183
184
|
static ParameterPolicy(parameterPolicy: IParameterPolicy): RoutePatternParameterPolicyReference;
|
|
184
185
|
static ParameterPolicy(parameterPolicy: string): RoutePatternParameterPolicyReference;
|
|
185
|
-
static Parse(pattern: string, defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, requiredValues: RouteValueDictionary): RoutePattern;
|
|
186
|
-
static Parse(pattern: string, defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary): RoutePattern;
|
|
187
|
-
static Parse(pattern: string, defaults:
|
|
188
|
-
static Parse(pattern: string, defaults:
|
|
186
|
+
static Parse(pattern: string, defaults: RouteValueDictionary | null, parameterPolicies: RouteValueDictionary | null, requiredValues: RouteValueDictionary | null): RoutePattern;
|
|
187
|
+
static Parse(pattern: string, defaults: RouteValueDictionary | null, parameterPolicies: RouteValueDictionary | null): RoutePattern;
|
|
188
|
+
static Parse(pattern: string, defaults: JsValue | null, parameterPolicies: JsValue | null, requiredValues: JsValue | null): RoutePattern;
|
|
189
|
+
static Parse(pattern: string, defaults: JsValue | null, parameterPolicies: JsValue | null): RoutePattern;
|
|
189
190
|
static Parse(pattern: string): RoutePattern;
|
|
190
191
|
static Pattern(...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
191
|
-
static Pattern(defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
192
|
-
static Pattern(defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
192
|
+
static Pattern(defaults: RouteValueDictionary | null, parameterPolicies: RouteValueDictionary | null, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
193
|
+
static Pattern(defaults: RouteValueDictionary | null, parameterPolicies: RouteValueDictionary | null, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
193
194
|
static Pattern(segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
194
|
-
static Pattern(defaults:
|
|
195
|
-
static Pattern(defaults:
|
|
195
|
+
static Pattern(defaults: JsValue | null, parameterPolicies: JsValue | null, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
196
|
+
static Pattern(defaults: JsValue | null, parameterPolicies: JsValue | null, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
196
197
|
static Pattern(rawText: string, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
197
|
-
static Pattern(rawText: string, defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
198
|
-
static Pattern(rawText: string, defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
199
|
-
static Pattern(rawText: string, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
200
|
-
static Pattern(rawText: string, defaults:
|
|
201
|
-
static Pattern(rawText: string, defaults:
|
|
198
|
+
static Pattern(rawText: string | null, defaults: RouteValueDictionary | null, parameterPolicies: RouteValueDictionary | null, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
199
|
+
static Pattern(rawText: string | null, defaults: RouteValueDictionary | null, parameterPolicies: RouteValueDictionary | null, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
200
|
+
static Pattern(rawText: string | null, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
201
|
+
static Pattern(rawText: string | null, defaults: JsValue | null, parameterPolicies: JsValue | null, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
202
|
+
static Pattern(rawText: string | null, defaults: JsValue | null, parameterPolicies: JsValue | null, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
202
203
|
static Segment(...parts: RoutePatternPart[]): RoutePatternPathSegment;
|
|
203
204
|
static Segment(parts: IEnumerable_1<RoutePatternPart>): RoutePatternPathSegment;
|
|
204
205
|
static SeparatorPart(content: string): RoutePatternSeparatorPart;
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Routing.Template
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
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 { HttpContext, PathString } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -36,9 +34,9 @@ export interface RouteTemplate$instance {
|
|
|
36
34
|
|
|
37
35
|
readonly Parameters: IList_1<TemplatePart>;
|
|
38
36
|
readonly Segments: IList_1<TemplateSegment>;
|
|
39
|
-
readonly TemplateText: string |
|
|
40
|
-
GetParameter(name: string): TemplatePart |
|
|
41
|
-
GetSegment(index: int): TemplateSegment |
|
|
37
|
+
readonly TemplateText: string | null;
|
|
38
|
+
GetParameter(name: string): TemplatePart | null;
|
|
39
|
+
GetSegment(index: int): TemplateSegment | null;
|
|
42
40
|
ToRoutePattern(): RoutePattern;
|
|
43
41
|
}
|
|
44
42
|
|
|
@@ -54,14 +52,14 @@ export type RouteTemplate = RouteTemplate$instance;
|
|
|
54
52
|
export interface TemplateBinder$instance {
|
|
55
53
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplateBinder: never;
|
|
56
54
|
|
|
57
|
-
BindValues(acceptedValues: RouteValueDictionary): string |
|
|
58
|
-
GetValues(ambientValues: RouteValueDictionary, values: RouteValueDictionary): TemplateValuesResult |
|
|
59
|
-
TryProcessConstraints(httpContext: HttpContext, combinedValues: RouteValueDictionary, parameterName: string, constraint: IRouteConstraint): boolean;
|
|
55
|
+
BindValues(acceptedValues: RouteValueDictionary): string | null;
|
|
56
|
+
GetValues(ambientValues: RouteValueDictionary | null, values: RouteValueDictionary): TemplateValuesResult | null;
|
|
57
|
+
TryProcessConstraints(httpContext: HttpContext | null, combinedValues: RouteValueDictionary, parameterName: string | null, constraint: IRouteConstraint | null): boolean;
|
|
60
58
|
}
|
|
61
59
|
|
|
62
60
|
|
|
63
61
|
export const TemplateBinder: {
|
|
64
|
-
RoutePartsEqual(a:
|
|
62
|
+
RoutePartsEqual(a: JsValue | null, b: JsValue | null): boolean;
|
|
65
63
|
};
|
|
66
64
|
|
|
67
65
|
|
|
@@ -100,18 +98,18 @@ export type TemplateMatcher = TemplateMatcher$instance;
|
|
|
100
98
|
export interface TemplatePart$instance {
|
|
101
99
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplatePart: never;
|
|
102
100
|
|
|
103
|
-
get DefaultValue():
|
|
104
|
-
set DefaultValue(value:
|
|
101
|
+
get DefaultValue(): JsValue | null;
|
|
102
|
+
set DefaultValue(value: JsValue | null);
|
|
105
103
|
InlineConstraints: IEnumerable_1<InlineConstraint>;
|
|
106
104
|
IsCatchAll: boolean;
|
|
107
105
|
IsLiteral: boolean;
|
|
108
106
|
IsOptional: boolean;
|
|
109
107
|
IsOptionalSeperator: boolean;
|
|
110
108
|
IsParameter: boolean;
|
|
111
|
-
get Name(): string |
|
|
112
|
-
set Name(value: string |
|
|
113
|
-
get Text(): string |
|
|
114
|
-
set Text(value: string |
|
|
109
|
+
get Name(): string | null;
|
|
110
|
+
set Name(value: string | null);
|
|
111
|
+
get Text(): string | null;
|
|
112
|
+
set Text(value: string | null);
|
|
115
113
|
ToRoutePatternPart(): RoutePatternPart;
|
|
116
114
|
}
|
|
117
115
|
|
|
@@ -120,7 +118,7 @@ export const TemplatePart: {
|
|
|
120
118
|
new(): TemplatePart;
|
|
121
119
|
new(other: RoutePatternPart): TemplatePart;
|
|
122
120
|
CreateLiteral(text: string): TemplatePart;
|
|
123
|
-
CreateParameter(name: string, isCatchAll: boolean, isOptional: boolean, defaultValue:
|
|
121
|
+
CreateParameter(name: string, isCatchAll: boolean, isOptional: boolean, defaultValue: JsValue | null, inlineConstraints: IEnumerable_1<InlineConstraint> | null): TemplatePart;
|
|
124
122
|
};
|
|
125
123
|
|
|
126
124
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Routing.Tree
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
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 { RouteTemplate, TemplateBinder, TemplateMatcher } from "../../Microsoft.AspNetCore.Routing.Template/internal/index.js";
|
|
@@ -68,7 +69,7 @@ export interface OutboundRouteEntry$instance {
|
|
|
68
69
|
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_OutboundRouteEntry: never;
|
|
69
70
|
|
|
70
71
|
Constraints: IDictionary_2<System_Internal.String, IRouteConstraint>;
|
|
71
|
-
Data:
|
|
72
|
+
Data: JsValue;
|
|
72
73
|
Defaults: RouteValueDictionary;
|
|
73
74
|
Handler: IRouter;
|
|
74
75
|
Order: int;
|
|
@@ -111,7 +112,7 @@ export interface TreeRouter$instance extends Microsoft_AspNetCore_Routing_Intern
|
|
|
111
112
|
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_IRouter: never;
|
|
112
113
|
|
|
113
114
|
readonly Version: int;
|
|
114
|
-
GetVirtualPath(context: VirtualPathContext): VirtualPathData |
|
|
115
|
+
GetVirtualPath(context: VirtualPathContext): VirtualPathData | null;
|
|
115
116
|
RouteAsync(context: RouteContext): Task;
|
|
116
117
|
}
|
|
117
118
|
|
|
@@ -94,11 +94,11 @@ export { LinkGenerator as LinkGenerator } from './Microsoft.AspNetCore.Routing/i
|
|
|
94
94
|
export { LinkOptions as LinkOptions } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
95
95
|
export { RouteContext as RouteContext } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
96
96
|
export { RouteData as RouteData } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
97
|
+
export { RouteData_RouteDataSnapshot as RouteData_RouteDataSnapshot } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
97
98
|
export { RouteDirection as RouteDirection } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
98
99
|
export { RoutingHttpContextExtensions$instance as RoutingHttpContextExtensions } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
99
100
|
export { VirtualPathContext as VirtualPathContext } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
100
101
|
export { VirtualPathData as VirtualPathData } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
101
|
-
export { RouteData_RouteDataSnapshot as RouteData_RouteDataSnapshot } from './Microsoft.AspNetCore.Routing/internal/index.js';
|
|
102
102
|
// Extension methods (C# using semantics)
|
|
103
103
|
export type { ExtensionMethods_Microsoft_AspNetCore_Routing as ExtensionMethods } from './__internal/extensions/index.js';
|
|
104
104
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Server.HttpSys
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Server.HttpSys
|
|
4
4
|
|
|
5
|
-
//
|
|
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 * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
@@ -137,8 +135,8 @@ export interface AuthenticationManager$instance {
|
|
|
137
135
|
readonly __tsonic_type_Microsoft_AspNetCore_Server_HttpSys_AuthenticationManager: never;
|
|
138
136
|
|
|
139
137
|
AllowAnonymous: boolean;
|
|
140
|
-
get AuthenticationDisplayName(): string |
|
|
141
|
-
set AuthenticationDisplayName(value: string |
|
|
138
|
+
get AuthenticationDisplayName(): string | null;
|
|
139
|
+
set AuthenticationDisplayName(value: string | null);
|
|
142
140
|
AutomaticAuthentication: boolean;
|
|
143
141
|
CaptureCredentials: boolean;
|
|
144
142
|
EnableKerberosCredentialCaching: boolean;
|
|
@@ -200,10 +198,10 @@ export interface HttpSysOptions$instance {
|
|
|
200
198
|
set MaxRequestBodySize(value: Nullable_1<System_Internal.Int64> | long);
|
|
201
199
|
RequestQueueLimit: long;
|
|
202
200
|
RequestQueueMode: RequestQueueMode;
|
|
203
|
-
get RequestQueueName(): string |
|
|
204
|
-
set RequestQueueName(value: string |
|
|
205
|
-
get RequestQueueSecurityDescriptor(): GenericSecurityDescriptor |
|
|
206
|
-
set RequestQueueSecurityDescriptor(value: GenericSecurityDescriptor |
|
|
201
|
+
get RequestQueueName(): string | null;
|
|
202
|
+
set RequestQueueName(value: string | null);
|
|
203
|
+
get RequestQueueSecurityDescriptor(): GenericSecurityDescriptor | null;
|
|
204
|
+
set RequestQueueSecurityDescriptor(value: GenericSecurityDescriptor | null);
|
|
207
205
|
ThrowWriteExceptions: boolean;
|
|
208
206
|
readonly Timeouts: TimeoutManager;
|
|
209
207
|
UnsafePreferInlineScheduling: boolean;
|
|
@@ -247,7 +245,7 @@ export interface UrlPrefix$instance {
|
|
|
247
245
|
readonly Port: string;
|
|
248
246
|
readonly PortValue: int;
|
|
249
247
|
readonly Scheme: string;
|
|
250
|
-
Equals(obj:
|
|
248
|
+
Equals(obj: JsValue | null): boolean;
|
|
251
249
|
GetHashCode(): int;
|
|
252
250
|
ToString(): string;
|
|
253
251
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Server.IIS
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Server.IIS
|
|
4
4
|
|
|
5
|
-
//
|
|
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 Microsoft_AspNetCore_Http_Internal from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -60,7 +61,7 @@ export const IISServerDefaults: {
|
|
|
60
61
|
export type IISServerDefaults = IISServerDefaults$instance;
|
|
61
62
|
|
|
62
63
|
export abstract class HttpContextExtensions$instance {
|
|
63
|
-
static GetIISServerVariable(context: HttpContext, variableName: string): string |
|
|
64
|
+
static GetIISServerVariable(context: HttpContext, variableName: string): string | null;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
|