@tsonic/aspnetcore 10.0.40 → 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.Connections
3
3
  // Assembly: Microsoft.AspNetCore.Connections.Abstractions
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 * as Microsoft_AspNetCore_Connections_Features_Internal from "../../Microsoft.AspNetCore.Connections.Features/internal/index.js";
@@ -101,7 +102,7 @@ export type IConnectionListenerFactorySelector = IConnectionListenerFactorySelec
101
102
  export interface IMemoryPoolFactory_1$instance<T> {
102
103
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_IMemoryPoolFactory_1: never;
103
104
 
104
- Create(options?: MemoryPoolOptions): MemoryPool_1<T>;
105
+ Create(options?: MemoryPoolOptions | null): MemoryPool_1<T>;
105
106
  }
106
107
 
107
108
 
@@ -121,7 +122,7 @@ export type IMultiplexedConnectionBuilder = IMultiplexedConnectionBuilder$instan
121
122
  export interface IMultiplexedConnectionFactory$instance {
122
123
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_IMultiplexedConnectionFactory: never;
123
124
 
124
- ConnectAsync(endpoint: EndPoint, features?: IFeatureCollection, cancellationToken?: CancellationToken): ValueTask_1<MultiplexedConnectionContext>;
125
+ ConnectAsync(endpoint: EndPoint, features?: IFeatureCollection | null, cancellationToken?: CancellationToken): ValueTask_1<MultiplexedConnectionContext>;
125
126
  }
126
127
 
127
128
 
@@ -131,7 +132,7 @@ export interface IMultiplexedConnectionListener$instance extends IAsyncDisposabl
131
132
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_IMultiplexedConnectionListener: never;
132
133
 
133
134
  readonly EndPoint: EndPoint;
134
- AcceptAsync(features?: IFeatureCollection, cancellationToken?: CancellationToken): ValueTask_1<MultiplexedConnectionContext>;
135
+ AcceptAsync(features?: IFeatureCollection | null, cancellationToken?: CancellationToken): ValueTask_1<MultiplexedConnectionContext>;
135
136
  UnbindAsync(cancellationToken?: CancellationToken): ValueTask;
136
137
  }
137
138
 
@@ -143,7 +144,7 @@ export type IMultiplexedConnectionListener = IMultiplexedConnectionListener$inst
143
144
  export interface IMultiplexedConnectionListenerFactory$instance {
144
145
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_IMultiplexedConnectionListenerFactory: never;
145
146
 
146
- BindAsync(endpoint: EndPoint, features?: IFeatureCollection, cancellationToken?: CancellationToken): ValueTask_1<IMultiplexedConnectionListener>;
147
+ BindAsync(endpoint: EndPoint, features?: IFeatureCollection | null, cancellationToken?: CancellationToken): ValueTask_1<IMultiplexedConnectionListener>;
147
148
  }
148
149
 
149
150
 
@@ -173,11 +174,11 @@ export interface BaseConnectionContext$instance {
173
174
  ConnectionClosed: CancellationToken;
174
175
  ConnectionId: string;
175
176
  readonly Features: IFeatureCollection;
176
- Items: IDictionary_2<unknown, unknown | undefined>;
177
- get LocalEndPoint(): EndPoint | undefined;
178
- set LocalEndPoint(value: EndPoint | undefined);
179
- get RemoteEndPoint(): EndPoint | undefined;
180
- set RemoteEndPoint(value: EndPoint | undefined);
177
+ Items: IDictionary_2<JsValue, JsValue | null>;
178
+ get LocalEndPoint(): EndPoint | null;
179
+ set LocalEndPoint(value: EndPoint | null);
180
+ get RemoteEndPoint(): EndPoint | null;
181
+ set RemoteEndPoint(value: EndPoint | null);
181
182
  Abort(): void;
182
183
  Abort(abortReason: ConnectionAbortedException): void;
183
184
  DisposeAsync(): ValueTask;
@@ -268,13 +269,13 @@ export interface ConnectionItems$instance {
268
269
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
269
270
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
270
271
 
271
- readonly Items: IDictionary_2<unknown, unknown | undefined>;
272
+ readonly Items: IDictionary_2<JsValue, JsValue | null>;
272
273
  }
273
274
 
274
275
 
275
276
  export const ConnectionItems: {
276
277
  new(): ConnectionItems;
277
- new(items: IDictionary_2<unknown, unknown>): ConnectionItems;
278
+ new(items: IDictionary_2<JsValue, JsValue | null>): ConnectionItems;
278
279
  };
279
280
 
280
281
 
@@ -307,19 +308,19 @@ export interface DefaultConnectionContext$instance extends ConnectionContext, Mi
307
308
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IConnectionUserFeature: never;
308
309
  readonly __tsonic_iface_System_IAsyncDisposable: never;
309
310
 
310
- get Application(): IDuplexPipe | undefined;
311
- set Application(value: IDuplexPipe | undefined);
311
+ get Application(): IDuplexPipe | null;
312
+ set Application(value: IDuplexPipe | null);
312
313
  ConnectionClosed: CancellationToken;
313
314
  ConnectionId: string;
314
315
  readonly Features: IFeatureCollection;
315
- Items: IDictionary_2<unknown, unknown | undefined>;
316
- get LocalEndPoint(): EndPoint | undefined;
317
- set LocalEndPoint(value: EndPoint | undefined);
318
- get RemoteEndPoint(): EndPoint | undefined;
319
- set RemoteEndPoint(value: EndPoint | undefined);
316
+ Items: IDictionary_2<JsValue, JsValue | null>;
317
+ get LocalEndPoint(): EndPoint | null;
318
+ set LocalEndPoint(value: EndPoint | null);
319
+ get RemoteEndPoint(): EndPoint | null;
320
+ set RemoteEndPoint(value: EndPoint | null);
320
321
  Transport: IDuplexPipe;
321
- get User(): ClaimsPrincipal | undefined;
322
- set User(value: ClaimsPrincipal | undefined);
322
+ get User(): ClaimsPrincipal | null;
323
+ set User(value: ClaimsPrincipal | null);
323
324
  Abort(abortReason: ConnectionAbortedException): void;
324
325
  Abort(): void;
325
326
  DisposeAsync(): ValueTask;
@@ -363,8 +364,8 @@ export type FileHandleEndPoint = FileHandleEndPoint$instance;
363
364
  export interface MemoryPoolOptions$instance {
364
365
  readonly __tsonic_type_Microsoft_AspNetCore_Connections_MemoryPoolOptions: never;
365
366
 
366
- get Owner(): string | undefined;
367
- set Owner(value: string | undefined);
367
+ get Owner(): string | null;
368
+ set Owner(value: string | null);
368
369
  }
369
370
 
370
371
 
@@ -404,7 +405,7 @@ export interface MultiplexedConnectionContext$instance extends BaseConnectionCon
404
405
  readonly __tsonic_iface_System_IAsyncDisposable: never;
405
406
 
406
407
  AcceptAsync(cancellationToken?: CancellationToken): ValueTask_1<ConnectionContext>;
407
- ConnectAsync(features?: IFeatureCollection, cancellationToken?: CancellationToken): ValueTask_1<ConnectionContext>;
408
+ ConnectAsync(features?: IFeatureCollection | null, cancellationToken?: CancellationToken): ValueTask_1<ConnectionContext>;
408
409
  }
409
410
 
410
411
 
@@ -419,7 +420,7 @@ export interface NamedPipeEndPoint$instance extends EndPoint {
419
420
 
420
421
  readonly PipeName: string;
421
422
  readonly ServerName: string;
422
- Equals(obj: unknown): boolean;
423
+ Equals(obj: JsValue | null): boolean;
423
424
  GetHashCode(): int;
424
425
  ToString(): string;
425
426
  }
@@ -438,8 +439,8 @@ export interface TlsConnectionCallbackContext$instance {
438
439
 
439
440
  ClientHelloInfo: SslClientHelloInfo;
440
441
  Connection: BaseConnectionContext;
441
- get State(): unknown | undefined;
442
- set State(value: unknown | undefined);
442
+ get State(): JsValue | null;
443
+ set State(value: JsValue | null);
443
444
  }
444
445
 
445
446
 
@@ -455,8 +456,8 @@ export interface TlsConnectionCallbackOptions$instance {
455
456
 
456
457
  ApplicationProtocols: List_1<SslApplicationProtocol>;
457
458
  OnConnection: Func_3<TlsConnectionCallbackContext, CancellationToken, ValueTask_1<SslServerAuthenticationOptions>>;
458
- get OnConnectionState(): unknown | undefined;
459
- set OnConnectionState(value: unknown | undefined);
459
+ get OnConnectionState(): JsValue | null;
460
+ set OnConnectionState(value: JsValue | null);
460
461
  }
461
462
 
462
463
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.Connections.Abstractions
3
3
  // Assembly: Microsoft.AspNetCore.Connections.Abstractions
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 * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.Connections.Features
3
3
  // Assembly: Microsoft.AspNetCore.Connections.Abstractions
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 * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
@@ -24,7 +25,7 @@ import type { Action_1, Boolean as ClrBoolean, Byte, Func_2, Int32, Int64, Nulla
24
25
  export interface IConnectionCompleteFeature$instance {
25
26
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IConnectionCompleteFeature: never;
26
27
 
27
- OnCompleted(callback: Func_2<unknown, Task>, state: unknown): void;
28
+ OnCompleted(callback: Func_2<JsValue, Task>, state: JsValue): void;
28
29
  }
29
30
 
30
31
 
@@ -33,10 +34,10 @@ export type IConnectionCompleteFeature = IConnectionCompleteFeature$instance;
33
34
  export interface IConnectionEndPointFeature$instance {
34
35
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IConnectionEndPointFeature: never;
35
36
 
36
- get LocalEndPoint(): EndPoint | undefined;
37
- set LocalEndPoint(value: EndPoint | undefined);
38
- get RemoteEndPoint(): EndPoint | undefined;
39
- set RemoteEndPoint(value: EndPoint | undefined);
37
+ get LocalEndPoint(): EndPoint | null;
38
+ set LocalEndPoint(value: EndPoint | null);
39
+ get RemoteEndPoint(): EndPoint | null;
40
+ set RemoteEndPoint(value: EndPoint | null);
40
41
  }
41
42
 
42
43
 
@@ -45,7 +46,7 @@ export type IConnectionEndPointFeature = IConnectionEndPointFeature$instance;
45
46
  export interface IConnectionHeartbeatFeature$instance {
46
47
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IConnectionHeartbeatFeature: never;
47
48
 
48
- OnHeartbeat(action: Action_1<unknown>, state: unknown): void;
49
+ OnHeartbeat(action: Action_1<JsValue>, state: JsValue): void;
49
50
  }
50
51
 
51
52
 
@@ -72,7 +73,7 @@ export type IConnectionInherentKeepAliveFeature = IConnectionInherentKeepAliveFe
72
73
  export interface IConnectionItemsFeature$instance {
73
74
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IConnectionItemsFeature: never;
74
75
 
75
- Items: IDictionary_2<unknown, unknown | undefined>;
76
+ Items: IDictionary_2<JsValue, JsValue | null>;
76
77
  }
77
78
 
78
79
 
@@ -101,7 +102,7 @@ export type IConnectionLifetimeNotificationFeature = IConnectionLifetimeNotifica
101
102
  export interface IConnectionMetricsTagsFeature$instance {
102
103
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IConnectionMetricsTagsFeature: never;
103
104
 
104
- readonly Tags: ICollection_1<KeyValuePair_2<System_Internal.String, unknown>>;
105
+ readonly Tags: ICollection_1<KeyValuePair_2<System_Internal.String, JsValue>>;
105
106
  }
106
107
 
107
108
 
@@ -137,8 +138,8 @@ export type IConnectionTransportFeature = IConnectionTransportFeature$instance;
137
138
  export interface IConnectionUserFeature$instance {
138
139
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IConnectionUserFeature: never;
139
140
 
140
- get User(): ClaimsPrincipal | undefined;
141
- set User(value: ClaimsPrincipal | undefined);
141
+ get User(): ClaimsPrincipal | null;
142
+ set User(value: ClaimsPrincipal | null);
142
143
  }
143
144
 
144
145
 
@@ -156,7 +157,7 @@ export type IMemoryPoolFeature = IMemoryPoolFeature$instance;
156
157
  export interface IPersistentStateFeature$instance {
157
158
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IPersistentStateFeature: never;
158
159
 
159
- readonly State: IDictionary_2<unknown, unknown | undefined>;
160
+ readonly State: IDictionary_2<JsValue, JsValue | null>;
160
161
  }
161
162
 
162
163
 
@@ -183,7 +184,7 @@ export type IStreamAbortFeature = IStreamAbortFeature$instance;
183
184
  export interface IStreamClosedFeature$instance {
184
185
  readonly __tsonic_iface_Microsoft_AspNetCore_Connections_Features_IStreamClosedFeature: never;
185
186
 
186
- OnClosed(callback: Action_1<unknown>, state: unknown): void;
187
+ OnClosed(callback: Action_1<JsValue | null>, state: JsValue | null): void;
187
188
  }
188
189
 
189
190
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.CookiePolicy
3
3
  // Assembly: Microsoft.AspNetCore.CookiePolicy
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 { CookiePolicyOptions } from "../../Microsoft.AspNetCore.Builder/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.Cors
3
3
  // Assembly: Microsoft.AspNetCore.Cors
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 * as Microsoft_AspNetCore_Cors_Infrastructure_Internal from "../../Microsoft.AspNetCore.Cors.Infrastructure/internal/index.js";
@@ -56,15 +57,15 @@ export interface EnableCorsAttribute$instance extends Attribute, ICorsMetadata,
56
57
  readonly __tsonic_iface_Microsoft_AspNetCore_Cors_Infrastructure_ICorsMetadata: never;
57
58
  readonly __tsonic_iface_Microsoft_AspNetCore_Cors_Infrastructure_IEnableCorsAttribute: never;
58
59
 
59
- get PolicyName(): string | undefined;
60
- set PolicyName(value: string | undefined);
60
+ get PolicyName(): string | null;
61
+ set PolicyName(value: string | null);
61
62
  ToString(): string;
62
63
  }
63
64
 
64
65
 
65
66
  export const EnableCorsAttribute: {
66
67
  new(): EnableCorsAttribute;
67
- new(policyName: string): EnableCorsAttribute;
68
+ new(policyName: string | null): EnableCorsAttribute;
68
69
  };
69
70
 
70
71
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.Cors.Infrastructure
3
3
  // Assembly: Microsoft.AspNetCore.Cors, Microsoft.AspNetCore.Http.Abstractions
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 { HttpContext, HttpResponse, RequestDelegate } from "../../Microsoft.AspNetCore.Http/internal/index.js";
@@ -36,7 +37,7 @@ export type ICorsPolicyMetadata = ICorsPolicyMetadata$instance;
36
37
  export interface ICorsPolicyProvider$instance {
37
38
  readonly __tsonic_iface_Microsoft_AspNetCore_Cors_Infrastructure_ICorsPolicyProvider: never;
38
39
 
39
- GetPolicyAsync(context: HttpContext, policyName: string): Task_1<CorsPolicy | undefined>;
40
+ GetPolicyAsync(context: HttpContext, policyName: string | null): Task_1<CorsPolicy | null>;
40
41
  }
41
42
 
42
43
 
@@ -65,8 +66,8 @@ export type IDisableCorsAttribute = IDisableCorsAttribute$instance;
65
66
  export interface IEnableCorsAttribute$instance extends ICorsMetadata {
66
67
  readonly __tsonic_iface_Microsoft_AspNetCore_Cors_Infrastructure_IEnableCorsAttribute: never;
67
68
 
68
- get PolicyName(): string | undefined;
69
- set PolicyName(value: string | undefined);
69
+ get PolicyName(): string | null;
70
+ set PolicyName(value: string | null);
70
71
  }
71
72
 
72
73
 
@@ -83,7 +84,7 @@ export interface CorsMiddleware$instance {
83
84
 
84
85
  export const CorsMiddleware: {
85
86
  new(next: RequestDelegate, corsService: ICorsService, loggerFactory: ILoggerFactory): CorsMiddleware;
86
- new(next: RequestDelegate, corsService: ICorsService, loggerFactory: ILoggerFactory, policyName: string): CorsMiddleware;
87
+ new(next: RequestDelegate, corsService: ICorsService, loggerFactory: ILoggerFactory, policyName: string | null): CorsMiddleware;
87
88
  new(next: RequestDelegate, corsService: ICorsService, policy: CorsPolicy, loggerFactory: ILoggerFactory): CorsMiddleware;
88
89
  };
89
90
 
@@ -98,7 +99,7 @@ export interface CorsOptions$instance {
98
99
  AddDefaultPolicy(configurePolicy: Action_1<CorsPolicyBuilder>): void;
99
100
  AddPolicy(name: string, policy: CorsPolicy): void;
100
101
  AddPolicy(name: string, configurePolicy: Action_1<CorsPolicyBuilder>): void;
101
- GetPolicy(name: string): CorsPolicy | undefined;
102
+ GetPolicy(name: string): CorsPolicy | null;
102
103
  }
103
104
 
104
105
 
@@ -167,8 +168,8 @@ export interface CorsResult$instance {
167
168
  readonly AllowedExposedHeaders: IList_1<System_Internal.String>;
168
169
  readonly AllowedHeaders: IList_1<System_Internal.String>;
169
170
  readonly AllowedMethods: IList_1<System_Internal.String>;
170
- get AllowedOrigin(): string | undefined;
171
- set AllowedOrigin(value: string | undefined);
171
+ get AllowedOrigin(): string | null;
172
+ set AllowedOrigin(value: string | null);
172
173
  IsOriginAllowed: boolean;
173
174
  IsPreflightRequest: boolean;
174
175
  get PreflightMaxAge(): Nullable_1<TimeSpan>;
@@ -216,7 +217,7 @@ export interface DefaultCorsPolicyProvider$instance extends ICorsPolicyProvider$
216
217
 
217
218
  readonly __tsonic_iface_Microsoft_AspNetCore_Cors_Infrastructure_ICorsPolicyProvider: never;
218
219
 
219
- GetPolicyAsync(context: HttpContext, policyName: string): Task_1<CorsPolicy | undefined>;
220
+ GetPolicyAsync(context: HttpContext, policyName: string | null): Task_1<CorsPolicy | null>;
220
221
  }
221
222
 
222
223
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.Cryptography.KeyDerivation
3
3
  // Assembly: Microsoft.AspNetCore.Cryptography.KeyDerivation
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 * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
@@ -2,11 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.DataProtection
3
3
  // Assembly: Microsoft.AspNetCore.DataProtection, Microsoft.AspNetCore.DataProtection.Abstractions, Microsoft.AspNetCore.DataProtection.Extensions
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
- // 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 { AuthenticatedEncryptorConfiguration, CngCbcAuthenticatedEncryptorConfiguration, CngGcmAuthenticatedEncryptorConfiguration, ManagedAuthenticatedEncryptorConfiguration } from "../../Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.js";
@@ -90,8 +88,8 @@ export type ITimeLimitedDataProtector = ITimeLimitedDataProtector$instance;
90
88
  export interface DataProtectionOptions$instance {
91
89
  readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_DataProtectionOptions: never;
92
90
 
93
- get ApplicationDiscriminator(): string | undefined;
94
- set ApplicationDiscriminator(value: string | undefined);
91
+ get ApplicationDiscriminator(): string | null;
92
+ set ApplicationDiscriminator(value: string | null);
95
93
  }
96
94
 
97
95
 
@@ -217,7 +215,7 @@ export abstract class DataProtectionProvider$instance {
217
215
  export type DataProtectionProvider = DataProtectionProvider$instance;
218
216
 
219
217
  export abstract class DataProtectionUtilityExtensions$instance {
220
- static GetApplicationUniqueIdentifier(services: IServiceProvider): string | undefined;
218
+ static GetApplicationUniqueIdentifier(services: IServiceProvider): string | null;
221
219
  }
222
220
 
223
221
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption
3
3
  // Assembly: Microsoft.AspNetCore.DataProtection
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 { IKey } from "../../Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.js";
@@ -39,7 +40,7 @@ export type IAuthenticatedEncryptor = IAuthenticatedEncryptor$instance;
39
40
  export interface IAuthenticatedEncryptorFactory$instance {
40
41
  readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
41
42
 
42
- CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
43
+ CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | null;
43
44
  }
44
45
 
45
46
 
@@ -50,7 +51,7 @@ export interface AuthenticatedEncryptorFactory$instance extends IAuthenticatedEn
50
51
 
51
52
  readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
52
53
 
53
- CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
54
+ CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | null;
54
55
  }
55
56
 
56
57
 
@@ -71,7 +72,7 @@ export interface CngCbcAuthenticatedEncryptorFactory$instance extends IAuthentic
71
72
 
72
73
  readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
73
74
 
74
- CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
75
+ CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | null;
75
76
  }
76
77
 
77
78
 
@@ -92,7 +93,7 @@ export interface CngGcmAuthenticatedEncryptorFactory$instance extends IAuthentic
92
93
 
93
94
  readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
94
95
 
95
- CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
96
+ CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | null;
96
97
  }
97
98
 
98
99
 
@@ -113,7 +114,7 @@ export interface ManagedAuthenticatedEncryptorFactory$instance extends IAuthenti
113
114
 
114
115
  readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
115
116
 
116
- CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
117
+ CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | null;
117
118
  }
118
119
 
119
120
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel
3
3
  // Assembly: Microsoft.AspNetCore.DataProtection
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 { EncryptionAlgorithm, ValidationAlgorithm } from "../../Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.js";
@@ -106,11 +107,11 @@ export interface CngCbcAuthenticatedEncryptorConfiguration$instance extends Algo
106
107
 
107
108
  EncryptionAlgorithm: string;
108
109
  EncryptionAlgorithmKeySize: int;
109
- get EncryptionAlgorithmProvider(): string | undefined;
110
- set EncryptionAlgorithmProvider(value: string | undefined);
110
+ get EncryptionAlgorithmProvider(): string | null;
111
+ set EncryptionAlgorithmProvider(value: string | null);
111
112
  HashAlgorithm: string;
112
- get HashAlgorithmProvider(): string | undefined;
113
- set HashAlgorithmProvider(value: string | undefined);
113
+ get HashAlgorithmProvider(): string | null;
114
+ set HashAlgorithmProvider(value: string | null);
114
115
  CreateNewDescriptor(): IAuthenticatedEncryptorDescriptor;
115
116
  }
116
117
 
@@ -169,8 +170,8 @@ export interface CngGcmAuthenticatedEncryptorConfiguration$instance extends Algo
169
170
 
170
171
  EncryptionAlgorithm: string;
171
172
  EncryptionAlgorithmKeySize: int;
172
- get EncryptionAlgorithmProvider(): string | undefined;
173
- set EncryptionAlgorithmProvider(value: string | undefined);
173
+ get EncryptionAlgorithmProvider(): string | null;
174
+ set EncryptionAlgorithmProvider(value: string | null);
174
175
  CreateNewDescriptor(): IAuthenticatedEncryptorDescriptor;
175
176
  }
176
177
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.DataProtection.Infrastructure
3
3
  // Assembly: Microsoft.AspNetCore.DataProtection.Abstractions
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 * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
@@ -12,7 +13,7 @@ import type { String as ClrString } from "@tsonic/dotnet/System/internal/index.j
12
13
  export interface IApplicationDiscriminator$instance {
13
14
  readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_Infrastructure_IApplicationDiscriminator: never;
14
15
 
15
- readonly Discriminator: string | undefined;
16
+ readonly Discriminator: string | null;
16
17
  }
17
18
 
18
19
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.DataProtection.Internal
3
3
  // Assembly: Microsoft.AspNetCore.DataProtection
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 * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
@@ -12,7 +13,7 @@ import type { Object as ClrObject, String as ClrString, Type } from "@tsonic/dot
12
13
  export interface IActivator$instance {
13
14
  readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_Internal_IActivator: never;
14
15
 
15
- CreateInstance(expectedBaseType: Type, implementationTypeName: string): unknown;
16
+ CreateInstance(expectedBaseType: Type, implementationTypeName: string): JsValue;
16
17
  }
17
18
 
18
19
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.AspNetCore.DataProtection.KeyManagement
3
3
  // Assembly: Microsoft.AspNetCore.DataProtection
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 { AlgorithmConfiguration, IAuthenticatedEncryptorDescriptor } from "../../Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.js";
@@ -27,8 +28,8 @@ export interface IDeletableKeyManager$instance extends IKeyManager {
27
28
  DeleteKeys(shouldDelete: Func_2<IKey, System_Internal.Boolean>): boolean;
28
29
  GetAllKeys(): IReadOnlyCollection_1<IKey>;
29
30
  GetCacheExpirationToken(): CancellationToken;
30
- RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string): void;
31
- RevokeKey(keyId: Guid, reason?: string): void;
31
+ RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string | null): void;
32
+ RevokeKey(keyId: Guid, reason?: string | null): void;
32
33
  }
33
34
 
34
35
 
@@ -45,7 +46,7 @@ export interface IKey$instance {
45
46
  readonly IsRevoked: boolean;
46
47
  readonly KeyId: Guid;
47
48
  readonly Descriptor: IAuthenticatedEncryptorDescriptor;
48
- CreateEncryptor(): IAuthenticatedEncryptor | undefined;
49
+ CreateEncryptor(): IAuthenticatedEncryptor | null;
49
50
  }
50
51
 
51
52
 
@@ -66,8 +67,8 @@ export interface IKeyManager$instance {
66
67
  CreateNewKey(activationDate: DateTimeOffset, expirationDate: DateTimeOffset): IKey;
67
68
  GetAllKeys(): IReadOnlyCollection_1<IKey>;
68
69
  GetCacheExpirationToken(): CancellationToken;
69
- RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string): void;
70
- RevokeKey(keyId: Guid, reason?: string): void;
70
+ RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string | null): void;
71
+ RevokeKey(keyId: Guid, reason?: string | null): void;
71
72
  }
72
73
 
73
74
 
@@ -76,16 +77,16 @@ export type IKeyManager = IKeyManager$instance;
76
77
  export interface KeyManagementOptions$instance {
77
78
  readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_KeyManagement_KeyManagementOptions: never;
78
79
 
79
- get AuthenticatedEncryptorConfiguration(): AlgorithmConfiguration | undefined;
80
- set AuthenticatedEncryptorConfiguration(value: AlgorithmConfiguration | undefined);
80
+ get AuthenticatedEncryptorConfiguration(): AlgorithmConfiguration | null;
81
+ set AuthenticatedEncryptorConfiguration(value: AlgorithmConfiguration | null);
81
82
  readonly AuthenticatedEncryptorFactories: IList_1<IAuthenticatedEncryptorFactory>;
82
83
  AutoGenerateKeys: boolean;
83
84
  readonly KeyEscrowSinks: IList_1<IKeyEscrowSink>;
84
85
  NewKeyLifetime: TimeSpan;
85
- get XmlEncryptor(): IXmlEncryptor | undefined;
86
- set XmlEncryptor(value: IXmlEncryptor | undefined);
87
- get XmlRepository(): IXmlRepository | undefined;
88
- set XmlRepository(value: IXmlRepository | undefined);
86
+ get XmlEncryptor(): IXmlEncryptor | null;
87
+ set XmlEncryptor(value: IXmlEncryptor | null);
88
+ get XmlRepository(): IXmlRepository | null;
89
+ set XmlRepository(value: IXmlRepository | null);
89
90
  }
90
91
 
91
92
 
@@ -107,8 +108,8 @@ export interface XmlKeyManager$instance extends IKeyManager$instance {
107
108
  DeleteKeys(shouldDelete: Func_2<IKey, System_Internal.Boolean>): boolean;
108
109
  GetAllKeys(): IReadOnlyCollection_1<IKey>;
109
110
  GetCacheExpirationToken(): CancellationToken;
110
- RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string): void;
111
- RevokeKey(keyId: Guid, reason?: string): void;
111
+ RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string | null): void;
112
+ RevokeKey(keyId: Guid, reason?: string | null): void;
112
113
  }
113
114
 
114
115