@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
|
@@ -13,21 +13,25 @@ import * as Microsoft_AspNetCore_Http_Internal from "../../Microsoft.AspNetCore.
|
|
|
13
13
|
import type { Endpoint, HttpContext } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
14
14
|
import * as Microsoft_AspNetCore_Routing_Internal from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
15
15
|
import type { IParameterPolicy, MatcherPolicy, RouteValueDictionary } from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
16
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
17
|
-
import type {
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import type {
|
|
16
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
17
|
+
import type { IComparer_1, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
18
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
19
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
20
|
+
import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
21
21
|
|
|
22
22
|
export interface IEndpointComparerPolicy$instance {
|
|
23
|
-
readonly
|
|
23
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IEndpointComparerPolicy: never;
|
|
24
|
+
|
|
25
|
+
readonly Comparer: IComparer_1<Endpoint>;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
export type IEndpointComparerPolicy = IEndpointComparerPolicy$instance;
|
|
28
30
|
|
|
29
31
|
export interface IEndpointSelectorPolicy$instance {
|
|
30
|
-
|
|
32
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IEndpointSelectorPolicy: never;
|
|
33
|
+
|
|
34
|
+
AppliesToEndpoints(endpoints: IReadOnlyList_1<Endpoint>): boolean;
|
|
31
35
|
ApplyAsync(httpContext: HttpContext, candidates: CandidateSet): Task;
|
|
32
36
|
}
|
|
33
37
|
|
|
@@ -35,15 +39,19 @@ export interface IEndpointSelectorPolicy$instance {
|
|
|
35
39
|
export type IEndpointSelectorPolicy = IEndpointSelectorPolicy$instance;
|
|
36
40
|
|
|
37
41
|
export interface INodeBuilderPolicy$instance {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_INodeBuilderPolicy: never;
|
|
43
|
+
|
|
44
|
+
AppliesToEndpoints(endpoints: IReadOnlyList_1<Endpoint>): boolean;
|
|
45
|
+
BuildJumpTable(exitDestination: int, edges: IReadOnlyList_1<PolicyJumpTableEdge>): PolicyJumpTable;
|
|
46
|
+
GetEdges(endpoints: IReadOnlyList_1<Endpoint>): IReadOnlyList_1<PolicyNodeEdge>;
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
|
|
44
50
|
export type INodeBuilderPolicy = INodeBuilderPolicy$instance;
|
|
45
51
|
|
|
46
52
|
export interface IParameterLiteralNodeMatchingPolicy$instance extends IParameterPolicy {
|
|
53
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IParameterLiteralNodeMatchingPolicy: never;
|
|
54
|
+
|
|
47
55
|
MatchesLiteral(parameterName: string, literal: string): boolean;
|
|
48
56
|
}
|
|
49
57
|
|
|
@@ -53,6 +61,8 @@ export interface IParameterLiteralNodeMatchingPolicy$instance extends Microsoft_
|
|
|
53
61
|
export type IParameterLiteralNodeMatchingPolicy = IParameterLiteralNodeMatchingPolicy$instance;
|
|
54
62
|
|
|
55
63
|
export interface CandidateState$instance {
|
|
64
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_CandidateState: never;
|
|
65
|
+
|
|
56
66
|
readonly Endpoint: Endpoint;
|
|
57
67
|
readonly Score: int;
|
|
58
68
|
get Values(): RouteValueDictionary | undefined;
|
|
@@ -68,6 +78,8 @@ export const CandidateState: {
|
|
|
68
78
|
export type CandidateState = CandidateState$instance;
|
|
69
79
|
|
|
70
80
|
export interface PolicyJumpTableEdge$instance {
|
|
81
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_PolicyJumpTableEdge: never;
|
|
82
|
+
|
|
71
83
|
readonly Destination: int;
|
|
72
84
|
readonly State: unknown;
|
|
73
85
|
}
|
|
@@ -81,22 +93,26 @@ export const PolicyJumpTableEdge: {
|
|
|
81
93
|
export type PolicyJumpTableEdge = PolicyJumpTableEdge$instance;
|
|
82
94
|
|
|
83
95
|
export interface PolicyNodeEdge$instance {
|
|
84
|
-
readonly
|
|
96
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_PolicyNodeEdge: never;
|
|
97
|
+
|
|
98
|
+
readonly Endpoints: IReadOnlyList_1<Endpoint>;
|
|
85
99
|
readonly State: unknown;
|
|
86
100
|
}
|
|
87
101
|
|
|
88
102
|
|
|
89
103
|
export const PolicyNodeEdge: {
|
|
90
|
-
new(state: unknown, endpoints:
|
|
104
|
+
new(state: unknown, endpoints: IReadOnlyList_1<Endpoint>): PolicyNodeEdge;
|
|
91
105
|
};
|
|
92
106
|
|
|
93
107
|
|
|
94
108
|
export type PolicyNodeEdge = PolicyNodeEdge$instance;
|
|
95
109
|
|
|
96
110
|
export interface CandidateSet$instance {
|
|
111
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_CandidateSet: never;
|
|
112
|
+
|
|
97
113
|
readonly Count: int;
|
|
98
114
|
readonly [index: number]: CandidateState;
|
|
99
|
-
ExpandEndpoint(index: int, endpoints:
|
|
115
|
+
ExpandEndpoint(index: int, endpoints: IReadOnlyList_1<Endpoint>, comparer: IComparer_1<Endpoint>): void;
|
|
100
116
|
IsValidCandidate(index: int): boolean;
|
|
101
117
|
ReplaceEndpoint(index: int, endpoint: Endpoint, values: RouteValueDictionary): void;
|
|
102
118
|
SetValidity(index: int, value: boolean): void;
|
|
@@ -111,6 +127,10 @@ export const CandidateSet: {
|
|
|
111
127
|
export type CandidateSet = CandidateSet$instance;
|
|
112
128
|
|
|
113
129
|
export interface EndpointMetadataComparer$instance {
|
|
130
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_EndpointMetadataComparer: never;
|
|
131
|
+
|
|
132
|
+
readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
|
|
133
|
+
|
|
114
134
|
}
|
|
115
135
|
|
|
116
136
|
|
|
@@ -121,6 +141,10 @@ export const EndpointMetadataComparer: {
|
|
|
121
141
|
export type EndpointMetadataComparer = EndpointMetadataComparer$instance;
|
|
122
142
|
|
|
123
143
|
export interface EndpointMetadataComparer_1$instance<TMetadata> {
|
|
144
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_EndpointMetadataComparer_1: never;
|
|
145
|
+
|
|
146
|
+
readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
|
|
147
|
+
|
|
124
148
|
Compare(x: Endpoint, y: Endpoint): int;
|
|
125
149
|
CompareMetadata(x: TMetadata, y: TMetadata): int;
|
|
126
150
|
GetMetadata(endpoint: Endpoint): TMetadata | undefined;
|
|
@@ -135,6 +159,8 @@ export const EndpointMetadataComparer_1: (abstract new<TMetadata>() => EndpointM
|
|
|
135
159
|
export type EndpointMetadataComparer_1<TMetadata> = EndpointMetadataComparer_1$instance<TMetadata>;
|
|
136
160
|
|
|
137
161
|
export interface EndpointSelector$instance {
|
|
162
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_EndpointSelector: never;
|
|
163
|
+
|
|
138
164
|
SelectAsync(httpContext: HttpContext, candidates: CandidateSet): Task;
|
|
139
165
|
}
|
|
140
166
|
|
|
@@ -145,12 +171,18 @@ export const EndpointSelector: (abstract new() => EndpointSelector) & {
|
|
|
145
171
|
|
|
146
172
|
export type EndpointSelector = EndpointSelector$instance;
|
|
147
173
|
|
|
148
|
-
export interface HostMatcherPolicy$instance extends MatcherPolicy {
|
|
149
|
-
readonly
|
|
174
|
+
export interface HostMatcherPolicy$instance extends MatcherPolicy, IEndpointComparerPolicy$instance, IEndpointSelectorPolicy$instance, INodeBuilderPolicy$instance {
|
|
175
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_HostMatcherPolicy: never;
|
|
176
|
+
|
|
177
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IEndpointComparerPolicy: never;
|
|
178
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IEndpointSelectorPolicy: never;
|
|
179
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_INodeBuilderPolicy: never;
|
|
180
|
+
|
|
181
|
+
readonly Comparer: IComparer_1<Endpoint>;
|
|
150
182
|
readonly Order: int;
|
|
151
183
|
ApplyAsync(httpContext: HttpContext, candidates: CandidateSet): Task;
|
|
152
|
-
BuildJumpTable(exitDestination: int, edges:
|
|
153
|
-
GetEdges(endpoints:
|
|
184
|
+
BuildJumpTable(exitDestination: int, edges: IReadOnlyList_1<PolicyJumpTableEdge>): PolicyJumpTable;
|
|
185
|
+
GetEdges(endpoints: IReadOnlyList_1<Endpoint>): IReadOnlyList_1<PolicyNodeEdge>;
|
|
154
186
|
}
|
|
155
187
|
|
|
156
188
|
|
|
@@ -165,17 +197,21 @@ export interface __HostMatcherPolicy$views {
|
|
|
165
197
|
As_INodeBuilderPolicy(): INodeBuilderPolicy$instance;
|
|
166
198
|
}
|
|
167
199
|
|
|
168
|
-
export interface HostMatcherPolicy$instance extends IEndpointComparerPolicy$instance, IEndpointSelectorPolicy$instance, INodeBuilderPolicy$instance {}
|
|
169
|
-
|
|
170
200
|
export type HostMatcherPolicy = HostMatcherPolicy$instance & __HostMatcherPolicy$views;
|
|
171
201
|
|
|
172
202
|
|
|
173
|
-
export interface HttpMethodMatcherPolicy$instance extends MatcherPolicy {
|
|
174
|
-
readonly
|
|
203
|
+
export interface HttpMethodMatcherPolicy$instance extends MatcherPolicy, IEndpointComparerPolicy$instance, IEndpointSelectorPolicy$instance, INodeBuilderPolicy$instance {
|
|
204
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_HttpMethodMatcherPolicy: never;
|
|
205
|
+
|
|
206
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IEndpointComparerPolicy: never;
|
|
207
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_IEndpointSelectorPolicy: never;
|
|
208
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_Matching_INodeBuilderPolicy: never;
|
|
209
|
+
|
|
210
|
+
readonly Comparer: IComparer_1<Endpoint>;
|
|
175
211
|
readonly Order: int;
|
|
176
212
|
ApplyAsync(httpContext: HttpContext, candidates: CandidateSet): Task;
|
|
177
|
-
BuildJumpTable(exitDestination: int, edges:
|
|
178
|
-
GetEdges(endpoints:
|
|
213
|
+
BuildJumpTable(exitDestination: int, edges: IReadOnlyList_1<PolicyJumpTableEdge>): PolicyJumpTable;
|
|
214
|
+
GetEdges(endpoints: IReadOnlyList_1<Endpoint>): IReadOnlyList_1<PolicyNodeEdge>;
|
|
179
215
|
}
|
|
180
216
|
|
|
181
217
|
|
|
@@ -190,12 +226,12 @@ export interface __HttpMethodMatcherPolicy$views {
|
|
|
190
226
|
As_INodeBuilderPolicy(): INodeBuilderPolicy$instance;
|
|
191
227
|
}
|
|
192
228
|
|
|
193
|
-
export interface HttpMethodMatcherPolicy$instance extends IEndpointComparerPolicy$instance, IEndpointSelectorPolicy$instance, INodeBuilderPolicy$instance {}
|
|
194
|
-
|
|
195
229
|
export type HttpMethodMatcherPolicy = HttpMethodMatcherPolicy$instance & __HttpMethodMatcherPolicy$views;
|
|
196
230
|
|
|
197
231
|
|
|
198
232
|
export interface PolicyJumpTable$instance {
|
|
233
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Matching_PolicyJumpTable: never;
|
|
234
|
+
|
|
199
235
|
GetDestination(httpContext: HttpContext): int;
|
|
200
236
|
}
|
|
201
237
|
|
|
@@ -7,11 +7,11 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IParameterPolicy, IRouteConstraint, RouteValueDictionary } from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
10
|
-
import type {
|
|
11
|
-
import * as
|
|
12
|
-
import type {
|
|
13
|
-
import * as
|
|
14
|
-
import type {
|
|
10
|
+
import type { IEnumerable_1, IReadOnlyDictionary_2, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
12
|
+
import type { ISerializable, SerializationInfo, StreamingContext } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, Decimal, Enum, Exception, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export enum RoutePatternParameterKind {
|
|
17
17
|
Standard = 0,
|
|
@@ -28,14 +28,16 @@ export enum RoutePatternPartKind {
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
export interface RoutePattern$instance {
|
|
31
|
-
readonly
|
|
31
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePattern: never;
|
|
32
|
+
|
|
33
|
+
readonly Defaults: IReadOnlyDictionary_2<System_Internal.String, unknown | undefined>;
|
|
32
34
|
readonly InboundPrecedence: decimal;
|
|
33
35
|
readonly OutboundPrecedence: decimal;
|
|
34
|
-
readonly ParameterPolicies:
|
|
35
|
-
readonly Parameters:
|
|
36
|
-
readonly PathSegments:
|
|
36
|
+
readonly ParameterPolicies: IReadOnlyDictionary_2<System_Internal.String, IReadOnlyList_1<RoutePatternParameterPolicyReference>>;
|
|
37
|
+
readonly Parameters: IReadOnlyList_1<RoutePatternParameterPart>;
|
|
38
|
+
readonly PathSegments: IReadOnlyList_1<RoutePatternPathSegment>;
|
|
37
39
|
readonly RawText: string | undefined;
|
|
38
|
-
readonly RequiredValues:
|
|
40
|
+
readonly RequiredValues: IReadOnlyDictionary_2<System_Internal.String, unknown | undefined>;
|
|
39
41
|
GetParameter(name: string): RoutePatternParameterPart | undefined;
|
|
40
42
|
}
|
|
41
43
|
|
|
@@ -48,6 +50,10 @@ export const RoutePattern: {
|
|
|
48
50
|
export type RoutePattern = RoutePattern$instance;
|
|
49
51
|
|
|
50
52
|
export interface RoutePatternException$instance extends Exception {
|
|
53
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternException: never;
|
|
54
|
+
|
|
55
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
56
|
+
|
|
51
57
|
readonly Pattern: string;
|
|
52
58
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
53
59
|
}
|
|
@@ -61,6 +67,8 @@ export const RoutePatternException: {
|
|
|
61
67
|
export type RoutePatternException = RoutePatternException$instance;
|
|
62
68
|
|
|
63
69
|
export interface RoutePatternLiteralPart$instance extends RoutePatternPart {
|
|
70
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternLiteralPart: never;
|
|
71
|
+
|
|
64
72
|
readonly Content: string;
|
|
65
73
|
}
|
|
66
74
|
|
|
@@ -72,13 +80,15 @@ export const RoutePatternLiteralPart: {
|
|
|
72
80
|
export type RoutePatternLiteralPart = RoutePatternLiteralPart$instance;
|
|
73
81
|
|
|
74
82
|
export interface RoutePatternParameterPart$instance extends RoutePatternPart {
|
|
83
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternParameterPart: never;
|
|
84
|
+
|
|
75
85
|
readonly Default: unknown | undefined;
|
|
76
86
|
readonly EncodeSlashes: boolean;
|
|
77
87
|
readonly IsCatchAll: boolean;
|
|
78
88
|
readonly IsOptional: boolean;
|
|
79
89
|
readonly Name: string;
|
|
80
90
|
readonly ParameterKind: RoutePatternParameterKind;
|
|
81
|
-
readonly ParameterPolicies:
|
|
91
|
+
readonly ParameterPolicies: IReadOnlyList_1<RoutePatternParameterPolicyReference>;
|
|
82
92
|
}
|
|
83
93
|
|
|
84
94
|
|
|
@@ -89,6 +99,8 @@ export const RoutePatternParameterPart: {
|
|
|
89
99
|
export type RoutePatternParameterPart = RoutePatternParameterPart$instance;
|
|
90
100
|
|
|
91
101
|
export interface RoutePatternParameterPolicyReference$instance {
|
|
102
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternParameterPolicyReference: never;
|
|
103
|
+
|
|
92
104
|
readonly Content: string | undefined;
|
|
93
105
|
readonly ParameterPolicy: IParameterPolicy | undefined;
|
|
94
106
|
}
|
|
@@ -101,6 +113,8 @@ export const RoutePatternParameterPolicyReference: {
|
|
|
101
113
|
export type RoutePatternParameterPolicyReference = RoutePatternParameterPolicyReference$instance;
|
|
102
114
|
|
|
103
115
|
export interface RoutePatternPart$instance {
|
|
116
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternPart: never;
|
|
117
|
+
|
|
104
118
|
readonly IsLiteral: boolean;
|
|
105
119
|
readonly IsParameter: boolean;
|
|
106
120
|
readonly IsSeparator: boolean;
|
|
@@ -115,8 +129,10 @@ export const RoutePatternPart: {
|
|
|
115
129
|
export type RoutePatternPart = RoutePatternPart$instance;
|
|
116
130
|
|
|
117
131
|
export interface RoutePatternPathSegment$instance {
|
|
132
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternPathSegment: never;
|
|
133
|
+
|
|
118
134
|
readonly IsSimple: boolean;
|
|
119
|
-
readonly Parts:
|
|
135
|
+
readonly Parts: IReadOnlyList_1<RoutePatternPart>;
|
|
120
136
|
}
|
|
121
137
|
|
|
122
138
|
|
|
@@ -127,6 +143,8 @@ export const RoutePatternPathSegment: {
|
|
|
127
143
|
export type RoutePatternPathSegment = RoutePatternPathSegment$instance;
|
|
128
144
|
|
|
129
145
|
export interface RoutePatternSeparatorPart$instance extends RoutePatternPart {
|
|
146
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternSeparatorPart: never;
|
|
147
|
+
|
|
130
148
|
readonly Content: string;
|
|
131
149
|
}
|
|
132
150
|
|
|
@@ -138,6 +156,8 @@ export const RoutePatternSeparatorPart: {
|
|
|
138
156
|
export type RoutePatternSeparatorPart = RoutePatternSeparatorPart$instance;
|
|
139
157
|
|
|
140
158
|
export interface RoutePatternTransformer$instance {
|
|
159
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Patterns_RoutePatternTransformer: never;
|
|
160
|
+
|
|
141
161
|
SubstituteRequiredValues(original: RoutePattern, requiredValues: unknown): RoutePattern | undefined;
|
|
142
162
|
SubstituteRequiredValues(original: RoutePattern, requiredValues: RouteValueDictionary): RoutePattern | undefined;
|
|
143
163
|
}
|
|
@@ -156,7 +176,7 @@ export abstract class RoutePatternFactory$instance {
|
|
|
156
176
|
static Constraint(constraint: string): RoutePatternParameterPolicyReference;
|
|
157
177
|
static LiteralPart(content: string): RoutePatternLiteralPart;
|
|
158
178
|
static ParameterPart(parameterName: string, default_: unknown, parameterKind: RoutePatternParameterKind, ...parameterPolicies: RoutePatternParameterPolicyReference[]): RoutePatternParameterPart;
|
|
159
|
-
static ParameterPart(parameterName: string, default_: unknown, parameterKind: RoutePatternParameterKind, parameterPolicies:
|
|
179
|
+
static ParameterPart(parameterName: string, default_: unknown, parameterKind: RoutePatternParameterKind, parameterPolicies: IEnumerable_1<RoutePatternParameterPolicyReference>): RoutePatternParameterPart;
|
|
160
180
|
static ParameterPart(parameterName: string, default_: unknown, parameterKind: RoutePatternParameterKind): RoutePatternParameterPart;
|
|
161
181
|
static ParameterPart(parameterName: string, default_: unknown): RoutePatternParameterPart;
|
|
162
182
|
static ParameterPart(parameterName: string): RoutePatternParameterPart;
|
|
@@ -169,18 +189,18 @@ export abstract class RoutePatternFactory$instance {
|
|
|
169
189
|
static Parse(pattern: string): RoutePattern;
|
|
170
190
|
static Pattern(...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
171
191
|
static Pattern(defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
172
|
-
static Pattern(defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, segments:
|
|
173
|
-
static Pattern(segments:
|
|
192
|
+
static Pattern(defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
193
|
+
static Pattern(segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
174
194
|
static Pattern(defaults: unknown, parameterPolicies: unknown, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
175
|
-
static Pattern(defaults: unknown, parameterPolicies: unknown, segments:
|
|
195
|
+
static Pattern(defaults: unknown, parameterPolicies: unknown, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
176
196
|
static Pattern(rawText: string, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
177
197
|
static Pattern(rawText: string, defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
178
|
-
static Pattern(rawText: string, defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, segments:
|
|
179
|
-
static Pattern(rawText: string, segments:
|
|
198
|
+
static Pattern(rawText: string, defaults: RouteValueDictionary, parameterPolicies: RouteValueDictionary, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
199
|
+
static Pattern(rawText: string, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
180
200
|
static Pattern(rawText: string, defaults: unknown, parameterPolicies: unknown, ...segments: RoutePatternPathSegment[]): RoutePattern;
|
|
181
|
-
static Pattern(rawText: string, defaults: unknown, parameterPolicies: unknown, segments:
|
|
201
|
+
static Pattern(rawText: string, defaults: unknown, parameterPolicies: unknown, segments: IEnumerable_1<RoutePatternPathSegment>): RoutePattern;
|
|
182
202
|
static Segment(...parts: RoutePatternPart[]): RoutePatternPathSegment;
|
|
183
|
-
static Segment(parts:
|
|
203
|
+
static Segment(parts: IEnumerable_1<RoutePatternPart>): RoutePatternPathSegment;
|
|
184
204
|
static SeparatorPart(content: string): RoutePatternSeparatorPart;
|
|
185
205
|
}
|
|
186
206
|
|
|
@@ -12,11 +12,13 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
12
12
|
import type { HttpContext, PathString } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
13
13
|
import type { RoutePattern, RoutePatternParameterPolicyReference, RoutePatternPart, RoutePatternPathSegment } from "../../Microsoft.AspNetCore.Routing.Patterns/internal/index.js";
|
|
14
14
|
import type { IRouteConstraint, RouteValueDictionary } from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
15
|
-
import type {
|
|
16
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
17
|
-
import type { Boolean as ClrBoolean, Decimal, Int32, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
15
|
+
import type { IEnumerable_1, IList_1, List_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
16
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { Boolean as ClrBoolean, Decimal, Int32, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
18
18
|
|
|
19
19
|
export interface InlineConstraint$instance {
|
|
20
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_InlineConstraint: never;
|
|
21
|
+
|
|
20
22
|
readonly Constraint: string;
|
|
21
23
|
}
|
|
22
24
|
|
|
@@ -30,8 +32,10 @@ export const InlineConstraint: {
|
|
|
30
32
|
export type InlineConstraint = InlineConstraint$instance;
|
|
31
33
|
|
|
32
34
|
export interface RouteTemplate$instance {
|
|
33
|
-
readonly
|
|
34
|
-
|
|
35
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_RouteTemplate: never;
|
|
36
|
+
|
|
37
|
+
readonly Parameters: IList_1<TemplatePart>;
|
|
38
|
+
readonly Segments: IList_1<TemplateSegment>;
|
|
35
39
|
readonly TemplateText: string | undefined;
|
|
36
40
|
GetParameter(name: string): TemplatePart | undefined;
|
|
37
41
|
GetSegment(index: int): TemplateSegment | undefined;
|
|
@@ -41,13 +45,15 @@ export interface RouteTemplate$instance {
|
|
|
41
45
|
|
|
42
46
|
export const RouteTemplate: {
|
|
43
47
|
new(other: RoutePattern): RouteTemplate;
|
|
44
|
-
new(template: string, segments:
|
|
48
|
+
new(template: string, segments: List_1<TemplateSegment>): RouteTemplate;
|
|
45
49
|
};
|
|
46
50
|
|
|
47
51
|
|
|
48
52
|
export type RouteTemplate = RouteTemplate$instance;
|
|
49
53
|
|
|
50
54
|
export interface TemplateBinder$instance {
|
|
55
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplateBinder: never;
|
|
56
|
+
|
|
51
57
|
BindValues(acceptedValues: RouteValueDictionary): string | undefined;
|
|
52
58
|
GetValues(ambientValues: RouteValueDictionary, values: RouteValueDictionary): TemplateValuesResult | undefined;
|
|
53
59
|
TryProcessConstraints(httpContext: HttpContext, combinedValues: RouteValueDictionary, parameterName: string, constraint: IRouteConstraint): boolean;
|
|
@@ -62,6 +68,8 @@ export const TemplateBinder: {
|
|
|
62
68
|
export type TemplateBinder = TemplateBinder$instance;
|
|
63
69
|
|
|
64
70
|
export interface TemplateBinderFactory$instance {
|
|
71
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplateBinderFactory: never;
|
|
72
|
+
|
|
65
73
|
Create(template: RouteTemplate, defaults: RouteValueDictionary): TemplateBinder;
|
|
66
74
|
Create(pattern: RoutePattern): TemplateBinder;
|
|
67
75
|
}
|
|
@@ -74,6 +82,8 @@ export const TemplateBinderFactory: (abstract new() => TemplateBinderFactory) &
|
|
|
74
82
|
export type TemplateBinderFactory = TemplateBinderFactory$instance;
|
|
75
83
|
|
|
76
84
|
export interface TemplateMatcher$instance {
|
|
85
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplateMatcher: never;
|
|
86
|
+
|
|
77
87
|
readonly Defaults: RouteValueDictionary;
|
|
78
88
|
readonly Template: RouteTemplate;
|
|
79
89
|
TryMatch(path: PathString, values: RouteValueDictionary): boolean;
|
|
@@ -88,9 +98,11 @@ export const TemplateMatcher: {
|
|
|
88
98
|
export type TemplateMatcher = TemplateMatcher$instance;
|
|
89
99
|
|
|
90
100
|
export interface TemplatePart$instance {
|
|
101
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplatePart: never;
|
|
102
|
+
|
|
91
103
|
get DefaultValue(): unknown | undefined;
|
|
92
104
|
set DefaultValue(value: unknown | undefined);
|
|
93
|
-
InlineConstraints:
|
|
105
|
+
InlineConstraints: IEnumerable_1<InlineConstraint>;
|
|
94
106
|
IsCatchAll: boolean;
|
|
95
107
|
IsLiteral: boolean;
|
|
96
108
|
IsOptional: boolean;
|
|
@@ -108,15 +120,17 @@ export const TemplatePart: {
|
|
|
108
120
|
new(): TemplatePart;
|
|
109
121
|
new(other: RoutePatternPart): TemplatePart;
|
|
110
122
|
CreateLiteral(text: string): TemplatePart;
|
|
111
|
-
CreateParameter(name: string, isCatchAll: boolean, isOptional: boolean, defaultValue: unknown, inlineConstraints:
|
|
123
|
+
CreateParameter(name: string, isCatchAll: boolean, isOptional: boolean, defaultValue: unknown, inlineConstraints: IEnumerable_1<InlineConstraint>): TemplatePart;
|
|
112
124
|
};
|
|
113
125
|
|
|
114
126
|
|
|
115
127
|
export type TemplatePart = TemplatePart$instance;
|
|
116
128
|
|
|
117
129
|
export interface TemplateSegment$instance {
|
|
130
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplateSegment: never;
|
|
131
|
+
|
|
118
132
|
readonly IsSimple: boolean;
|
|
119
|
-
readonly Parts:
|
|
133
|
+
readonly Parts: List_1<TemplatePart>;
|
|
120
134
|
ToRoutePatternPathSegment(): RoutePatternPathSegment;
|
|
121
135
|
}
|
|
122
136
|
|
|
@@ -130,6 +144,8 @@ export const TemplateSegment: {
|
|
|
130
144
|
export type TemplateSegment = TemplateSegment$instance;
|
|
131
145
|
|
|
132
146
|
export interface TemplateValuesResult$instance {
|
|
147
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Template_TemplateValuesResult: never;
|
|
148
|
+
|
|
133
149
|
AcceptedValues: RouteValueDictionary;
|
|
134
150
|
CombinedValues: RouteValueDictionary;
|
|
135
151
|
}
|
|
@@ -9,12 +9,14 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { RouteTemplate, TemplateBinder, TemplateMatcher } from "../../Microsoft.AspNetCore.Routing.Template/internal/index.js";
|
|
10
10
|
import * as Microsoft_AspNetCore_Routing_Internal from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
11
11
|
import type { IRouteConstraint, IRouter, RouteContext, RouteValueDictionary, VirtualPathContext, VirtualPathData } from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
12
|
-
import type {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import type {
|
|
12
|
+
import type { Dictionary_2, IDictionary_2, IList_1, List_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
14
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
15
|
+
import type { Boolean as ClrBoolean, Decimal, Int32, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
16
16
|
|
|
17
17
|
export interface InboundMatch$instance {
|
|
18
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_InboundMatch: never;
|
|
19
|
+
|
|
18
20
|
Entry: InboundRouteEntry;
|
|
19
21
|
TemplateMatcher: TemplateMatcher;
|
|
20
22
|
}
|
|
@@ -28,7 +30,9 @@ export const InboundMatch: {
|
|
|
28
30
|
export type InboundMatch = InboundMatch$instance;
|
|
29
31
|
|
|
30
32
|
export interface InboundRouteEntry$instance {
|
|
31
|
-
|
|
33
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_InboundRouteEntry: never;
|
|
34
|
+
|
|
35
|
+
Constraints: IDictionary_2<System_Internal.String, IRouteConstraint>;
|
|
32
36
|
Defaults: RouteValueDictionary;
|
|
33
37
|
Handler: IRouter;
|
|
34
38
|
Order: int;
|
|
@@ -46,6 +50,8 @@ export const InboundRouteEntry: {
|
|
|
46
50
|
export type InboundRouteEntry = InboundRouteEntry$instance;
|
|
47
51
|
|
|
48
52
|
export interface OutboundMatch$instance {
|
|
53
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_OutboundMatch: never;
|
|
54
|
+
|
|
49
55
|
Entry: OutboundRouteEntry;
|
|
50
56
|
TemplateBinder: TemplateBinder;
|
|
51
57
|
}
|
|
@@ -59,7 +65,9 @@ export const OutboundMatch: {
|
|
|
59
65
|
export type OutboundMatch = OutboundMatch$instance;
|
|
60
66
|
|
|
61
67
|
export interface OutboundRouteEntry$instance {
|
|
62
|
-
|
|
68
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_OutboundRouteEntry: never;
|
|
69
|
+
|
|
70
|
+
Constraints: IDictionary_2<System_Internal.String, IRouteConstraint>;
|
|
63
71
|
Data: unknown;
|
|
64
72
|
Defaults: RouteValueDictionary;
|
|
65
73
|
Handler: IRouter;
|
|
@@ -79,8 +87,10 @@ export const OutboundRouteEntry: {
|
|
|
79
87
|
export type OutboundRouteEntry = OutboundRouteEntry$instance;
|
|
80
88
|
|
|
81
89
|
export interface TreeRouteBuilder$instance {
|
|
82
|
-
readonly
|
|
83
|
-
|
|
90
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_TreeRouteBuilder: never;
|
|
91
|
+
|
|
92
|
+
readonly InboundEntries: IList_1<InboundRouteEntry>;
|
|
93
|
+
readonly OutboundEntries: IList_1<OutboundRouteEntry>;
|
|
84
94
|
Build(): TreeRouter;
|
|
85
95
|
Build(version: int): TreeRouter;
|
|
86
96
|
Clear(): void;
|
|
@@ -95,7 +105,11 @@ export const TreeRouteBuilder: {
|
|
|
95
105
|
|
|
96
106
|
export type TreeRouteBuilder = TreeRouteBuilder$instance;
|
|
97
107
|
|
|
98
|
-
export interface TreeRouter$instance {
|
|
108
|
+
export interface TreeRouter$instance extends Microsoft_AspNetCore_Routing_Internal.IRouter$instance {
|
|
109
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_TreeRouter: never;
|
|
110
|
+
|
|
111
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Routing_IRouter: never;
|
|
112
|
+
|
|
99
113
|
readonly Version: int;
|
|
100
114
|
GetVirtualPath(context: VirtualPathContext): VirtualPathData | undefined;
|
|
101
115
|
RouteAsync(context: RouteContext): Task;
|
|
@@ -111,19 +125,19 @@ export interface __TreeRouter$views {
|
|
|
111
125
|
As_IRouter(): Microsoft_AspNetCore_Routing_Internal.IRouter$instance;
|
|
112
126
|
}
|
|
113
127
|
|
|
114
|
-
export interface TreeRouter$instance extends Microsoft_AspNetCore_Routing_Internal.IRouter$instance {}
|
|
115
|
-
|
|
116
128
|
export type TreeRouter = TreeRouter$instance & __TreeRouter$views;
|
|
117
129
|
|
|
118
130
|
|
|
119
131
|
export interface UrlMatchingNode$instance {
|
|
132
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_UrlMatchingNode: never;
|
|
133
|
+
|
|
120
134
|
CatchAlls: UrlMatchingNode;
|
|
121
135
|
ConstrainedCatchAlls: UrlMatchingNode;
|
|
122
136
|
ConstrainedParameters: UrlMatchingNode;
|
|
123
137
|
readonly Depth: int;
|
|
124
138
|
IsCatchAll: boolean;
|
|
125
|
-
readonly Literals:
|
|
126
|
-
readonly Matches:
|
|
139
|
+
readonly Literals: Dictionary_2<System_Internal.String, UrlMatchingNode>;
|
|
140
|
+
readonly Matches: List_1<InboundMatch>;
|
|
127
141
|
Parameters: UrlMatchingNode;
|
|
128
142
|
}
|
|
129
143
|
|
|
@@ -136,6 +150,8 @@ export const UrlMatchingNode: {
|
|
|
136
150
|
export type UrlMatchingNode = UrlMatchingNode$instance;
|
|
137
151
|
|
|
138
152
|
export interface UrlMatchingTree$instance {
|
|
153
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Routing_Tree_UrlMatchingTree: never;
|
|
154
|
+
|
|
139
155
|
readonly Order: int;
|
|
140
156
|
readonly Root: UrlMatchingNode;
|
|
141
157
|
}
|