@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.
- package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Components.d.ts +1 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Http/bindings.json +470 -530
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.d.ts +4 -4
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Routing.d.ts +1 -1
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.JSInterop/internal/index.d.ts +46 -48
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/README.md +58 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
- package/__internal/extensions/index.d.ts +417 -419
- package/package.json +4 -4
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Connections
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Connections.Abstractions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as Microsoft_AspNetCore_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<
|
|
177
|
-
get LocalEndPoint(): EndPoint |
|
|
178
|
-
set LocalEndPoint(value: EndPoint |
|
|
179
|
-
get RemoteEndPoint(): EndPoint |
|
|
180
|
-
set RemoteEndPoint(value: EndPoint |
|
|
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<
|
|
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<
|
|
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 |
|
|
311
|
-
set Application(value: IDuplexPipe |
|
|
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<
|
|
316
|
-
get LocalEndPoint(): EndPoint |
|
|
317
|
-
set LocalEndPoint(value: EndPoint |
|
|
318
|
-
get RemoteEndPoint(): EndPoint |
|
|
319
|
-
set RemoteEndPoint(value: EndPoint |
|
|
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 |
|
|
322
|
-
set User(value: ClaimsPrincipal |
|
|
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 |
|
|
367
|
-
set Owner(value: string |
|
|
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:
|
|
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():
|
|
442
|
-
set State(value:
|
|
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():
|
|
459
|
-
set OnConnectionState(value:
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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<
|
|
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 |
|
|
37
|
-
set LocalEndPoint(value: EndPoint |
|
|
38
|
-
get RemoteEndPoint(): EndPoint |
|
|
39
|
-
set RemoteEndPoint(value: EndPoint |
|
|
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<
|
|
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<
|
|
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,
|
|
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 |
|
|
141
|
-
set User(value: ClaimsPrincipal |
|
|
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<
|
|
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<
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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 |
|
|
60
|
-
set PolicyName(value: string |
|
|
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
|
-
//
|
|
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 |
|
|
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 |
|
|
69
|
-
set PolicyName(value: string |
|
|
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 |
|
|
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 |
|
|
171
|
-
set AllowedOrigin(value: string |
|
|
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 |
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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 |
|
|
94
|
-
set ApplicationDiscriminator(value: string |
|
|
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 |
|
|
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
|
-
//
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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
|
-
//
|
|
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 |
|
|
110
|
-
set EncryptionAlgorithmProvider(value: string |
|
|
110
|
+
get EncryptionAlgorithmProvider(): string | null;
|
|
111
|
+
set EncryptionAlgorithmProvider(value: string | null);
|
|
111
112
|
HashAlgorithm: string;
|
|
112
|
-
get HashAlgorithmProvider(): string |
|
|
113
|
-
set HashAlgorithmProvider(value: string |
|
|
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 |
|
|
173
|
-
set EncryptionAlgorithmProvider(value: string |
|
|
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
|
-
//
|
|
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 |
|
|
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
|
-
//
|
|
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):
|
|
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
|
-
//
|
|
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 |
|
|
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 |
|
|
80
|
-
set AuthenticatedEncryptorConfiguration(value: AlgorithmConfiguration |
|
|
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 |
|
|
86
|
-
set XmlEncryptor(value: IXmlEncryptor |
|
|
87
|
-
get XmlRepository(): IXmlRepository |
|
|
88
|
-
set XmlRepository(value: IXmlRepository |
|
|
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
|
|