@tsonic/aspnetcore 10.0.2 → 10.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +27 -9
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +250 -112
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +64 -34
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +47 -28
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +28 -11
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +137 -75
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +53 -32
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +221 -139
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +358 -187
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +46 -17
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +220 -89
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +10 -5
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +44 -13
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +16 -8
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +55 -22
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +33 -20
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +105 -37
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +27 -15
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +130 -49
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +64 -20
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +19 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +55 -29
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +43 -20
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +28 -16
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +59 -27
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +32 -19
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +19 -5
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +31 -15
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +58 -32
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +64 -21
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +89 -47
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +9 -5
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +16 -4
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +31 -13
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +408 -199
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +34 -16
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +21 -16
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +208 -88
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +378 -171
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +74 -26
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +18 -8
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +23 -11
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +725 -456
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +57 -27
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +724 -205
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +27 -13
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +37 -13
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +76 -30
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +244 -125
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +59 -25
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +21 -10
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +51 -24
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +12 -7
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +431 -68
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +140 -44
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +192 -89
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +77 -36
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +162 -66
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +48 -25
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +379 -133
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +217 -128
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +156 -102
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +100 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +105 -56
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +19 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +81 -42
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +70 -37
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +123 -95
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +57 -25
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +151 -72
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +41 -23
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +94 -48
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +24 -11
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +266 -144
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +44 -26
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +22 -12
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +28 -10
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +100 -31
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +18 -10
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +64 -29
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +20 -12
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +291 -131
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +191 -79
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +61 -25
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +40 -20
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +29 -13
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +50 -18
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +12 -4
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +56 -36
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +17 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +20 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +29 -18
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +32 -22
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +191 -91
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +63 -25
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +21 -11
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +38 -22
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
- package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +119 -73
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +135 -123
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
- package/Microsoft.Extensions.Hosting.d.ts +3 -0
- package/Microsoft.JSInterop/internal/index.d.ts +95 -52
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +40 -26
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +10 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +92 -60
- package/System.Formats.Cbor/internal/index.d.ts +29 -21
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +3 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +84 -29
- package/__internal/extensions/index.d.ts +1776 -1190
- package/package.json +4 -4
|
@@ -7,11 +7,13 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IWebHostBuilder } from "../../Microsoft.AspNetCore.Hosting/internal/index.js";
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type {
|
|
12
|
-
import type { IHostBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Action_1, Boolean as ClrBoolean, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { IHostBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export interface WebHostBuilderOptions$instance {
|
|
15
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_WebHostBuilderOptions: never;
|
|
16
|
+
|
|
15
17
|
SuppressEnvironmentConfiguration: boolean;
|
|
16
18
|
}
|
|
17
19
|
|
|
@@ -24,17 +26,17 @@ export const WebHostBuilderOptions: {
|
|
|
24
26
|
export type WebHostBuilderOptions = WebHostBuilderOptions$instance;
|
|
25
27
|
|
|
26
28
|
export abstract class GenericHostBuilderExtensions$instance {
|
|
27
|
-
static ConfigureWebHostDefaults(builder: IHostBuilder, configure:
|
|
28
|
-
static ConfigureWebHostDefaults(builder: IHostBuilder, configure:
|
|
29
|
+
static ConfigureWebHostDefaults(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>, configureOptions: Action_1<WebHostBuilderOptions>): IHostBuilder;
|
|
30
|
+
static ConfigureWebHostDefaults(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>): IHostBuilder;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
|
|
32
34
|
export type GenericHostBuilderExtensions = GenericHostBuilderExtensions$instance;
|
|
33
35
|
|
|
34
36
|
export abstract class GenericHostWebHostBuilderExtensions$instance {
|
|
35
|
-
static ConfigureSlimWebHost(builder: IHostBuilder, configure:
|
|
36
|
-
static ConfigureWebHost(builder: IHostBuilder, configure:
|
|
37
|
-
static ConfigureWebHost(builder: IHostBuilder, configure:
|
|
37
|
+
static ConfigureSlimWebHost(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>, configureWebHostBuilder: Action_1<WebHostBuilderOptions>): IHostBuilder;
|
|
38
|
+
static ConfigureWebHost(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>, configureWebHostBuilder: Action_1<WebHostBuilderOptions>): IHostBuilder;
|
|
39
|
+
static ConfigureWebHost(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>): IHostBuilder;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
|
|
@@ -14,3 +14,6 @@ import type { IHostBuilder } from '@tsonic/microsoft-extensions/Microsoft.Extens
|
|
|
14
14
|
export { GenericHostBuilderExtensions$instance as GenericHostBuilderExtensions } from './Microsoft.Extensions.Hosting/internal/index.js';
|
|
15
15
|
export { GenericHostWebHostBuilderExtensions$instance as GenericHostWebHostBuilderExtensions } from './Microsoft.Extensions.Hosting/internal/index.js';
|
|
16
16
|
export { WebHostBuilderOptions as WebHostBuilderOptions } from './Microsoft.Extensions.Hosting/internal/index.js';
|
|
17
|
+
// Extension methods (C# using semantics)
|
|
18
|
+
export type { ExtensionMethods_Microsoft_Extensions_Hosting as ExtensionMethods } from './__internal/extensions/index.js';
|
|
19
|
+
|
|
@@ -10,14 +10,14 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { DotNetInvocationInfo, DotNetInvocationResult, JSInvocationInfo } from "../../Microsoft.JSInterop.Infrastructure/internal/index.js";
|
|
13
|
-
import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
14
|
-
import * as
|
|
15
|
-
import type {
|
|
16
|
-
import
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import
|
|
20
|
-
import type {
|
|
13
|
+
import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
14
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
15
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
16
|
+
import type { JsonSerializerOptions } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
17
|
+
import type { Task, Task_1, ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
18
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
19
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
20
|
+
import type { Attribute, Boolean as ClrBoolean, Byte, Enum, Exception, IAsyncDisposable, IComparable, IConvertible, IDisposable, IFormattable, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
21
21
|
|
|
22
22
|
export enum JSCallResultType {
|
|
23
23
|
Default = 0,
|
|
@@ -28,12 +28,14 @@ export enum JSCallResultType {
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
export interface IJSInProcessObjectReference$instance extends IJSObjectReference, IAsyncDisposable, IDisposable {
|
|
31
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessObjectReference: never;
|
|
32
|
+
|
|
31
33
|
GetValue<TValue>(identifier: string): TValue;
|
|
32
|
-
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken):
|
|
33
|
-
GetValueAsync<TValue>(identifier: string):
|
|
34
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
35
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
34
36
|
Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
|
|
35
|
-
InvokeAsync<TValue>(identifier: string, args: unknown[]):
|
|
36
|
-
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
37
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
38
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
37
39
|
InvokeConstructor(identifier: string, args: unknown[]): IJSInProcessObjectReference;
|
|
38
40
|
SetValue<TValue>(identifier: string, value: TValue): void;
|
|
39
41
|
SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
|
|
@@ -41,17 +43,19 @@ export interface IJSInProcessObjectReference$instance extends IJSObjectReference
|
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
|
|
44
|
-
export interface IJSInProcessObjectReference$instance extends IJSObjectReference$instance {}
|
|
46
|
+
export interface IJSInProcessObjectReference$instance extends IJSObjectReference$instance, System_Internal.IDisposable {}
|
|
45
47
|
|
|
46
48
|
export type IJSInProcessObjectReference = IJSInProcessObjectReference$instance;
|
|
47
49
|
|
|
48
50
|
export interface IJSInProcessRuntime$instance {
|
|
51
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessRuntime: never;
|
|
52
|
+
|
|
49
53
|
GetValue<TValue>(identifier: string): TValue;
|
|
50
|
-
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken):
|
|
51
|
-
GetValueAsync<TValue>(identifier: string):
|
|
54
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
55
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
52
56
|
Invoke<TResult>(identifier: string, ...args: unknown[]): TResult;
|
|
53
|
-
InvokeAsync<TValue>(identifier: string, args: unknown[]):
|
|
54
|
-
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
57
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
58
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
55
59
|
InvokeConstructor(identifier: string, ...args: unknown[]): IJSInProcessObjectReference;
|
|
56
60
|
SetValue<TValue>(identifier: string, value: TValue): void;
|
|
57
61
|
SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
|
|
@@ -62,22 +66,28 @@ export interface IJSInProcessRuntime$instance {
|
|
|
62
66
|
export type IJSInProcessRuntime = IJSInProcessRuntime$instance;
|
|
63
67
|
|
|
64
68
|
export interface IJSObjectReference$instance extends IAsyncDisposable {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
|
|
70
|
+
|
|
71
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
72
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
73
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
74
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
69
75
|
SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
|
|
70
76
|
SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
|
|
80
|
+
export interface IJSObjectReference$instance extends System_Internal.IAsyncDisposable {}
|
|
81
|
+
|
|
74
82
|
export type IJSObjectReference = IJSObjectReference$instance;
|
|
75
83
|
|
|
76
84
|
export interface IJSRuntime$instance {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
85
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSRuntime: never;
|
|
86
|
+
|
|
87
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
88
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
89
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
90
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
81
91
|
SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
|
|
82
92
|
SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
|
|
83
93
|
}
|
|
@@ -86,14 +96,23 @@ export interface IJSRuntime$instance {
|
|
|
86
96
|
export type IJSRuntime = IJSRuntime$instance;
|
|
87
97
|
|
|
88
98
|
export interface IJSStreamReference$instance extends IAsyncDisposable {
|
|
99
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSStreamReference: never;
|
|
100
|
+
|
|
89
101
|
readonly Length: long;
|
|
90
|
-
OpenReadStreamAsync(maxAllowedSize?: long, cancellationToken?: CancellationToken):
|
|
102
|
+
OpenReadStreamAsync(maxAllowedSize?: long, cancellationToken?: CancellationToken): ValueTask_1<Stream>;
|
|
91
103
|
}
|
|
92
104
|
|
|
93
105
|
|
|
106
|
+
export interface IJSStreamReference$instance extends System_Internal.IAsyncDisposable {}
|
|
107
|
+
|
|
94
108
|
export type IJSStreamReference = IJSStreamReference$instance;
|
|
95
109
|
|
|
96
110
|
export interface DotNetObjectReference_1$instance<TValue> {
|
|
111
|
+
readonly __tsonic_type_Microsoft_JSInterop_DotNetObjectReference_1: never;
|
|
112
|
+
|
|
113
|
+
readonly __tsonic_iface_Microsoft_JSInterop_Infrastructure_IDotNetObjectReference: never;
|
|
114
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
115
|
+
|
|
97
116
|
readonly Value: TValue;
|
|
98
117
|
Dispose(): void;
|
|
99
118
|
}
|
|
@@ -106,6 +125,10 @@ export const DotNetObjectReference_1: {
|
|
|
106
125
|
export type DotNetObjectReference_1<TValue> = DotNetObjectReference_1$instance<TValue>;
|
|
107
126
|
|
|
108
127
|
export interface DotNetStreamReference$instance {
|
|
128
|
+
readonly __tsonic_type_Microsoft_JSInterop_DotNetStreamReference: never;
|
|
129
|
+
|
|
130
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
131
|
+
|
|
109
132
|
readonly LeaveOpen: boolean;
|
|
110
133
|
readonly Stream: Stream;
|
|
111
134
|
Dispose(): void;
|
|
@@ -120,6 +143,10 @@ export const DotNetStreamReference: {
|
|
|
120
143
|
export type DotNetStreamReference = DotNetStreamReference$instance;
|
|
121
144
|
|
|
122
145
|
export interface JSDisconnectedException$instance extends Exception {
|
|
146
|
+
readonly __tsonic_type_Microsoft_JSInterop_JSDisconnectedException: never;
|
|
147
|
+
|
|
148
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
149
|
+
|
|
123
150
|
}
|
|
124
151
|
|
|
125
152
|
|
|
@@ -131,6 +158,10 @@ export const JSDisconnectedException: {
|
|
|
131
158
|
export type JSDisconnectedException = JSDisconnectedException$instance;
|
|
132
159
|
|
|
133
160
|
export interface JSException$instance extends Exception {
|
|
161
|
+
readonly __tsonic_type_Microsoft_JSInterop_JSException: never;
|
|
162
|
+
|
|
163
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
164
|
+
|
|
134
165
|
}
|
|
135
166
|
|
|
136
167
|
|
|
@@ -142,13 +173,19 @@ export const JSException: {
|
|
|
142
173
|
|
|
143
174
|
export type JSException = JSException$instance;
|
|
144
175
|
|
|
145
|
-
export interface JSInProcessRuntime$instance extends JSRuntime {
|
|
176
|
+
export interface JSInProcessRuntime$instance extends JSRuntime, System_Internal.IDisposable {
|
|
177
|
+
readonly __tsonic_type_Microsoft_JSInterop_JSInProcessRuntime: never;
|
|
178
|
+
|
|
179
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessRuntime: never;
|
|
180
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSRuntime: never;
|
|
181
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
182
|
+
|
|
146
183
|
GetValue<TValue>(identifier: string): TValue;
|
|
147
|
-
GetValueAsync<TValue>(identifier: string):
|
|
148
|
-
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken):
|
|
184
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
185
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
149
186
|
Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
|
|
150
|
-
InvokeAsync<TValue>(identifier: string, args: unknown[]):
|
|
151
|
-
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
187
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
188
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
152
189
|
InvokeConstructor(identifier: string, ...args: unknown[]): IJSInProcessObjectReference;
|
|
153
190
|
InvokeJS(identifier: string, argsJson: string): string | undefined;
|
|
154
191
|
InvokeJS(identifier: string, argsJson: string, resultType: JSCallResultType, targetInstanceId: long): string | undefined;
|
|
@@ -172,6 +209,8 @@ export type JSInProcessRuntime = JSInProcessRuntime$instance & __JSInProcessRunt
|
|
|
172
209
|
|
|
173
210
|
|
|
174
211
|
export interface JSInvokableAttribute$instance extends Attribute {
|
|
212
|
+
readonly __tsonic_type_Microsoft_JSInterop_JSInvokableAttribute: never;
|
|
213
|
+
|
|
175
214
|
readonly Identifier: string | undefined;
|
|
176
215
|
}
|
|
177
216
|
|
|
@@ -185,18 +224,22 @@ export const JSInvokableAttribute: {
|
|
|
185
224
|
export type JSInvokableAttribute = JSInvokableAttribute$instance;
|
|
186
225
|
|
|
187
226
|
export interface JSRuntime$instance {
|
|
227
|
+
readonly __tsonic_type_Microsoft_JSInterop_JSRuntime: never;
|
|
228
|
+
|
|
229
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
230
|
+
|
|
188
231
|
BeginInvokeJS(taskId: long, identifier: string, argsJson: string): void;
|
|
189
232
|
BeginInvokeJS(taskId: long, identifier: string, argsJson: string, resultType: JSCallResultType, targetInstanceId: long): void;
|
|
190
233
|
BeginInvokeJS(invocationInfo: JSInvocationInfo): void;
|
|
191
234
|
Dispose(): void;
|
|
192
235
|
EndInvokeDotNet(invocationInfo: DotNetInvocationInfo, invocationResult: DotNetInvocationResult): void;
|
|
193
|
-
GetValueAsync<TValue>(identifier: string):
|
|
194
|
-
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken):
|
|
195
|
-
InvokeAsync<TValue>(identifier: string, args: unknown[]):
|
|
196
|
-
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
197
|
-
InvokeConstructorAsync(identifier: string, args: unknown[]):
|
|
198
|
-
InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
199
|
-
ReadJSDataAsStreamAsync(jsStreamReference: IJSStreamReference, totalLength: long, cancellationToken?: CancellationToken):
|
|
236
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
237
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
238
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
239
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
240
|
+
InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
241
|
+
InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
242
|
+
ReadJSDataAsStreamAsync(jsStreamReference: IJSStreamReference, totalLength: long, cancellationToken?: CancellationToken): Task_1<Stream>;
|
|
200
243
|
ReceiveByteArray(id: int, data: byte[]): void;
|
|
201
244
|
SendByteArray(id: int, data: byte[]): void;
|
|
202
245
|
SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
|
|
@@ -233,13 +276,13 @@ export abstract class JSInProcessRuntimeExtensions$instance {
|
|
|
233
276
|
export type JSInProcessRuntimeExtensions = JSInProcessRuntimeExtensions$instance;
|
|
234
277
|
|
|
235
278
|
export abstract class JSObjectReferenceExtensions$instance {
|
|
236
|
-
static GetValueAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan):
|
|
237
|
-
static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]):
|
|
238
|
-
static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]):
|
|
239
|
-
static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]):
|
|
240
|
-
static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]):
|
|
241
|
-
static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
242
|
-
static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: unknown[]):
|
|
279
|
+
static GetValueAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
|
|
280
|
+
static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask_1<TValue>;
|
|
281
|
+
static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask_1<TValue>;
|
|
282
|
+
static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask_1<TValue>;
|
|
283
|
+
static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
284
|
+
static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
285
|
+
static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
243
286
|
static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask;
|
|
244
287
|
static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask;
|
|
245
288
|
static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask;
|
|
@@ -250,13 +293,13 @@ export abstract class JSObjectReferenceExtensions$instance {
|
|
|
250
293
|
export type JSObjectReferenceExtensions = JSObjectReferenceExtensions$instance;
|
|
251
294
|
|
|
252
295
|
export abstract class JSRuntimeExtensions$instance {
|
|
253
|
-
static GetValueAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan):
|
|
254
|
-
static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]):
|
|
255
|
-
static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]):
|
|
256
|
-
static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]):
|
|
257
|
-
static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]):
|
|
258
|
-
static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
259
|
-
static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: unknown[]):
|
|
296
|
+
static GetValueAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
|
|
297
|
+
static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask_1<TValue>;
|
|
298
|
+
static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask_1<TValue>;
|
|
299
|
+
static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask_1<TValue>;
|
|
300
|
+
static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
301
|
+
static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
302
|
+
static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
260
303
|
static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask;
|
|
261
304
|
static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask;
|
|
262
305
|
static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask;
|
|
@@ -11,21 +11,28 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import * as Microsoft_JSInterop_Internal from "../../Microsoft.JSInterop/internal/index.js";
|
|
13
13
|
import type { IJSInProcessObjectReference, IJSObjectReference, IJSStreamReference, JSInProcessRuntime, JSRuntime } from "../../Microsoft.JSInterop/internal/index.js";
|
|
14
|
-
import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import
|
|
19
|
-
import type {
|
|
14
|
+
import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
15
|
+
import type { Utf8JsonReader, Utf8JsonWriter } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
16
|
+
import type { ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
17
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
18
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { IAsyncDisposable, IDisposable, Int64, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
20
20
|
|
|
21
21
|
export interface JSInProcessObjectReference$instance extends JSObjectReference$instance {
|
|
22
|
+
readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSInProcessObjectReference: never;
|
|
23
|
+
|
|
24
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessObjectReference: never;
|
|
25
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
|
|
26
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
27
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
28
|
+
|
|
22
29
|
Dispose(): void;
|
|
23
30
|
GetValue<TValue>(identifier: string): TValue;
|
|
24
|
-
GetValueAsync<TValue>(identifier: string):
|
|
25
|
-
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken):
|
|
31
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
32
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
26
33
|
Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
|
|
27
|
-
InvokeAsync<TValue>(identifier: string, args: unknown[]):
|
|
28
|
-
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
34
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
35
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
29
36
|
InvokeConstructor(identifier: string, args: unknown[]): IJSInProcessObjectReference;
|
|
30
37
|
SetValue<TValue>(identifier: string, value: TValue): void;
|
|
31
38
|
SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
|
|
@@ -45,14 +52,19 @@ export interface __JSInProcessObjectReference$views {
|
|
|
45
52
|
export type JSInProcessObjectReference = JSInProcessObjectReference$instance & __JSInProcessObjectReference$views;
|
|
46
53
|
|
|
47
54
|
|
|
48
|
-
export interface JSObjectReference$instance {
|
|
55
|
+
export interface JSObjectReference$instance extends Microsoft_JSInterop_Internal.IJSObjectReference$instance {
|
|
56
|
+
readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSObjectReference: never;
|
|
57
|
+
|
|
58
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
|
|
59
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
60
|
+
|
|
49
61
|
DisposeAsync(): ValueTask;
|
|
50
|
-
GetValueAsync<TValue>(identifier: string):
|
|
51
|
-
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken):
|
|
52
|
-
InvokeAsync<TValue>(identifier: string, args: unknown[]):
|
|
53
|
-
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
54
|
-
InvokeConstructorAsync(identifier: string, args: unknown[]):
|
|
55
|
-
InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
62
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
63
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
64
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
65
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
66
|
+
InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
67
|
+
InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
|
|
56
68
|
SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
|
|
57
69
|
SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
|
|
58
70
|
}
|
|
@@ -66,17 +78,21 @@ export interface __JSObjectReference$views {
|
|
|
66
78
|
As_IJSObjectReference(): Microsoft_JSInterop_Internal.IJSObjectReference$instance;
|
|
67
79
|
}
|
|
68
80
|
|
|
69
|
-
export interface JSObjectReference$instance extends Microsoft_JSInterop_Internal.IJSObjectReference$instance {}
|
|
70
|
-
|
|
71
81
|
export type JSObjectReference = JSObjectReference$instance & __JSObjectReference$views;
|
|
72
82
|
|
|
73
83
|
|
|
74
|
-
export interface JSStreamReference$instance extends JSObjectReference$instance {
|
|
84
|
+
export interface JSStreamReference$instance extends JSObjectReference$instance, Microsoft_JSInterop_Internal.IJSStreamReference$instance {
|
|
85
|
+
readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSStreamReference: never;
|
|
86
|
+
|
|
87
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
|
|
88
|
+
readonly __tsonic_iface_Microsoft_JSInterop_IJSStreamReference: never;
|
|
89
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
90
|
+
|
|
75
91
|
readonly Length: long;
|
|
76
|
-
GetValueAsync<TValue>(identifier: string):
|
|
77
|
-
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken):
|
|
78
|
-
InvokeAsync<TValue>(identifier: string, args: unknown[]):
|
|
79
|
-
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]):
|
|
92
|
+
GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
|
|
93
|
+
GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
|
|
94
|
+
InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
|
|
95
|
+
InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
|
|
80
96
|
SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
|
|
81
97
|
SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
|
|
82
98
|
}
|
|
@@ -91,8 +107,6 @@ export interface __JSStreamReference$views {
|
|
|
91
107
|
As_IJSStreamReference(): Microsoft_JSInterop_Internal.IJSStreamReference$instance;
|
|
92
108
|
}
|
|
93
109
|
|
|
94
|
-
export interface JSStreamReference$instance extends Microsoft_JSInterop_Internal.IJSStreamReference$instance {}
|
|
95
|
-
|
|
96
110
|
export type JSStreamReference = JSStreamReference$instance & __JSStreamReference$views;
|
|
97
111
|
|
|
98
112
|
|
|
@@ -10,8 +10,8 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { JSCallResultType, JSRuntime } from "../../Microsoft.JSInterop/internal/index.js";
|
|
13
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type { Boolean as ClrBoolean, Byte, Enum, Exception, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, Byte, Enum, Exception, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export enum JSCallType {
|
|
17
17
|
FunctionCall = 1,
|
|
@@ -22,12 +22,16 @@ export enum JSCallType {
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
export interface IJSVoidResult$instance {
|
|
25
|
+
readonly __tsonic_iface_Microsoft_JSInterop_Infrastructure_IJSVoidResult: never;
|
|
26
|
+
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
export type IJSVoidResult = IJSVoidResult$instance;
|
|
29
31
|
|
|
30
32
|
export interface DotNetInvocationInfo$instance {
|
|
33
|
+
readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_DotNetInvocationInfo: never;
|
|
34
|
+
|
|
31
35
|
readonly AssemblyName: string | undefined;
|
|
32
36
|
readonly CallId: string | undefined;
|
|
33
37
|
readonly DotNetObjectId: long;
|
|
@@ -43,6 +47,8 @@ export const DotNetInvocationInfo: {
|
|
|
43
47
|
export type DotNetInvocationInfo = DotNetInvocationInfo$instance;
|
|
44
48
|
|
|
45
49
|
export interface DotNetInvocationResult$instance {
|
|
50
|
+
readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_DotNetInvocationResult: never;
|
|
51
|
+
|
|
46
52
|
readonly ErrorKind: string | undefined;
|
|
47
53
|
readonly Exception: Exception | undefined;
|
|
48
54
|
readonly ResultJson: string | undefined;
|
|
@@ -58,6 +64,8 @@ export const DotNetInvocationResult: {
|
|
|
58
64
|
export type DotNetInvocationResult = DotNetInvocationResult$instance;
|
|
59
65
|
|
|
60
66
|
export interface JSInvocationInfo$instance {
|
|
67
|
+
readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_JSInvocationInfo: never;
|
|
68
|
+
|
|
61
69
|
ArgsJson: string;
|
|
62
70
|
AsyncHandle: long;
|
|
63
71
|
CallType: JSCallType;
|