@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.
Files changed (187) hide show
  1. package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
  2. package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
  3. package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
  4. package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
  5. package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
  6. package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
  7. package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
  8. package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
  9. package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
  10. package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
  11. package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
  12. package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
  13. package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
  14. package/Microsoft.AspNetCore.Components/bindings.json +4 -1
  15. package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
  16. package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
  17. package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
  18. package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
  19. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
  20. package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
  21. package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
  22. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
  23. package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
  24. package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
  25. package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
  26. package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
  27. package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
  28. package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
  29. package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
  30. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
  31. package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
  32. package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
  33. package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
  34. package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
  35. package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
  36. package/Microsoft.AspNetCore.Components.d.ts +1 -1
  37. package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
  38. package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
  39. package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
  40. package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
  41. package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
  42. package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
  43. package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
  44. package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
  45. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
  46. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
  47. package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
  48. package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
  49. package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
  50. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
  51. package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
  52. package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
  53. package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
  54. package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
  55. package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
  56. package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
  57. package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
  58. package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
  59. package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
  60. package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
  61. package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
  62. package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
  63. package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
  64. package/Microsoft.AspNetCore.Http/bindings.json +470 -530
  65. package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
  66. package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
  67. package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
  68. package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
  69. package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
  70. package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
  71. package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
  72. package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
  73. package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
  74. package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
  75. package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
  76. package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
  77. package/Microsoft.AspNetCore.Http.d.ts +4 -4
  78. package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
  79. package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
  80. package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
  81. package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
  82. package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
  83. package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
  84. package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
  85. package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
  86. package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
  87. package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
  88. package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
  89. package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
  90. package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
  91. package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
  92. package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
  93. package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
  94. package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
  95. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
  96. package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
  97. package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
  98. package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
  99. package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
  100. package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
  101. package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
  102. package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
  103. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
  104. package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
  105. package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
  106. package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
  107. package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
  108. package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
  109. package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
  110. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
  111. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
  112. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
  113. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
  114. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
  115. package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
  116. package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
  117. package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
  118. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
  119. package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
  120. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
  121. package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
  122. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
  123. package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
  124. package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
  125. package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
  126. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
  127. package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
  128. package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
  129. package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
  130. package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
  131. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
  132. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
  133. package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
  134. package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
  135. package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
  136. package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
  137. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
  138. package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
  139. package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
  140. package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
  141. package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
  142. package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
  143. package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
  144. package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
  145. package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
  146. package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
  147. package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
  148. package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
  149. package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
  150. package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
  151. package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
  152. package/Microsoft.AspNetCore.Routing.d.ts +1 -1
  153. package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
  154. package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
  155. package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
  156. package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
  157. package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
  158. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
  159. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
  160. package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
  161. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
  162. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
  163. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
  164. package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
  165. package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
  166. package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
  167. package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
  168. package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
  169. package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
  170. package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
  171. package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
  172. package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
  173. package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
  174. package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
  175. package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
  176. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
  177. package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
  178. package/Microsoft.JSInterop/internal/index.d.ts +46 -48
  179. package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
  180. package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
  181. package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
  182. package/README.md +58 -15
  183. package/System.Formats.Cbor/internal/index.d.ts +4 -6
  184. package/System.Security.Claims/internal/index.d.ts +4 -3
  185. package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
  186. package/__internal/extensions/index.d.ts +417 -419
  187. package/package.json +4 -4
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.Mvc.Infrastructure
3
3
  // Assembly: Microsoft.AspNetCore.Mvc.Core
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { IWebHostEnvironment } from "../../Microsoft.AspNetCore.Hosting/internal/index.js";
@@ -36,8 +37,8 @@ import type { IChangeToken } from "@tsonic/microsoft-extensions/Microsoft.Extens
36
37
  export interface IActionContextAccessor$instance {
37
38
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionContextAccessor: never;
38
39
 
39
- get ActionContext(): ActionContext | undefined;
40
- set ActionContext(value: ActionContext | undefined);
40
+ get ActionContext(): ActionContext | null;
41
+ set ActionContext(value: ActionContext | null);
41
42
  }
42
43
 
43
44
 
@@ -64,7 +65,7 @@ export type IActionDescriptorCollectionProvider = IActionDescriptorCollectionPro
64
65
  export interface IActionInvokerFactory$instance {
65
66
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionInvokerFactory: never;
66
67
 
67
- CreateInvoker(actionContext: ActionContext): IActionInvoker | undefined;
68
+ CreateInvoker(actionContext: ActionContext): IActionInvoker | null;
68
69
  }
69
70
 
70
71
 
@@ -82,7 +83,7 @@ export type IActionResultExecutor_1<TResult extends IActionResult> = IActionResu
82
83
  export interface IActionResultTypeMapper$instance {
83
84
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionResultTypeMapper: never;
84
85
 
85
- Convert(value: unknown, returnType: Type): IActionResult;
86
+ Convert(value: JsValue | null, returnType: Type): IActionResult;
86
87
  GetResultDataType(returnType: Type): Type;
87
88
  }
88
89
 
@@ -92,8 +93,8 @@ export type IActionResultTypeMapper = IActionResultTypeMapper$instance;
92
93
  export interface IActionSelector$instance {
93
94
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionSelector: never;
94
95
 
95
- SelectBestCandidate(context: RouteContext, candidates: IReadOnlyList_1<ActionDescriptor>): ActionDescriptor | undefined;
96
- SelectCandidates(context: RouteContext): IReadOnlyList_1<ActionDescriptor> | undefined;
96
+ SelectBestCandidate(context: RouteContext, candidates: IReadOnlyList_1<ActionDescriptor>): ActionDescriptor | null;
97
+ SelectCandidates(context: RouteContext): IReadOnlyList_1<ActionDescriptor> | null;
97
98
  }
98
99
 
99
100
 
@@ -122,7 +123,7 @@ export type IClientErrorActionResult = IClientErrorActionResult$instance;
122
123
  export interface IClientErrorFactory$instance {
123
124
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IClientErrorFactory: never;
124
125
 
125
- GetClientError(actionContext: ActionContext, clientError: IClientErrorActionResult): IActionResult | undefined;
126
+ GetClientError(actionContext: ActionContext, clientError: IClientErrorActionResult): IActionResult | null;
126
127
  }
127
128
 
128
129
 
@@ -133,7 +134,7 @@ export interface ICompatibilitySwitch$instance {
133
134
 
134
135
  readonly IsValueSet: boolean;
135
136
  readonly Name: string;
136
- Value: unknown;
137
+ Value: JsValue;
137
138
  }
138
139
 
139
140
 
@@ -201,8 +202,8 @@ export interface ActionContextAccessor$instance extends IActionContextAccessor$i
201
202
 
202
203
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionContextAccessor: never;
203
204
 
204
- get ActionContext(): ActionContext | undefined;
205
- set ActionContext(value: ActionContext | undefined);
205
+ get ActionContext(): ActionContext | null;
206
+ set ActionContext(value: ActionContext | null);
206
207
  }
207
208
 
208
209
 
@@ -289,13 +290,13 @@ export interface AmbiguousActionException$instance extends InvalidOperationExcep
289
290
 
290
291
 
291
292
  export const AmbiguousActionException: {
292
- new(message: string): AmbiguousActionException;
293
+ new(message: string | null): AmbiguousActionException;
293
294
  };
294
295
 
295
296
 
296
297
  export type AmbiguousActionException = AmbiguousActionException$instance;
297
298
 
298
- export interface CompatibilitySwitch_1$instance<TValue extends unknown> {
299
+ export interface CompatibilitySwitch_1$instance<TValue extends NonNullable<JsValue>> {
299
300
  readonly __tsonic_type_Microsoft_AspNetCore_Mvc_Infrastructure_CompatibilitySwitch_1: never;
300
301
 
301
302
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_ICompatibilitySwitch: never;
@@ -307,12 +308,12 @@ export interface CompatibilitySwitch_1$instance<TValue extends unknown> {
307
308
 
308
309
 
309
310
  export const CompatibilitySwitch_1: {
310
- new<TValue extends unknown>(name: string): CompatibilitySwitch_1<TValue>;
311
- new<TValue extends unknown>(name: string, initialValue: TValue): CompatibilitySwitch_1<TValue>;
311
+ new<TValue extends NonNullable<JsValue>>(name: string): CompatibilitySwitch_1<TValue>;
312
+ new<TValue extends NonNullable<JsValue>>(name: string, initialValue: TValue): CompatibilitySwitch_1<TValue>;
312
313
  };
313
314
 
314
315
 
315
- export interface __CompatibilitySwitch_1$views<TValue extends unknown> {
316
+ export interface __CompatibilitySwitch_1$views<TValue extends NonNullable<JsValue>> {
316
317
  As_ICompatibilitySwitch(): ICompatibilitySwitch$instance;
317
318
  }
318
319
 
@@ -324,8 +325,8 @@ export interface ConfigureCompatibilityOptions_1$instance<TOptions extends IEnum
324
325
 
325
326
  readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
326
327
 
327
- readonly DefaultValues: IReadOnlyDictionary_2<System_Internal.String, unknown>;
328
- PostConfigure(name: string, options: TOptions): void;
328
+ readonly DefaultValues: IReadOnlyDictionary_2<System_Internal.String, JsValue>;
329
+ PostConfigure(name: string | null, options: TOptions): void;
329
330
  }
330
331
 
331
332
 
@@ -359,7 +360,7 @@ export type ContentResultExecutor = ContentResultExecutor$instance & __ContentRe
359
360
  export interface DefaultOutputFormatterSelector$instance extends OutputFormatterSelector {
360
361
  readonly __tsonic_type_Microsoft_AspNetCore_Mvc_Infrastructure_DefaultOutputFormatterSelector: never;
361
362
 
362
- SelectFormatter(context: OutputFormatterCanWriteContext, formatters: IList_1<IOutputFormatter>, contentTypes: MediaTypeCollection): IOutputFormatter | undefined;
363
+ SelectFormatter(context: OutputFormatterCanWriteContext, formatters: IList_1<IOutputFormatter>, contentTypes: MediaTypeCollection): IOutputFormatter | null;
363
364
  }
364
365
 
365
366
 
@@ -373,13 +374,13 @@ export type DefaultOutputFormatterSelector = DefaultOutputFormatterSelector$inst
373
374
  export interface DefaultProblemDetailsFactory$instance extends ProblemDetailsFactory {
374
375
  readonly __tsonic_type_Microsoft_AspNetCore_Mvc_Infrastructure_DefaultProblemDetailsFactory: never;
375
376
 
376
- CreateProblemDetails(httpContext: HttpContext, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, detail?: string, instance?: string): ProblemDetails;
377
- CreateValidationProblemDetails(httpContext: HttpContext, modelStateDictionary: ModelStateDictionary, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, detail?: string, instance?: string): ValidationProblemDetails;
377
+ CreateProblemDetails(httpContext: HttpContext, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, detail?: string | null, instance?: string | null): ProblemDetails;
378
+ CreateValidationProblemDetails(httpContext: HttpContext, modelStateDictionary: ModelStateDictionary, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, detail?: string | null, instance?: string | null): ValidationProblemDetails;
378
379
  }
379
380
 
380
381
 
381
382
  export const DefaultProblemDetailsFactory: {
382
- new(options: IOptions_1<ApiBehaviorOptions>, problemDetailsOptions: IOptions_1<ProblemDetailsOptions>): DefaultProblemDetailsFactory;
383
+ new(options: IOptions_1<ApiBehaviorOptions>, problemDetailsOptions: IOptions_1<ProblemDetailsOptions> | null): DefaultProblemDetailsFactory;
383
384
  };
384
385
 
385
386
 
@@ -405,7 +406,7 @@ export interface FileContentResultExecutor$instance extends FileResultExecutorBa
405
406
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionResultExecutor_1: never;
406
407
 
407
408
  ExecuteAsync(context: ActionContext, result: FileContentResult): Task;
408
- WriteFileAsync(context: ActionContext, result: FileContentResult, range: RangeItemHeaderValue, rangeLength: long): Task;
409
+ WriteFileAsync(context: ActionContext, result: FileContentResult, range: RangeItemHeaderValue | null, rangeLength: long): Task;
409
410
  }
410
411
 
411
412
 
@@ -424,7 +425,7 @@ export type FileContentResultExecutor = FileContentResultExecutor$instance & __F
424
425
  export interface FileResultExecutorBase$instance {
425
426
  readonly __tsonic_type_Microsoft_AspNetCore_Mvc_Infrastructure_FileResultExecutorBase: never;
426
427
 
427
- SetHeadersAndLog(context: ActionContext, result: FileResult, fileLength: Nullable_1<System_Internal.Int64>, enableRangeProcessing: boolean, lastModified?: Nullable_1<DateTimeOffset>, etag?: EntityTagHeaderValue): ValueTuple_3<RangeItemHeaderValue, System_Internal.Int64, System_Internal.Boolean>;
428
+ SetHeadersAndLog(context: ActionContext, result: FileResult, fileLength: Nullable_1<System_Internal.Int64>, enableRangeProcessing: boolean, lastModified?: Nullable_1<DateTimeOffset>, etag?: EntityTagHeaderValue | null): ValueTuple_3<RangeItemHeaderValue, System_Internal.Int64, System_Internal.Boolean>;
428
429
  }
429
430
 
430
431
 
@@ -432,7 +433,7 @@ export const FileResultExecutorBase: {
432
433
  new(logger: ILogger): FileResultExecutorBase;
433
434
  readonly BufferSize: int;
434
435
  CreateLogger<T>(factory: ILoggerFactory): ILogger;
435
- WriteFileAsync(context: HttpContext, fileStream: Stream, range: RangeItemHeaderValue, rangeLength: long): Task;
436
+ WriteFileAsync(context: HttpContext, fileStream: Stream, range: RangeItemHeaderValue | null, rangeLength: long): Task;
436
437
  };
437
438
 
438
439
 
@@ -444,7 +445,7 @@ export interface FileStreamResultExecutor$instance extends FileResultExecutorBas
444
445
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionResultExecutor_1: never;
445
446
 
446
447
  ExecuteAsync(context: ActionContext, result: FileStreamResult): Task;
447
- WriteFileAsync(context: ActionContext, result: FileStreamResult, range: RangeItemHeaderValue, rangeLength: long): Task;
448
+ WriteFileAsync(context: ActionContext, result: FileStreamResult, range: RangeItemHeaderValue | null, rangeLength: long): Task;
448
449
  }
449
450
 
450
451
 
@@ -546,7 +547,7 @@ export type ObjectResultExecutor = ObjectResultExecutor$instance & __ObjectResul
546
547
  export interface OutputFormatterSelector$instance {
547
548
  readonly __tsonic_type_Microsoft_AspNetCore_Mvc_Infrastructure_OutputFormatterSelector: never;
548
549
 
549
- SelectFormatter(context: OutputFormatterCanWriteContext, formatters: IList_1<IOutputFormatter>, mediaTypes: MediaTypeCollection): IOutputFormatter | undefined;
550
+ SelectFormatter(context: OutputFormatterCanWriteContext, formatters: IList_1<IOutputFormatter>, mediaTypes: MediaTypeCollection): IOutputFormatter | null;
550
551
  }
551
552
 
552
553
 
@@ -562,9 +563,9 @@ export interface PhysicalFileResultExecutor$instance extends FileResultExecutorB
562
563
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Infrastructure_IActionResultExecutor_1: never;
563
564
 
564
565
  ExecuteAsync(context: ActionContext, result: PhysicalFileResult): Task;
565
- GetFileInfo(path: string): unknown;
566
+ GetFileInfo(path: string): PhysicalFileResultExecutor_FileMetadata;
566
567
  GetFileStream(path: string): Stream;
567
- WriteFileAsync(context: ActionContext, result: PhysicalFileResult, range: RangeItemHeaderValue, rangeLength: long): Task;
568
+ WriteFileAsync(context: ActionContext, result: PhysicalFileResult, range: RangeItemHeaderValue | null, rangeLength: long): Task;
568
569
  }
569
570
 
570
571
 
@@ -580,11 +581,27 @@ export interface __PhysicalFileResultExecutor$views {
580
581
  export type PhysicalFileResultExecutor = PhysicalFileResultExecutor$instance & __PhysicalFileResultExecutor$views;
581
582
 
582
583
 
584
+ export interface PhysicalFileResultExecutor_FileMetadata$instance {
585
+ readonly __tsonic_type_Microsoft_AspNetCore_Mvc_Infrastructure_PhysicalFileResultExecutor_FileMetadata: never;
586
+
587
+ Exists: boolean;
588
+ LastModified: DateTimeOffset;
589
+ Length: long;
590
+ }
591
+
592
+
593
+ export const PhysicalFileResultExecutor_FileMetadata: {
594
+ new(): PhysicalFileResultExecutor_FileMetadata;
595
+ };
596
+
597
+
598
+ export type PhysicalFileResultExecutor_FileMetadata = PhysicalFileResultExecutor_FileMetadata$instance;
599
+
583
600
  export interface ProblemDetailsFactory$instance {
584
601
  readonly __tsonic_type_Microsoft_AspNetCore_Mvc_Infrastructure_ProblemDetailsFactory: never;
585
602
 
586
- CreateProblemDetails(httpContext: HttpContext, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, detail?: string, instance?: string): ProblemDetails;
587
- CreateValidationProblemDetails(httpContext: HttpContext, modelStateDictionary: ModelStateDictionary, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, detail?: string, instance?: string): ValidationProblemDetails;
603
+ CreateProblemDetails(httpContext: HttpContext, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, detail?: string | null, instance?: string | null): ProblemDetails;
604
+ CreateValidationProblemDetails(httpContext: HttpContext, modelStateDictionary: ModelStateDictionary, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, detail?: string | null, instance?: string | null): ValidationProblemDetails;
588
605
  }
589
606
 
590
607
 
@@ -685,7 +702,7 @@ export interface VirtualFileResultExecutor$instance extends FileResultExecutorBa
685
702
 
686
703
  ExecuteAsync(context: ActionContext, result: VirtualFileResult): Task;
687
704
  GetFileStream(fileInfo: IFileInfo): Stream;
688
- WriteFileAsync(context: ActionContext, result: VirtualFileResult, fileInfo: IFileInfo, range: RangeItemHeaderValue, rangeLength: long): Task;
705
+ WriteFileAsync(context: ActionContext, result: VirtualFileResult, fileInfo: IFileInfo, range: RangeItemHeaderValue | null, rangeLength: long): Task;
689
706
  }
690
707
 
691
708
 
@@ -67,6 +67,7 @@ export { MvcCompatibilityOptions as MvcCompatibilityOptions } from './Microsoft.
67
67
  export { ObjectResultExecutor as ObjectResultExecutor } from './Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.js';
68
68
  export { OutputFormatterSelector as OutputFormatterSelector } from './Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.js';
69
69
  export { PhysicalFileResultExecutor as PhysicalFileResultExecutor } from './Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.js';
70
+ export { PhysicalFileResultExecutor_FileMetadata as PhysicalFileResultExecutor_FileMetadata } from './Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.js';
70
71
  export { ProblemDetailsFactory as ProblemDetailsFactory } from './Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.js';
71
72
  export { RedirectResultExecutor as RedirectResultExecutor } from './Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.js';
72
73
  export { RedirectToActionResultExecutor as RedirectToActionResultExecutor } from './Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.Mvc.Localization
3
3
  // Assembly: Microsoft.AspNetCore.Mvc.Localization
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { IWebHostEnvironment } from "../../Microsoft.AspNetCore.Hosting/internal/index.js";
@@ -22,10 +23,10 @@ import type { IStringLocalizer, IStringLocalizerFactory, LocalizedString } from
22
23
  export interface IHtmlLocalizer$instance {
23
24
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Localization_IHtmlLocalizer: never;
24
25
 
25
- get_Item2(name: string, ...arguments: unknown[]): LocalizedHtmlString;
26
+ get_Item2(name: string, ...arguments: JsValue[]): LocalizedHtmlString;
26
27
  get_Item2(name: string): LocalizedHtmlString;
27
28
  GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
28
- GetString(name: string, ...arguments: unknown[]): LocalizedString;
29
+ GetString(name: string, ...arguments: JsValue[]): LocalizedString;
29
30
  GetString(name: string): LocalizedString;
30
31
  }
31
32
 
@@ -35,10 +36,10 @@ export type IHtmlLocalizer = IHtmlLocalizer$instance;
35
36
  export interface IHtmlLocalizer_1$instance<TResource> extends IHtmlLocalizer {
36
37
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Localization_IHtmlLocalizer_1: never;
37
38
 
38
- get_Item2(name: string, ...arguments: unknown[]): LocalizedHtmlString;
39
+ get_Item2(name: string, ...arguments: JsValue[]): LocalizedHtmlString;
39
40
  get_Item2(name: string): LocalizedHtmlString;
40
41
  GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
41
- GetString(name: string, ...arguments: unknown[]): LocalizedString;
42
+ GetString(name: string, ...arguments: JsValue[]): LocalizedString;
42
43
  GetString(name: string): LocalizedString;
43
44
  get_Item(name: string): LocalizedHtmlString;
44
45
  }
@@ -61,10 +62,10 @@ export type IHtmlLocalizerFactory = IHtmlLocalizerFactory$instance;
61
62
  export interface IViewLocalizer$instance extends IHtmlLocalizer {
62
63
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Localization_IViewLocalizer: never;
63
64
 
64
- get_Item2(name: string, ...arguments: unknown[]): LocalizedHtmlString;
65
+ get_Item2(name: string, ...arguments: JsValue[]): LocalizedHtmlString;
65
66
  get_Item2(name: string): LocalizedHtmlString;
66
67
  GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
67
- GetString(name: string, ...arguments: unknown[]): LocalizedString;
68
+ GetString(name: string, ...arguments: JsValue[]): LocalizedString;
68
69
  GetString(name: string): LocalizedString;
69
70
  get_Item(name: string): LocalizedHtmlString;
70
71
  }
@@ -80,12 +81,12 @@ export interface HtmlLocalizer$instance extends IHtmlLocalizer$instance {
80
81
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Localization_IHtmlLocalizer: never;
81
82
 
82
83
  get_Item(name: string): LocalizedHtmlString;
83
- get_Item(name: string, ...arguments: unknown[]): LocalizedHtmlString;
84
+ get_Item(name: string, ...arguments: JsValue[]): LocalizedHtmlString;
84
85
  GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
85
86
  GetString(name: string): LocalizedString;
86
- GetString(name: string, ...arguments: unknown[]): LocalizedString;
87
+ GetString(name: string, ...arguments: JsValue[]): LocalizedString;
87
88
  ToHtmlString(result: LocalizedString): LocalizedHtmlString;
88
- ToHtmlString(result: LocalizedString, arguments: unknown[]): LocalizedHtmlString;
89
+ ToHtmlString(result: LocalizedString, arguments: JsValue[]): LocalizedHtmlString;
89
90
  }
90
91
 
91
92
 
@@ -108,10 +109,10 @@ export interface HtmlLocalizer_1$instance<TResource> extends IHtmlLocalizer_1<TR
108
109
  readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_Localization_IHtmlLocalizer_1: never;
109
110
 
110
111
  get_Item(name: string): LocalizedHtmlString;
111
- get_Item(name: string, ...arguments: unknown[]): LocalizedHtmlString;
112
+ get_Item(name: string, ...arguments: JsValue[]): LocalizedHtmlString;
112
113
  GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
113
114
  GetString(name: string): LocalizedString;
114
- GetString(name: string, ...arguments: unknown[]): LocalizedString;
115
+ GetString(name: string, ...arguments: JsValue[]): LocalizedString;
115
116
  }
116
117
 
117
118
 
@@ -164,7 +165,7 @@ export interface LocalizedHtmlString$instance extends Microsoft_AspNetCore_Html_
164
165
  export const LocalizedHtmlString: {
165
166
  new(name: string, value: string): LocalizedHtmlString;
166
167
  new(name: string, value: string, isResourceNotFound: boolean): LocalizedHtmlString;
167
- new(name: string, value: string, isResourceNotFound: boolean, arguments: unknown[]): LocalizedHtmlString;
168
+ new(name: string, value: string, isResourceNotFound: boolean, arguments: JsValue[]): LocalizedHtmlString;
168
169
  };
169
170
 
170
171
 
@@ -184,10 +185,10 @@ export interface ViewLocalizer$instance extends IViewLocalizer, Microsoft_AspNet
184
185
 
185
186
  Contextualize(viewContext: ViewContext): void;
186
187
  get_Item(key: string): LocalizedHtmlString;
187
- get_Item(key: string, ...arguments: unknown[]): LocalizedHtmlString;
188
+ get_Item(key: string, ...arguments: JsValue[]): LocalizedHtmlString;
188
189
  GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
189
190
  GetString(name: string): LocalizedString;
190
- GetString(name: string, ...values: unknown[]): LocalizedString;
191
+ GetString(name: string, ...values: JsValue[]): LocalizedString;
191
192
  }
192
193
 
193
194
 
@@ -206,7 +207,7 @@ export type ViewLocalizer = ViewLocalizer$instance & __ViewLocalizer$views;
206
207
 
207
208
  export abstract class HtmlLocalizerExtensions$instance {
208
209
  static GetAllStrings(htmlLocalizer: IHtmlLocalizer): IEnumerable_1<LocalizedString>;
209
- static GetHtml(htmlLocalizer: IHtmlLocalizer, name: string, ...arguments: unknown[]): LocalizedHtmlString;
210
+ static GetHtml(htmlLocalizer: IHtmlLocalizer, name: string, ...arguments: JsValue[]): LocalizedHtmlString;
210
211
  static GetHtml(htmlLocalizer: IHtmlLocalizer, name: string): LocalizedHtmlString;
211
212
  }
212
213