@tsonic/aspnetcore 10.0.39 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Components.d.ts +1 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Http/bindings.json +470 -530
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.d.ts +4 -4
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Routing.d.ts +1 -1
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.JSInterop/internal/index.d.ts +46 -48
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/README.md +58 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
- package/__internal/extensions/index.d.ts +417 -419
- package/package.json +4 -4
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.SignalR
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.SignalR, Microsoft.AspNetCore.SignalR.Common, Microsoft.AspNetCore.SignalR.Core, Microsoft.AspNetCore.SignalR.Protocols.Json
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as Microsoft_AspNetCore_Connections_Internal from "../../Microsoft.AspNetCore.Connections/internal/index.js";
|
|
@@ -35,7 +33,7 @@ import type { IConfigureOptions_1, IOptions_1 } from "@tsonic/microsoft-extensio
|
|
|
35
33
|
export interface IClientProxy$instance {
|
|
36
34
|
readonly __tsonic_iface_Microsoft_AspNetCore_SignalR_IClientProxy: never;
|
|
37
35
|
|
|
38
|
-
SendCoreAsync(method: string, args:
|
|
36
|
+
SendCoreAsync(method: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
|
|
@@ -151,9 +149,9 @@ export type IHubContext_2<THub extends Hub_1<T>, T> = IHubContext_2$instance<THu
|
|
|
151
149
|
export interface IHubFilter$instance {
|
|
152
150
|
readonly __tsonic_iface_Microsoft_AspNetCore_SignalR_IHubFilter: never;
|
|
153
151
|
|
|
154
|
-
InvokeMethodAsync(invocationContext: HubInvocationContext, next: Func_2<HubInvocationContext, ValueTask_1<
|
|
152
|
+
InvokeMethodAsync(invocationContext: HubInvocationContext, next: Func_2<HubInvocationContext, ValueTask_1<JsValue>>): ValueTask_1<JsValue>;
|
|
155
153
|
OnConnectedAsync(context: HubLifetimeContext, next: Func_2<HubLifetimeContext, Task>): Task;
|
|
156
|
-
OnDisconnectedAsync(context: HubLifetimeContext, exception: Exception, next: Func_3<HubLifetimeContext, Exception, Task>): Task;
|
|
154
|
+
OnDisconnectedAsync(context: HubLifetimeContext, exception: Exception | null, next: Func_3<HubLifetimeContext, Exception | null, Task>): Task;
|
|
157
155
|
}
|
|
158
156
|
|
|
159
157
|
|
|
@@ -163,7 +161,7 @@ export interface IHubProtocolResolver$instance {
|
|
|
163
161
|
readonly __tsonic_iface_Microsoft_AspNetCore_SignalR_IHubProtocolResolver: never;
|
|
164
162
|
|
|
165
163
|
readonly AllProtocols: IReadOnlyList_1<IHubProtocol>;
|
|
166
|
-
GetProtocol(protocolName: string, supportedProtocols: IReadOnlyList_1<System_Internal.String>): IHubProtocol |
|
|
164
|
+
GetProtocol(protocolName: string, supportedProtocols: IReadOnlyList_1<System_Internal.String> | null): IHubProtocol | null;
|
|
167
165
|
}
|
|
168
166
|
|
|
169
167
|
|
|
@@ -174,7 +172,7 @@ export interface IInvocationBinder$instance {
|
|
|
174
172
|
|
|
175
173
|
GetParameterTypes(methodName: string): IReadOnlyList_1<Type>;
|
|
176
174
|
GetReturnType(invocationId: string): Type;
|
|
177
|
-
GetTarget(utf8Bytes: ReadOnlySpan_1<System_Internal.Byte>): string |
|
|
175
|
+
GetTarget(utf8Bytes: ReadOnlySpan_1<System_Internal.Byte>): string | null;
|
|
178
176
|
}
|
|
179
177
|
|
|
180
178
|
|
|
@@ -203,8 +201,8 @@ export type ISignalRServerBuilder = ISignalRServerBuilder$instance;
|
|
|
203
201
|
export interface ISingleClientProxy$instance extends IClientProxy {
|
|
204
202
|
readonly __tsonic_iface_Microsoft_AspNetCore_SignalR_ISingleClientProxy: never;
|
|
205
203
|
|
|
206
|
-
InvokeCoreAsync<T>(method: string, args:
|
|
207
|
-
SendCoreAsync(method: string, args:
|
|
204
|
+
InvokeCoreAsync<T>(method: string, args: (JsValue | null)[], cancellationToken: CancellationToken): Task_1<T>;
|
|
205
|
+
SendCoreAsync(method: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
208
206
|
}
|
|
209
207
|
|
|
210
208
|
|
|
@@ -215,33 +213,12 @@ export type ISingleClientProxy = ISingleClientProxy$instance;
|
|
|
215
213
|
export interface IUserIdProvider$instance {
|
|
216
214
|
readonly __tsonic_iface_Microsoft_AspNetCore_SignalR_IUserIdProvider: never;
|
|
217
215
|
|
|
218
|
-
GetUserId(connection: HubConnectionContext): string |
|
|
216
|
+
GetUserId(connection: HubConnectionContext): string | null;
|
|
219
217
|
}
|
|
220
218
|
|
|
221
219
|
|
|
222
220
|
export type IUserIdProvider = IUserIdProvider$instance;
|
|
223
221
|
|
|
224
|
-
export interface HubConnectionStore_Enumerator$instance {
|
|
225
|
-
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_HubConnectionStore_Enumerator: never;
|
|
226
|
-
|
|
227
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
228
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
229
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
230
|
-
|
|
231
|
-
readonly Current: HubConnectionContext;
|
|
232
|
-
Dispose(): void;
|
|
233
|
-
MoveNext(): boolean;
|
|
234
|
-
Reset(): void;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
export const HubConnectionStore_Enumerator: {
|
|
239
|
-
new(hubConnectionList: HubConnectionStore): HubConnectionStore_Enumerator;
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export type HubConnectionStore_Enumerator = HubConnectionStore_Enumerator$instance;
|
|
244
|
-
|
|
245
222
|
export interface SerializedMessage$instance {
|
|
246
223
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_SerializedMessage: never;
|
|
247
224
|
|
|
@@ -261,22 +238,22 @@ export interface DefaultHubLifetimeManager_1$instance<THub extends Hub> extends
|
|
|
261
238
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_DefaultHubLifetimeManager_1: never;
|
|
262
239
|
|
|
263
240
|
AddToGroupAsync(connectionId: string, groupName: string, cancellationToken?: CancellationToken): Task;
|
|
264
|
-
InvokeConnectionAsync<T>(connectionId: string, methodName: string, args:
|
|
265
|
-
InvokeConnectionAsync<T>(connectionId: string, methodName: string, args:
|
|
241
|
+
InvokeConnectionAsync<T>(connectionId: string, methodName: string, args: (JsValue | null)[], cancellationToken: CancellationToken): Task_1<T>;
|
|
242
|
+
InvokeConnectionAsync<T>(connectionId: string, methodName: string, args: (JsValue | null)[], cancellationToken: CancellationToken): Task_1<T>;
|
|
266
243
|
OnConnectedAsync(connection: HubConnectionContext): Task;
|
|
267
244
|
OnDisconnectedAsync(connection: HubConnectionContext): Task;
|
|
268
245
|
RemoveFromGroupAsync(connectionId: string, groupName: string, cancellationToken?: CancellationToken): Task;
|
|
269
|
-
SendAllAsync(methodName: string, args:
|
|
270
|
-
SendAllExceptAsync(methodName: string, args:
|
|
271
|
-
SendConnectionAsync(connectionId: string, methodName: string, args:
|
|
272
|
-
SendConnectionsAsync(connectionIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args:
|
|
273
|
-
SendGroupAsync(groupName: string, methodName: string, args:
|
|
274
|
-
SendGroupExceptAsync(groupName: string, methodName: string, args:
|
|
275
|
-
SendGroupsAsync(groupNames: IReadOnlyList_1<System_Internal.String>, methodName: string, args:
|
|
276
|
-
SendUserAsync(userId: string, methodName: string, args:
|
|
277
|
-
SendUsersAsync(userIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args:
|
|
246
|
+
SendAllAsync(methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
247
|
+
SendAllExceptAsync(methodName: string, args: (JsValue | null)[], excludedConnectionIds: IReadOnlyList_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
248
|
+
SendConnectionAsync(connectionId: string, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
249
|
+
SendConnectionsAsync(connectionIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
250
|
+
SendGroupAsync(groupName: string, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
251
|
+
SendGroupExceptAsync(groupName: string, methodName: string, args: (JsValue | null)[], excludedConnectionIds: IReadOnlyList_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
252
|
+
SendGroupsAsync(groupNames: IReadOnlyList_1<System_Internal.String>, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
253
|
+
SendUserAsync(userId: string, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
254
|
+
SendUsersAsync(userIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
278
255
|
SetConnectionResultAsync(connectionId: string, result: CompletionMessage): Task;
|
|
279
|
-
TryGetReturnType(invocationId: string, type: Type): boolean;
|
|
256
|
+
TryGetReturnType(invocationId: string, type: Type | null): boolean;
|
|
280
257
|
}
|
|
281
258
|
|
|
282
259
|
|
|
@@ -292,7 +269,7 @@ export interface DefaultUserIdProvider$instance extends IUserIdProvider$instance
|
|
|
292
269
|
|
|
293
270
|
readonly __tsonic_iface_Microsoft_AspNetCore_SignalR_IUserIdProvider: never;
|
|
294
271
|
|
|
295
|
-
GetUserId(connection: HubConnectionContext): string |
|
|
272
|
+
GetUserId(connection: HubConnectionContext): string | null;
|
|
296
273
|
}
|
|
297
274
|
|
|
298
275
|
|
|
@@ -326,18 +303,18 @@ export type DynamicHub = DynamicHub$instance;
|
|
|
326
303
|
export interface DynamicHubClients$instance {
|
|
327
304
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_DynamicHubClients: never;
|
|
328
305
|
|
|
329
|
-
readonly All:
|
|
330
|
-
readonly Caller:
|
|
331
|
-
readonly Others:
|
|
332
|
-
AllExcept(excludedConnectionIds: IReadOnlyList_1<System_Internal.String>):
|
|
333
|
-
Client(connectionId: string):
|
|
334
|
-
Clients(connectionIds: IReadOnlyList_1<System_Internal.String>):
|
|
335
|
-
Group(groupName: string):
|
|
336
|
-
GroupExcept(groupName: string, excludedConnectionIds: IReadOnlyList_1<System_Internal.String>):
|
|
337
|
-
Groups(groupNames: IReadOnlyList_1<System_Internal.String>):
|
|
338
|
-
OthersInGroup(groupName: string):
|
|
339
|
-
User(userId: string):
|
|
340
|
-
Users(userIds: IReadOnlyList_1<System_Internal.String>):
|
|
306
|
+
readonly All: JsValue;
|
|
307
|
+
readonly Caller: JsValue;
|
|
308
|
+
readonly Others: JsValue;
|
|
309
|
+
AllExcept(excludedConnectionIds: IReadOnlyList_1<System_Internal.String>): JsValue;
|
|
310
|
+
Client(connectionId: string): JsValue;
|
|
311
|
+
Clients(connectionIds: IReadOnlyList_1<System_Internal.String>): JsValue;
|
|
312
|
+
Group(groupName: string): JsValue;
|
|
313
|
+
GroupExcept(groupName: string, excludedConnectionIds: IReadOnlyList_1<System_Internal.String>): JsValue;
|
|
314
|
+
Groups(groupNames: IReadOnlyList_1<System_Internal.String>): JsValue;
|
|
315
|
+
OthersInGroup(groupName: string): JsValue;
|
|
316
|
+
User(userId: string): JsValue;
|
|
317
|
+
Users(userIds: IReadOnlyList_1<System_Internal.String>): JsValue;
|
|
341
318
|
}
|
|
342
319
|
|
|
343
320
|
|
|
@@ -359,7 +336,7 @@ export interface Hub$instance {
|
|
|
359
336
|
Dispose(disposing: boolean): void;
|
|
360
337
|
Dispose(): void;
|
|
361
338
|
OnConnectedAsync(): Task;
|
|
362
|
-
OnDisconnectedAsync(exception: Exception): Task;
|
|
339
|
+
OnDisconnectedAsync(exception: Exception | null): Task;
|
|
363
340
|
}
|
|
364
341
|
|
|
365
342
|
|
|
@@ -390,9 +367,9 @@ export interface HubCallerContext$instance {
|
|
|
390
367
|
readonly ConnectionAborted: CancellationToken;
|
|
391
368
|
readonly ConnectionId: string;
|
|
392
369
|
readonly Features: IFeatureCollection;
|
|
393
|
-
readonly Items: IDictionary_2<
|
|
394
|
-
readonly User: ClaimsPrincipal |
|
|
395
|
-
readonly UserIdentifier: string |
|
|
370
|
+
readonly Items: IDictionary_2<JsValue, JsValue | null>;
|
|
371
|
+
readonly User: ClaimsPrincipal | null;
|
|
372
|
+
readonly UserIdentifier: string | null;
|
|
396
373
|
Abort(): void;
|
|
397
374
|
}
|
|
398
375
|
|
|
@@ -409,11 +386,11 @@ export interface HubConnectionContext$instance {
|
|
|
409
386
|
readonly ConnectionAborted: CancellationToken;
|
|
410
387
|
readonly ConnectionId: string;
|
|
411
388
|
readonly Features: IFeatureCollection;
|
|
412
|
-
readonly Items: IDictionary_2<
|
|
389
|
+
readonly Items: IDictionary_2<JsValue, JsValue | null>;
|
|
413
390
|
Protocol: IHubProtocol;
|
|
414
391
|
readonly User: ClaimsPrincipal;
|
|
415
|
-
get UserIdentifier(): string |
|
|
416
|
-
set UserIdentifier(value: string |
|
|
392
|
+
get UserIdentifier(): string | null;
|
|
393
|
+
set UserIdentifier(value: string | null);
|
|
417
394
|
Abort(): void;
|
|
418
395
|
WriteAsync(message: HubMessage, cancellationToken?: CancellationToken): ValueTask;
|
|
419
396
|
WriteAsync(message: SerializedHubMessage, cancellationToken?: CancellationToken): ValueTask;
|
|
@@ -475,7 +452,28 @@ export const HubConnectionStore: {
|
|
|
475
452
|
};
|
|
476
453
|
|
|
477
454
|
|
|
478
|
-
export type HubConnectionStore = HubConnectionStore$instance & { readonly [connectionId: string]: HubConnectionContext |
|
|
455
|
+
export type HubConnectionStore = HubConnectionStore$instance & { readonly [connectionId: string]: HubConnectionContext | null; };
|
|
456
|
+
|
|
457
|
+
export interface HubConnectionStore_Enumerator$instance {
|
|
458
|
+
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_HubConnectionStore_Enumerator: never;
|
|
459
|
+
|
|
460
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
461
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
462
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
463
|
+
|
|
464
|
+
readonly Current: HubConnectionContext;
|
|
465
|
+
Dispose(): void;
|
|
466
|
+
MoveNext(): boolean;
|
|
467
|
+
Reset(): void;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
export const HubConnectionStore_Enumerator: {
|
|
472
|
+
new(hubConnectionList: HubConnectionStore): HubConnectionStore_Enumerator;
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
export type HubConnectionStore_Enumerator = HubConnectionStore_Enumerator$instance;
|
|
479
477
|
|
|
480
478
|
export interface HubException$instance extends Exception {
|
|
481
479
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_HubException: never;
|
|
@@ -487,8 +485,8 @@ export interface HubException$instance extends Exception {
|
|
|
487
485
|
|
|
488
486
|
export const HubException: {
|
|
489
487
|
new(): HubException;
|
|
490
|
-
new(message: string): HubException;
|
|
491
|
-
new(message: string, innerException: Exception): HubException;
|
|
488
|
+
new(message: string | null): HubException;
|
|
489
|
+
new(message: string | null, innerException: Exception | null): HubException;
|
|
492
490
|
new(info: SerializationInfo, context: StreamingContext): HubException;
|
|
493
491
|
};
|
|
494
492
|
|
|
@@ -501,14 +499,14 @@ export interface HubInvocationContext$instance {
|
|
|
501
499
|
readonly Context: HubCallerContext;
|
|
502
500
|
readonly Hub: Hub;
|
|
503
501
|
readonly HubMethod: MethodInfo;
|
|
504
|
-
readonly HubMethodArguments: IReadOnlyList_1<
|
|
502
|
+
readonly HubMethodArguments: IReadOnlyList_1<JsValue | null>;
|
|
505
503
|
readonly HubMethodName: string;
|
|
506
504
|
readonly ServiceProvider: IServiceProvider;
|
|
507
505
|
}
|
|
508
506
|
|
|
509
507
|
|
|
510
508
|
export const HubInvocationContext: {
|
|
511
|
-
new(context: HubCallerContext, serviceProvider: IServiceProvider, hub: Hub, hubMethod: MethodInfo, hubMethodArguments: IReadOnlyList_1<
|
|
509
|
+
new(context: HubCallerContext, serviceProvider: IServiceProvider, hub: Hub, hubMethod: MethodInfo, hubMethodArguments: IReadOnlyList_1<JsValue | null>): HubInvocationContext;
|
|
512
510
|
};
|
|
513
511
|
|
|
514
512
|
|
|
@@ -534,21 +532,21 @@ export interface HubLifetimeManager_1$instance<THub extends Hub> {
|
|
|
534
532
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_HubLifetimeManager_1: never;
|
|
535
533
|
|
|
536
534
|
AddToGroupAsync(connectionId: string, groupName: string, cancellationToken?: CancellationToken): Task;
|
|
537
|
-
InvokeConnectionAsync<T>(connectionId: string, methodName: string, args:
|
|
535
|
+
InvokeConnectionAsync<T>(connectionId: string, methodName: string, args: (JsValue | null)[], cancellationToken: CancellationToken): Task_1<T>;
|
|
538
536
|
OnConnectedAsync(connection: HubConnectionContext): Task;
|
|
539
537
|
OnDisconnectedAsync(connection: HubConnectionContext): Task;
|
|
540
538
|
RemoveFromGroupAsync(connectionId: string, groupName: string, cancellationToken?: CancellationToken): Task;
|
|
541
|
-
SendAllAsync(methodName: string, args:
|
|
542
|
-
SendAllExceptAsync(methodName: string, args:
|
|
543
|
-
SendConnectionAsync(connectionId: string, methodName: string, args:
|
|
544
|
-
SendConnectionsAsync(connectionIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args:
|
|
545
|
-
SendGroupAsync(groupName: string, methodName: string, args:
|
|
546
|
-
SendGroupExceptAsync(groupName: string, methodName: string, args:
|
|
547
|
-
SendGroupsAsync(groupNames: IReadOnlyList_1<System_Internal.String>, methodName: string, args:
|
|
548
|
-
SendUserAsync(userId: string, methodName: string, args:
|
|
549
|
-
SendUsersAsync(userIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args:
|
|
539
|
+
SendAllAsync(methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
540
|
+
SendAllExceptAsync(methodName: string, args: (JsValue | null)[], excludedConnectionIds: IReadOnlyList_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
541
|
+
SendConnectionAsync(connectionId: string, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
542
|
+
SendConnectionsAsync(connectionIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
543
|
+
SendGroupAsync(groupName: string, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
544
|
+
SendGroupExceptAsync(groupName: string, methodName: string, args: (JsValue | null)[], excludedConnectionIds: IReadOnlyList_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
545
|
+
SendGroupsAsync(groupNames: IReadOnlyList_1<System_Internal.String>, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
546
|
+
SendUserAsync(userId: string, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
547
|
+
SendUsersAsync(userIds: IReadOnlyList_1<System_Internal.String>, methodName: string, args: (JsValue | null)[], cancellationToken?: CancellationToken): Task;
|
|
550
548
|
SetConnectionResultAsync(connectionId: string, result: CompletionMessage): Task;
|
|
551
|
-
TryGetReturnType(invocationId: string, type: Type): boolean;
|
|
549
|
+
TryGetReturnType(invocationId: string, type: Type | null): boolean;
|
|
552
550
|
}
|
|
553
551
|
|
|
554
552
|
|
|
@@ -604,8 +602,8 @@ export interface HubOptions$instance {
|
|
|
604
602
|
StatefulReconnectBufferSize: long;
|
|
605
603
|
get StreamBufferCapacity(): Nullable_1<System_Internal.Int32>;
|
|
606
604
|
set StreamBufferCapacity(value: Nullable_1<System_Internal.Int32> | int);
|
|
607
|
-
get SupportedProtocols(): IList_1<System_Internal.String> |
|
|
608
|
-
set SupportedProtocols(value: IList_1<System_Internal.String> |
|
|
605
|
+
get SupportedProtocols(): IList_1<System_Internal.String> | null;
|
|
606
|
+
set SupportedProtocols(value: IList_1<System_Internal.String> | null);
|
|
609
607
|
}
|
|
610
608
|
|
|
611
609
|
|
|
@@ -678,7 +676,7 @@ export type JsonHubProtocolOptions = JsonHubProtocolOptions$instance;
|
|
|
678
676
|
export interface SerializedHubMessage$instance {
|
|
679
677
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_SerializedHubMessage: never;
|
|
680
678
|
|
|
681
|
-
readonly Message: HubMessage |
|
|
679
|
+
readonly Message: HubMessage | null;
|
|
682
680
|
GetSerializedMessage(protocol: IHubProtocol): ReadOnlyMemory_1<System_Internal.Byte>;
|
|
683
681
|
}
|
|
684
682
|
|
|
@@ -692,27 +690,27 @@ export const SerializedHubMessage: {
|
|
|
692
690
|
export type SerializedHubMessage = SerializedHubMessage$instance;
|
|
693
691
|
|
|
694
692
|
export abstract class ClientProxyExtensions$instance {
|
|
695
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
696
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
697
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
698
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
699
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
700
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
701
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
702
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
703
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
704
|
-
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1:
|
|
693
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, arg8: JsValue | null, arg9: JsValue | null, arg10: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
694
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, arg8: JsValue | null, arg9: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
695
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, arg8: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
696
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
697
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
698
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
699
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
700
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
701
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
702
|
+
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, arg1: JsValue | null, cancellationToken: CancellationToken): Task_1<T>;
|
|
705
703
|
static InvokeAsync<T>(clientProxy: ISingleClientProxy, method: string, cancellationToken: CancellationToken): Task_1<T>;
|
|
706
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
707
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
708
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
709
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
710
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
711
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
712
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
713
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
714
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
715
|
-
static SendAsync(clientProxy: IClientProxy, method: string, arg1:
|
|
704
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, arg8: JsValue | null, arg9: JsValue | null, arg10: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
705
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, arg8: JsValue | null, arg9: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
706
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, arg8: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
707
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, arg7: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
708
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, arg6: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
709
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, arg5: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
710
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
711
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
712
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, arg2: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
713
|
+
static SendAsync(clientProxy: IClientProxy, method: string, arg1: JsValue | null, cancellationToken?: CancellationToken): Task;
|
|
716
714
|
static SendAsync(clientProxy: IClientProxy, method: string, cancellationToken?: CancellationToken): Task;
|
|
717
715
|
}
|
|
718
716
|
|
|
@@ -720,8 +718,8 @@ export abstract class ClientProxyExtensions$instance {
|
|
|
720
718
|
export type ClientProxyExtensions = ClientProxyExtensions$instance;
|
|
721
719
|
|
|
722
720
|
export abstract class GetHttpContextExtensions$instance {
|
|
723
|
-
static GetHttpContext(connection: HubCallerContext): HttpContext |
|
|
724
|
-
static GetHttpContext(connection: HubConnectionContext): HttpContext |
|
|
721
|
+
static GetHttpContext(connection: HubCallerContext): HttpContext | null;
|
|
722
|
+
static GetHttpContext(connection: HubConnectionContext): HttpContext | null;
|
|
725
723
|
}
|
|
726
724
|
|
|
727
725
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.SignalR.Protocol
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.SignalR.Common, Microsoft.AspNetCore.SignalR.Protocols.Json
|
|
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 { TransferFormat } from "../../Microsoft.AspNetCore.Connections/internal/index.js";
|
|
@@ -26,7 +24,7 @@ export interface IHubProtocol$instance {
|
|
|
26
24
|
readonly TransferFormat: TransferFormat;
|
|
27
25
|
GetMessageBytes(message: HubMessage): ReadOnlyMemory_1<System_Internal.Byte>;
|
|
28
26
|
IsVersionSupported(version: int): boolean;
|
|
29
|
-
TryParseMessage(input: ReadOnlySequence_1<System_Internal.Byte>, binder: IInvocationBinder, message: HubMessage): boolean;
|
|
27
|
+
TryParseMessage(input: ReadOnlySequence_1<System_Internal.Byte>, binder: IInvocationBinder, message: HubMessage | null): boolean;
|
|
30
28
|
WriteMessage(message: HubMessage, output: IBufferWriter_1<System_Internal.Byte>): void;
|
|
31
29
|
}
|
|
32
30
|
|
|
@@ -64,13 +62,13 @@ export interface CloseMessage$instance extends HubMessage {
|
|
|
64
62
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_Protocol_CloseMessage: never;
|
|
65
63
|
|
|
66
64
|
readonly AllowReconnect: boolean;
|
|
67
|
-
readonly Error: string |
|
|
65
|
+
readonly Error: string | null;
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
|
|
71
69
|
export const CloseMessage: {
|
|
72
|
-
new(error: string): CloseMessage;
|
|
73
|
-
new(error: string, allowReconnect: boolean): CloseMessage;
|
|
70
|
+
new(error: string | null): CloseMessage;
|
|
71
|
+
new(error: string | null, allowReconnect: boolean): CloseMessage;
|
|
74
72
|
readonly Empty: CloseMessage;
|
|
75
73
|
};
|
|
76
74
|
|
|
@@ -80,18 +78,18 @@ export type CloseMessage = CloseMessage$instance;
|
|
|
80
78
|
export interface CompletionMessage$instance extends HubInvocationMessage {
|
|
81
79
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_Protocol_CompletionMessage: never;
|
|
82
80
|
|
|
83
|
-
readonly Error: string |
|
|
81
|
+
readonly Error: string | null;
|
|
84
82
|
readonly HasResult: boolean;
|
|
85
|
-
readonly Result:
|
|
83
|
+
readonly Result: JsValue | null;
|
|
86
84
|
ToString(): string;
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
|
|
90
88
|
export const CompletionMessage: {
|
|
91
|
-
new(invocationId: string, error: string, result:
|
|
89
|
+
new(invocationId: string, error: string | null, result: JsValue | null, hasResult: boolean): CompletionMessage;
|
|
92
90
|
Empty(invocationId: string): CompletionMessage;
|
|
93
|
-
WithError(invocationId: string, error: string): CompletionMessage;
|
|
94
|
-
WithResult(invocationId: string, payload:
|
|
91
|
+
WithError(invocationId: string, error: string | null): CompletionMessage;
|
|
92
|
+
WithResult(invocationId: string, payload: JsValue | null): CompletionMessage;
|
|
95
93
|
};
|
|
96
94
|
|
|
97
95
|
|
|
@@ -115,12 +113,12 @@ export type HandshakeRequestMessage = HandshakeRequestMessage$instance;
|
|
|
115
113
|
export interface HandshakeResponseMessage$instance extends HubMessage {
|
|
116
114
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_Protocol_HandshakeResponseMessage: never;
|
|
117
115
|
|
|
118
|
-
readonly Error: string |
|
|
116
|
+
readonly Error: string | null;
|
|
119
117
|
}
|
|
120
118
|
|
|
121
119
|
|
|
122
120
|
export const HandshakeResponseMessage: {
|
|
123
|
-
new(error: string): HandshakeResponseMessage;
|
|
121
|
+
new(error: string | null): HandshakeResponseMessage;
|
|
124
122
|
readonly Empty: HandshakeResponseMessage;
|
|
125
123
|
};
|
|
126
124
|
|
|
@@ -130,13 +128,13 @@ export type HandshakeResponseMessage = HandshakeResponseMessage$instance;
|
|
|
130
128
|
export interface HubInvocationMessage$instance extends HubMessage {
|
|
131
129
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_Protocol_HubInvocationMessage: never;
|
|
132
130
|
|
|
133
|
-
get Headers(): IDictionary_2<System_Internal.String, System_Internal.String> |
|
|
134
|
-
set Headers(value: IDictionary_2<System_Internal.String, System_Internal.String> |
|
|
135
|
-
readonly InvocationId: string |
|
|
131
|
+
get Headers(): IDictionary_2<System_Internal.String, System_Internal.String> | null;
|
|
132
|
+
set Headers(value: IDictionary_2<System_Internal.String, System_Internal.String> | null);
|
|
133
|
+
readonly InvocationId: string | null;
|
|
136
134
|
}
|
|
137
135
|
|
|
138
136
|
|
|
139
|
-
export const HubInvocationMessage: (abstract new(invocationId: string) => HubInvocationMessage) & {
|
|
137
|
+
export const HubInvocationMessage: (abstract new(invocationId: string | null) => HubInvocationMessage) & {
|
|
140
138
|
};
|
|
141
139
|
|
|
142
140
|
|
|
@@ -157,13 +155,13 @@ export type HubMessage = HubMessage$instance;
|
|
|
157
155
|
export interface HubMethodInvocationMessage$instance extends HubInvocationMessage {
|
|
158
156
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_Protocol_HubMethodInvocationMessage: never;
|
|
159
157
|
|
|
160
|
-
readonly Arguments: (
|
|
161
|
-
readonly StreamIds: string[] |
|
|
158
|
+
readonly Arguments: (JsValue | null)[];
|
|
159
|
+
readonly StreamIds: string[] | null;
|
|
162
160
|
readonly Target: string;
|
|
163
161
|
}
|
|
164
162
|
|
|
165
163
|
|
|
166
|
-
export const HubMethodInvocationMessage: (abstract new(invocationId: string, target: string, arguments:
|
|
164
|
+
export const HubMethodInvocationMessage: (abstract new(invocationId: string | null, target: string, arguments: (JsValue | null)[], streamIds: string[] | null) => HubMethodInvocationMessage) & (abstract new(invocationId: string | null, target: string, arguments: (JsValue | null)[]) => HubMethodInvocationMessage) & {
|
|
167
165
|
};
|
|
168
166
|
|
|
169
167
|
|
|
@@ -178,7 +176,7 @@ export interface InvocationBindingFailureMessage$instance extends HubInvocationM
|
|
|
178
176
|
|
|
179
177
|
|
|
180
178
|
export const InvocationBindingFailureMessage: {
|
|
181
|
-
new(invocationId: string, target: string, bindingFailure: ExceptionDispatchInfo): InvocationBindingFailureMessage;
|
|
179
|
+
new(invocationId: string | null, target: string, bindingFailure: ExceptionDispatchInfo): InvocationBindingFailureMessage;
|
|
182
180
|
};
|
|
183
181
|
|
|
184
182
|
|
|
@@ -192,9 +190,9 @@ export interface InvocationMessage$instance extends HubMethodInvocationMessage {
|
|
|
192
190
|
|
|
193
191
|
|
|
194
192
|
export const InvocationMessage: {
|
|
195
|
-
new(target: string, arguments:
|
|
196
|
-
new(invocationId: string, target: string, arguments:
|
|
197
|
-
new(invocationId: string, target: string, arguments:
|
|
193
|
+
new(target: string, arguments: (JsValue | null)[]): InvocationMessage;
|
|
194
|
+
new(invocationId: string | null, target: string, arguments: (JsValue | null)[]): InvocationMessage;
|
|
195
|
+
new(invocationId: string | null, target: string, arguments: (JsValue | null)[], streamIds: string[] | null): InvocationMessage;
|
|
198
196
|
};
|
|
199
197
|
|
|
200
198
|
|
|
@@ -210,7 +208,7 @@ export interface JsonHubProtocol$instance extends IHubProtocol$instance {
|
|
|
210
208
|
readonly Version: int;
|
|
211
209
|
GetMessageBytes(message: HubMessage): ReadOnlyMemory_1<System_Internal.Byte>;
|
|
212
210
|
IsVersionSupported(version: int): boolean;
|
|
213
|
-
TryParseMessage(input: ReadOnlySequence_1<System_Internal.Byte>, binder: IInvocationBinder, message: HubMessage): boolean;
|
|
211
|
+
TryParseMessage(input: ReadOnlySequence_1<System_Internal.Byte>, binder: IInvocationBinder, message: HubMessage | null): boolean;
|
|
214
212
|
WriteMessage(message: HubMessage, output: IBufferWriter_1<System_Internal.Byte>): void;
|
|
215
213
|
}
|
|
216
214
|
|
|
@@ -292,8 +290,8 @@ export interface StreamInvocationMessage$instance extends HubMethodInvocationMes
|
|
|
292
290
|
|
|
293
291
|
|
|
294
292
|
export const StreamInvocationMessage: {
|
|
295
|
-
new(invocationId: string, target: string, arguments:
|
|
296
|
-
new(invocationId: string, target: string, arguments:
|
|
293
|
+
new(invocationId: string, target: string, arguments: (JsValue | null)[]): StreamInvocationMessage;
|
|
294
|
+
new(invocationId: string, target: string, arguments: (JsValue | null)[], streamIds: string[] | null): StreamInvocationMessage;
|
|
297
295
|
};
|
|
298
296
|
|
|
299
297
|
|
|
@@ -302,14 +300,14 @@ export type StreamInvocationMessage = StreamInvocationMessage$instance;
|
|
|
302
300
|
export interface StreamItemMessage$instance extends HubInvocationMessage {
|
|
303
301
|
readonly __tsonic_type_Microsoft_AspNetCore_SignalR_Protocol_StreamItemMessage: never;
|
|
304
302
|
|
|
305
|
-
get Item():
|
|
306
|
-
set Item(value:
|
|
303
|
+
get Item(): JsValue | null;
|
|
304
|
+
set Item(value: JsValue | null);
|
|
307
305
|
ToString(): string;
|
|
308
306
|
}
|
|
309
307
|
|
|
310
308
|
|
|
311
309
|
export const StreamItemMessage: {
|
|
312
|
-
new(invocationId: string, item:
|
|
310
|
+
new(invocationId: string, item: JsValue | null): StreamItemMessage;
|
|
313
311
|
};
|
|
314
312
|
|
|
315
313
|
|
|
@@ -317,8 +315,8 @@ export type StreamItemMessage = StreamItemMessage$instance;
|
|
|
317
315
|
|
|
318
316
|
export abstract class HandshakeProtocol$instance {
|
|
319
317
|
static GetSuccessfulHandshake(protocol: IHubProtocol): ReadOnlySpan_1<System_Internal.Byte>;
|
|
320
|
-
static TryParseRequestMessage(buffer: ReadOnlySequence_1<System_Internal.Byte>, requestMessage: HandshakeRequestMessage): boolean;
|
|
321
|
-
static TryParseResponseMessage(buffer: ReadOnlySequence_1<System_Internal.Byte>, responseMessage: HandshakeResponseMessage): boolean;
|
|
318
|
+
static TryParseRequestMessage(buffer: ReadOnlySequence_1<System_Internal.Byte>, requestMessage: HandshakeRequestMessage | null): boolean;
|
|
319
|
+
static TryParseResponseMessage(buffer: ReadOnlySequence_1<System_Internal.Byte>, responseMessage: HandshakeResponseMessage | null): boolean;
|
|
322
320
|
static WriteRequestMessage(requestMessage: HandshakeRequestMessage, output: IBufferWriter_1<System_Internal.Byte>): void;
|
|
323
321
|
static WriteResponseMessage(responseMessage: HandshakeResponseMessage, output: IBufferWriter_1<System_Internal.Byte>): void;
|
|
324
322
|
}
|
|
@@ -39,6 +39,7 @@ export { HubConnectionContext as HubConnectionContext } from './Microsoft.AspNet
|
|
|
39
39
|
export { HubConnectionContextOptions as HubConnectionContextOptions } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
40
40
|
export { HubConnectionHandler_1 as HubConnectionHandler } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
41
41
|
export { HubConnectionStore as HubConnectionStore } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
42
|
+
export { HubConnectionStore_Enumerator as HubConnectionStore_Enumerator } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
42
43
|
export { HubInvocationContext as HubInvocationContext } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
43
44
|
export { HubLifetimeContext as HubLifetimeContext } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
44
45
|
export { HubLifetimeManager_1 as HubLifetimeManager } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
@@ -56,7 +57,6 @@ export type IUserIdProvider = Internal.IUserIdProvider;
|
|
|
56
57
|
export { SerializedHubMessage as SerializedHubMessage } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
57
58
|
export { SerializedMessage as SerializedMessage } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
58
59
|
export { SignalRConnectionBuilderExtensions$instance as SignalRConnectionBuilderExtensions } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
59
|
-
export { HubConnectionStore_Enumerator as HubConnectionStore_Enumerator } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
60
60
|
export { JsonHubProtocolOptions as JsonHubProtocolOptions } from './Microsoft.AspNetCore.SignalR/internal/index.js';
|
|
61
61
|
|
|
62
62
|
// Multi-arity family value exports (arity-0 constructors/static namespaces)
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.StaticAssets
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.StaticAssets
|
|
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_Builder_Internal from "../../Microsoft.AspNetCore.Builder/internal/index.js";
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.StaticAssets.Infrastructure
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.StaticAssets
|
|
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 { IEndpointRouteBuilder } from "../../Microsoft.AspNetCore.Routing/internal/index.js";
|
|
@@ -13,8 +14,8 @@ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
|
13
14
|
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
15
|
|
|
15
16
|
export abstract class StaticAssetsEndpointDataSourceHelper$instance {
|
|
16
|
-
static HasStaticAssetsDataSource(builder: IEndpointRouteBuilder, staticAssetsManifestPath?: string): boolean;
|
|
17
|
-
static ResolveStaticAssetDescriptors(endpointRouteBuilder: IEndpointRouteBuilder, manifestPath: string): IReadOnlyList_1<StaticAssetDescriptor>;
|
|
17
|
+
static HasStaticAssetsDataSource(builder: IEndpointRouteBuilder, staticAssetsManifestPath?: string | null): boolean;
|
|
18
|
+
static ResolveStaticAssetDescriptors(endpointRouteBuilder: IEndpointRouteBuilder, manifestPath: string | null): IReadOnlyList_1<StaticAssetDescriptor>;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
|