@tsonic/microsoft-extensions 10.0.3 → 10.0.7
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.Extensions.Caching.Distributed/internal/index.d.ts +27 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +29 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +54 -31
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +141 -70
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +17 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +25 -8
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +24 -7
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +16 -9
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +29 -10
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +171 -114
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +51 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +65 -38
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +16 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +15 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +36 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +30 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +47 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +84 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +22 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +18 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +21 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +9 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +48 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +108 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +41 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +10 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +34 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +8 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +14 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +9 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +33 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +257 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +68 -22
- package/Microsoft.Extensions.Primitives.d.ts +3 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +41 -21
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -3
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +10 -4
- package/System.Diagnostics/internal/index.d.ts +37 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +146 -70
- package/System.Net.Http/internal/index.d.ts +7 -3
- package/System.Security.Cryptography/internal/index.d.ts +16 -5
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +162 -69
- package/System.Security.Cryptography.Xml/internal/index.d.ts +115 -16
- package/__internal/extensions/index.d.ts +633 -487
- package/package.json +3 -3
|
@@ -7,51 +7,51 @@ 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 { IServiceCollection, ServiceDescriptor } from "../../Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
10
|
-
import type {
|
|
11
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
12
|
-
import type {
|
|
10
|
+
import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { Func_2, Func_3, IServiceProvider, Object as ClrObject, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export abstract class ServiceCollectionDescriptorExtensions$instance {
|
|
15
15
|
static Add(collection: IServiceCollection, descriptor: ServiceDescriptor): IServiceCollection;
|
|
16
|
-
static Add(collection: IServiceCollection, descriptors:
|
|
16
|
+
static Add(collection: IServiceCollection, descriptors: IEnumerable_1<ServiceDescriptor>): IServiceCollection;
|
|
17
17
|
static RemoveAll(collection: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
18
18
|
static RemoveAll<T>(collection: IServiceCollection): IServiceCollection;
|
|
19
19
|
static RemoveAllKeyed<T>(collection: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
20
20
|
static RemoveAllKeyed(collection: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
21
21
|
static Replace(collection: IServiceCollection, descriptor: ServiceDescriptor): IServiceCollection;
|
|
22
22
|
static TryAdd(collection: IServiceCollection, descriptor: ServiceDescriptor): void;
|
|
23
|
-
static TryAdd(collection: IServiceCollection, descriptors:
|
|
23
|
+
static TryAdd(collection: IServiceCollection, descriptors: IEnumerable_1<ServiceDescriptor>): void;
|
|
24
24
|
static TryAddEnumerable(services: IServiceCollection, descriptor: ServiceDescriptor): void;
|
|
25
|
-
static TryAddEnumerable(services: IServiceCollection, descriptors:
|
|
26
|
-
static TryAddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
25
|
+
static TryAddEnumerable(services: IServiceCollection, descriptors: IEnumerable_1<ServiceDescriptor>): void;
|
|
26
|
+
static TryAddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): void;
|
|
27
27
|
static TryAddKeyedScoped<TService>(collection: IServiceCollection, serviceKey: unknown): void;
|
|
28
|
-
static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory:
|
|
28
|
+
static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): void;
|
|
29
29
|
static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationType: Type): void;
|
|
30
30
|
static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: unknown): void;
|
|
31
|
-
static TryAddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
31
|
+
static TryAddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): void;
|
|
32
32
|
static TryAddKeyedSingleton<TService>(collection: IServiceCollection, serviceKey: unknown, instance: TService): void;
|
|
33
33
|
static TryAddKeyedSingleton<TService>(collection: IServiceCollection, serviceKey: unknown): void;
|
|
34
|
-
static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory:
|
|
34
|
+
static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): void;
|
|
35
35
|
static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationType: Type): void;
|
|
36
36
|
static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: unknown): void;
|
|
37
|
-
static TryAddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
37
|
+
static TryAddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): void;
|
|
38
38
|
static TryAddKeyedTransient<TService>(collection: IServiceCollection, serviceKey: unknown): void;
|
|
39
|
-
static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory:
|
|
39
|
+
static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): void;
|
|
40
40
|
static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationType: Type): void;
|
|
41
41
|
static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: unknown): void;
|
|
42
|
-
static TryAddScoped<TService>(services: IServiceCollection, implementationFactory:
|
|
43
|
-
static TryAddScoped(collection: IServiceCollection, service: Type, implementationFactory:
|
|
42
|
+
static TryAddScoped<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): void;
|
|
43
|
+
static TryAddScoped(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): void;
|
|
44
44
|
static TryAddScoped(collection: IServiceCollection, service: Type, implementationType: Type): void;
|
|
45
45
|
static TryAddScoped(collection: IServiceCollection, service: Type): void;
|
|
46
46
|
static TryAddScoped<TService>(collection: IServiceCollection): void;
|
|
47
|
-
static TryAddSingleton<TService>(services: IServiceCollection, implementationFactory:
|
|
48
|
-
static TryAddSingleton(collection: IServiceCollection, service: Type, implementationFactory:
|
|
47
|
+
static TryAddSingleton<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): void;
|
|
48
|
+
static TryAddSingleton(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): void;
|
|
49
49
|
static TryAddSingleton(collection: IServiceCollection, service: Type, implementationType: Type): void;
|
|
50
50
|
static TryAddSingleton(collection: IServiceCollection, service: Type): void;
|
|
51
51
|
static TryAddSingleton<TService>(collection: IServiceCollection, instance: TService): void;
|
|
52
52
|
static TryAddSingleton<TService>(collection: IServiceCollection): void;
|
|
53
|
-
static TryAddTransient<TService>(services: IServiceCollection, implementationFactory:
|
|
54
|
-
static TryAddTransient(collection: IServiceCollection, service: Type, implementationFactory:
|
|
53
|
+
static TryAddTransient<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): void;
|
|
54
|
+
static TryAddTransient(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): void;
|
|
55
55
|
static TryAddTransient(collection: IServiceCollection, service: Type, implementationType: Type): void;
|
|
56
56
|
static TryAddTransient(collection: IServiceCollection, service: Type): void;
|
|
57
57
|
static TryAddTransient<TService>(collection: IServiceCollection): void;
|
|
@@ -6,11 +6,11 @@
|
|
|
6
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';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import type {
|
|
10
|
-
import
|
|
11
|
-
import type {
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
9
|
+
import type { ICollection_1, IEnumerable_1, IReadOnlyDictionary_2, ISet_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
11
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Enum, Exception, Func_2, IComparable, IConvertible, IFormattable, Int32, IServiceProvider, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, ValueType } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export enum HealthStatus {
|
|
16
16
|
Unhealthy = 0,
|
|
@@ -20,13 +20,17 @@ export enum HealthStatus {
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
export interface IHealthCheck$instance {
|
|
23
|
-
|
|
23
|
+
readonly __tsonic_iface_Microsoft_Extensions_Diagnostics_HealthChecks_IHealthCheck: never;
|
|
24
|
+
|
|
25
|
+
CheckHealthAsync(context: HealthCheckContext, cancellationToken?: CancellationToken): Task_1<HealthCheckResult>;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
export type IHealthCheck = IHealthCheck$instance;
|
|
28
30
|
|
|
29
31
|
export interface IHealthCheckPublisher$instance {
|
|
32
|
+
readonly __tsonic_iface_Microsoft_Extensions_Diagnostics_HealthChecks_IHealthCheckPublisher: never;
|
|
33
|
+
|
|
30
34
|
PublishAsync(report: HealthReport, cancellationToken: CancellationToken): Task;
|
|
31
35
|
}
|
|
32
36
|
|
|
@@ -34,7 +38,9 @@ export interface IHealthCheckPublisher$instance {
|
|
|
34
38
|
export type IHealthCheckPublisher = IHealthCheckPublisher$instance;
|
|
35
39
|
|
|
36
40
|
export interface HealthCheckResult$instance {
|
|
37
|
-
readonly
|
|
41
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckResult: never;
|
|
42
|
+
|
|
43
|
+
readonly Data: IReadOnlyDictionary_2<System_Internal.String, unknown>;
|
|
38
44
|
readonly Description: string | undefined;
|
|
39
45
|
readonly Exception: Exception | undefined;
|
|
40
46
|
readonly Status: HealthStatus;
|
|
@@ -42,34 +48,38 @@ export interface HealthCheckResult$instance {
|
|
|
42
48
|
|
|
43
49
|
|
|
44
50
|
export const HealthCheckResult: {
|
|
45
|
-
new(status: HealthStatus, description: string, exception: Exception, data:
|
|
46
|
-
Degraded(description?: string, exception?: Exception, data?:
|
|
47
|
-
Healthy(description?: string, data?:
|
|
48
|
-
Unhealthy(description?: string, exception?: Exception, data?:
|
|
51
|
+
new(status: HealthStatus, description: string, exception: Exception, data: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
|
|
52
|
+
Degraded(description?: string, exception?: Exception, data?: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
|
|
53
|
+
Healthy(description?: string, data?: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
|
|
54
|
+
Unhealthy(description?: string, exception?: Exception, data?: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
|
|
49
55
|
};
|
|
50
56
|
|
|
51
57
|
|
|
52
58
|
export type HealthCheckResult = HealthCheckResult$instance;
|
|
53
59
|
|
|
54
60
|
export interface HealthReportEntry$instance {
|
|
55
|
-
readonly
|
|
61
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthReportEntry: never;
|
|
62
|
+
|
|
63
|
+
readonly Data: IReadOnlyDictionary_2<System_Internal.String, unknown>;
|
|
56
64
|
readonly Description: string | undefined;
|
|
57
65
|
readonly Duration: TimeSpan;
|
|
58
66
|
readonly Exception: Exception | undefined;
|
|
59
67
|
readonly Status: HealthStatus;
|
|
60
|
-
readonly Tags:
|
|
68
|
+
readonly Tags: IEnumerable_1<System_Internal.String>;
|
|
61
69
|
}
|
|
62
70
|
|
|
63
71
|
|
|
64
72
|
export const HealthReportEntry: {
|
|
65
|
-
new(status: HealthStatus, description: string, duration: TimeSpan, exception: Exception, data:
|
|
66
|
-
new(status: HealthStatus, description: string, duration: TimeSpan, exception: Exception, data:
|
|
73
|
+
new(status: HealthStatus, description: string, duration: TimeSpan, exception: Exception, data: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthReportEntry;
|
|
74
|
+
new(status: HealthStatus, description: string, duration: TimeSpan, exception: Exception, data: IReadOnlyDictionary_2<System_Internal.String, unknown>, tags: IEnumerable_1<System_Internal.String>): HealthReportEntry;
|
|
67
75
|
};
|
|
68
76
|
|
|
69
77
|
|
|
70
78
|
export type HealthReportEntry = HealthReportEntry$instance;
|
|
71
79
|
|
|
72
80
|
export interface HealthCheckContext$instance {
|
|
81
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckContext: never;
|
|
82
|
+
|
|
73
83
|
Registration: HealthCheckRegistration;
|
|
74
84
|
}
|
|
75
85
|
|
|
@@ -82,10 +92,12 @@ export const HealthCheckContext: {
|
|
|
82
92
|
export type HealthCheckContext = HealthCheckContext$instance;
|
|
83
93
|
|
|
84
94
|
export interface HealthCheckPublisherOptions$instance {
|
|
95
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckPublisherOptions: never;
|
|
96
|
+
|
|
85
97
|
Delay: TimeSpan;
|
|
86
98
|
Period: TimeSpan;
|
|
87
|
-
get Predicate():
|
|
88
|
-
set Predicate(value:
|
|
99
|
+
get Predicate(): Func_2<HealthCheckRegistration, System_Internal.Boolean> | undefined;
|
|
100
|
+
set Predicate(value: Func_2<HealthCheckRegistration, System_Internal.Boolean> | undefined);
|
|
89
101
|
Timeout: TimeSpan;
|
|
90
102
|
}
|
|
91
103
|
|
|
@@ -98,29 +110,33 @@ export const HealthCheckPublisherOptions: {
|
|
|
98
110
|
export type HealthCheckPublisherOptions = HealthCheckPublisherOptions$instance;
|
|
99
111
|
|
|
100
112
|
export interface HealthCheckRegistration$instance {
|
|
101
|
-
|
|
102
|
-
|
|
113
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckRegistration: never;
|
|
114
|
+
|
|
115
|
+
Delay: Nullable_1<TimeSpan>;
|
|
116
|
+
Factory: Func_2<IServiceProvider, IHealthCheck>;
|
|
103
117
|
FailureStatus: HealthStatus;
|
|
104
118
|
Name: string;
|
|
105
|
-
Period:
|
|
106
|
-
readonly Tags:
|
|
119
|
+
Period: Nullable_1<TimeSpan>;
|
|
120
|
+
readonly Tags: ISet_1<System_Internal.String>;
|
|
107
121
|
Timeout: TimeSpan;
|
|
108
122
|
}
|
|
109
123
|
|
|
110
124
|
|
|
111
125
|
export const HealthCheckRegistration: {
|
|
112
|
-
new(name: string, instance: IHealthCheck, failureStatus:
|
|
113
|
-
new(name: string, instance: IHealthCheck, failureStatus:
|
|
114
|
-
new(name: string, factory:
|
|
115
|
-
new(name: string, factory:
|
|
126
|
+
new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): HealthCheckRegistration;
|
|
127
|
+
new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
|
|
128
|
+
new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): HealthCheckRegistration;
|
|
129
|
+
new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
|
|
116
130
|
};
|
|
117
131
|
|
|
118
132
|
|
|
119
133
|
export type HealthCheckRegistration = HealthCheckRegistration$instance;
|
|
120
134
|
|
|
121
135
|
export interface HealthCheckService$instance {
|
|
122
|
-
|
|
123
|
-
|
|
136
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckService: never;
|
|
137
|
+
|
|
138
|
+
CheckHealthAsync(cancellationToken?: CancellationToken): Task_1<HealthReport>;
|
|
139
|
+
CheckHealthAsync(predicate: Func_2<HealthCheckRegistration, System_Internal.Boolean>, cancellationToken?: CancellationToken): Task_1<HealthReport>;
|
|
124
140
|
}
|
|
125
141
|
|
|
126
142
|
|
|
@@ -131,7 +147,9 @@ export const HealthCheckService: (abstract new() => HealthCheckService) & {
|
|
|
131
147
|
export type HealthCheckService = HealthCheckService$instance;
|
|
132
148
|
|
|
133
149
|
export interface HealthCheckServiceOptions$instance {
|
|
134
|
-
readonly
|
|
150
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckServiceOptions: never;
|
|
151
|
+
|
|
152
|
+
readonly Registrations: ICollection_1<HealthCheckRegistration>;
|
|
135
153
|
}
|
|
136
154
|
|
|
137
155
|
|
|
@@ -143,15 +161,17 @@ export const HealthCheckServiceOptions: {
|
|
|
143
161
|
export type HealthCheckServiceOptions = HealthCheckServiceOptions$instance;
|
|
144
162
|
|
|
145
163
|
export interface HealthReport$instance {
|
|
146
|
-
readonly
|
|
164
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthReport: never;
|
|
165
|
+
|
|
166
|
+
readonly Entries: IReadOnlyDictionary_2<System_Internal.String, HealthReportEntry>;
|
|
147
167
|
readonly Status: HealthStatus;
|
|
148
168
|
readonly TotalDuration: TimeSpan;
|
|
149
169
|
}
|
|
150
170
|
|
|
151
171
|
|
|
152
172
|
export const HealthReport: {
|
|
153
|
-
new(entries:
|
|
154
|
-
new(entries:
|
|
173
|
+
new(entries: IReadOnlyDictionary_2<System_Internal.String, HealthReportEntry>, totalDuration: TimeSpan): HealthReport;
|
|
174
|
+
new(entries: IReadOnlyDictionary_2<System_Internal.String, HealthReportEntry>, status: HealthStatus, totalDuration: TimeSpan): HealthReport;
|
|
155
175
|
};
|
|
156
176
|
|
|
157
177
|
|
|
@@ -11,10 +11,10 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { IConfiguration } from "../../Microsoft.Extensions.Configuration/internal/index.js";
|
|
13
13
|
import type { IServiceCollection } from "../../Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
14
|
-
import type {
|
|
15
|
-
import type { Instrument,
|
|
16
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
17
|
-
import type { Boolean as ClrBoolean, Byte, Decimal, Double, Enum, IComparable, IConvertible, IFormattable, Int16, Int32, Int64, ISpanFormattable, Object as ClrObject, Single, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
14
|
+
import type { IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import type { Instrument, MeasurementCallback_1 } from "@tsonic/dotnet/System.Diagnostics.Metrics/internal/index.js";
|
|
16
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { Boolean as ClrBoolean, Byte, Decimal, Double, Enum, IComparable, IConvertible, IFormattable, Int16, Int32, Int64, ISpanFormattable, Object as ClrObject, Single, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
18
18
|
|
|
19
19
|
export enum MeterScope {
|
|
20
20
|
None = 0,
|
|
@@ -24,6 +24,8 @@ export enum MeterScope {
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
export interface IMetricsBuilder$instance {
|
|
27
|
+
readonly __tsonic_iface_Microsoft_Extensions_Diagnostics_Metrics_IMetricsBuilder: never;
|
|
28
|
+
|
|
27
29
|
readonly Services: IServiceCollection;
|
|
28
30
|
}
|
|
29
31
|
|
|
@@ -31,6 +33,8 @@ export interface IMetricsBuilder$instance {
|
|
|
31
33
|
export type IMetricsBuilder = IMetricsBuilder$instance;
|
|
32
34
|
|
|
33
35
|
export interface IMetricsListener$instance {
|
|
36
|
+
readonly __tsonic_iface_Microsoft_Extensions_Diagnostics_Metrics_IMetricsListener: never;
|
|
37
|
+
|
|
34
38
|
readonly Name: string;
|
|
35
39
|
GetMeasurementHandlers(): MeasurementHandlers;
|
|
36
40
|
Initialize(source: IObservableInstrumentsSource): void;
|
|
@@ -42,6 +46,8 @@ export interface IMetricsListener$instance {
|
|
|
42
46
|
export type IMetricsListener = IMetricsListener$instance;
|
|
43
47
|
|
|
44
48
|
export interface IObservableInstrumentsSource$instance {
|
|
49
|
+
readonly __tsonic_iface_Microsoft_Extensions_Diagnostics_Metrics_IObservableInstrumentsSource: never;
|
|
50
|
+
|
|
45
51
|
RecordObservableInstruments(): void;
|
|
46
52
|
}
|
|
47
53
|
|
|
@@ -49,6 +55,8 @@ export interface IObservableInstrumentsSource$instance {
|
|
|
49
55
|
export type IObservableInstrumentsSource = IObservableInstrumentsSource$instance;
|
|
50
56
|
|
|
51
57
|
export interface InstrumentRule$instance {
|
|
58
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_Metrics_InstrumentRule: never;
|
|
59
|
+
|
|
52
60
|
readonly Enable: boolean;
|
|
53
61
|
readonly InstrumentName: string | undefined;
|
|
54
62
|
readonly ListenerName: string | undefined;
|
|
@@ -65,20 +73,22 @@ export const InstrumentRule: {
|
|
|
65
73
|
export type InstrumentRule = InstrumentRule$instance;
|
|
66
74
|
|
|
67
75
|
export interface MeasurementHandlers$instance {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
get
|
|
71
|
-
set
|
|
72
|
-
get
|
|
73
|
-
set
|
|
74
|
-
get
|
|
75
|
-
set
|
|
76
|
-
get
|
|
77
|
-
set
|
|
78
|
-
get
|
|
79
|
-
set
|
|
80
|
-
get
|
|
81
|
-
set
|
|
76
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_Metrics_MeasurementHandlers: never;
|
|
77
|
+
|
|
78
|
+
get ByteHandler(): MeasurementCallback_1<System_Internal.Byte> | undefined;
|
|
79
|
+
set ByteHandler(value: MeasurementCallback_1<System_Internal.Byte> | undefined);
|
|
80
|
+
get DecimalHandler(): MeasurementCallback_1<System_Internal.Decimal> | undefined;
|
|
81
|
+
set DecimalHandler(value: MeasurementCallback_1<System_Internal.Decimal> | undefined);
|
|
82
|
+
get DoubleHandler(): MeasurementCallback_1<System_Internal.Double> | undefined;
|
|
83
|
+
set DoubleHandler(value: MeasurementCallback_1<System_Internal.Double> | undefined);
|
|
84
|
+
get FloatHandler(): MeasurementCallback_1<System_Internal.Single> | undefined;
|
|
85
|
+
set FloatHandler(value: MeasurementCallback_1<System_Internal.Single> | undefined);
|
|
86
|
+
get IntHandler(): MeasurementCallback_1<System_Internal.Int32> | undefined;
|
|
87
|
+
set IntHandler(value: MeasurementCallback_1<System_Internal.Int32> | undefined);
|
|
88
|
+
get LongHandler(): MeasurementCallback_1<System_Internal.Int64> | undefined;
|
|
89
|
+
set LongHandler(value: MeasurementCallback_1<System_Internal.Int64> | undefined);
|
|
90
|
+
get ShortHandler(): MeasurementCallback_1<System_Internal.Int16> | undefined;
|
|
91
|
+
set ShortHandler(value: MeasurementCallback_1<System_Internal.Int16> | undefined);
|
|
82
92
|
}
|
|
83
93
|
|
|
84
94
|
|
|
@@ -90,7 +100,9 @@ export const MeasurementHandlers: {
|
|
|
90
100
|
export type MeasurementHandlers = MeasurementHandlers$instance;
|
|
91
101
|
|
|
92
102
|
export interface MetricsOptions$instance {
|
|
93
|
-
readonly
|
|
103
|
+
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_Metrics_MetricsOptions: never;
|
|
104
|
+
|
|
105
|
+
readonly Rules: IList_1<InstrumentRule>;
|
|
94
106
|
}
|
|
95
107
|
|
|
96
108
|
|
|
@@ -8,9 +8,11 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
10
|
import type { IConfiguration } from "../../Microsoft.Extensions.Configuration/internal/index.js";
|
|
11
|
-
import type { String as ClrString } from "@tsonic/dotnet/System.js";
|
|
11
|
+
import type { String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface IMetricListenerConfigurationFactory$instance {
|
|
14
|
+
readonly __tsonic_iface_Microsoft_Extensions_Diagnostics_Metrics_Configuration_IMetricListenerConfigurationFactory: never;
|
|
15
|
+
|
|
14
16
|
GetConfiguration(listenerName: string): IConfiguration;
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -9,23 +9,29 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { ExclusionFilters } from "../../Microsoft.Extensions.FileProviders.Physical/internal/index.js";
|
|
10
10
|
import * as Microsoft_Extensions_Primitives_Internal from "../../Microsoft.Extensions.Primitives/internal/index.js";
|
|
11
11
|
import type { IChangeToken } from "../../Microsoft.Extensions.Primitives/internal/index.js";
|
|
12
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
13
|
-
import type {
|
|
14
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
15
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
16
|
-
import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import type {
|
|
20
|
-
|
|
21
|
-
export interface IDirectoryContents$instance extends
|
|
12
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import type { IEnumerable_1, IEnumerator_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
15
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
16
|
+
import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
17
|
+
import type { Assembly } from "@tsonic/dotnet/System.Reflection/internal/index.js";
|
|
18
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { Action_1, Boolean as ClrBoolean, DateTimeOffset, IDisposable, Int64, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
20
|
+
|
|
21
|
+
export interface IDirectoryContents$instance extends IEnumerable_1<IFileInfo>, IEnumerable {
|
|
22
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IDirectoryContents: never;
|
|
23
|
+
|
|
22
24
|
readonly Exists: boolean;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
|
|
28
|
+
export interface IDirectoryContents$instance extends System_Collections_Generic_Internal.IEnumerable_1<IFileInfo> {}
|
|
29
|
+
|
|
26
30
|
export type IDirectoryContents = IDirectoryContents$instance;
|
|
27
31
|
|
|
28
32
|
export interface IFileInfo$instance {
|
|
33
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileInfo: never;
|
|
34
|
+
|
|
29
35
|
readonly Exists: boolean;
|
|
30
36
|
readonly Length: long;
|
|
31
37
|
readonly PhysicalPath: string;
|
|
@@ -39,6 +45,8 @@ export interface IFileInfo$instance {
|
|
|
39
45
|
export type IFileInfo = IFileInfo$instance;
|
|
40
46
|
|
|
41
47
|
export interface IFileProvider$instance {
|
|
48
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileProvider: never;
|
|
49
|
+
|
|
42
50
|
GetDirectoryContents(subpath: string): IDirectoryContents;
|
|
43
51
|
GetFileInfo(subpath: string): IFileInfo;
|
|
44
52
|
Watch(filter: string): IChangeToken;
|
|
@@ -47,8 +55,12 @@ export interface IFileProvider$instance {
|
|
|
47
55
|
|
|
48
56
|
export type IFileProvider = IFileProvider$instance;
|
|
49
57
|
|
|
50
|
-
export interface CompositeFileProvider$instance {
|
|
51
|
-
readonly
|
|
58
|
+
export interface CompositeFileProvider$instance extends IFileProvider$instance {
|
|
59
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_CompositeFileProvider: never;
|
|
60
|
+
|
|
61
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileProvider: never;
|
|
62
|
+
|
|
63
|
+
readonly FileProviders: IEnumerable_1<IFileProvider>;
|
|
52
64
|
GetDirectoryContents(subpath: string): IDirectoryContents;
|
|
53
65
|
GetFileInfo(subpath: string): IFileInfo;
|
|
54
66
|
Watch(pattern: string): IChangeToken;
|
|
@@ -57,7 +69,7 @@ export interface CompositeFileProvider$instance {
|
|
|
57
69
|
|
|
58
70
|
export const CompositeFileProvider: {
|
|
59
71
|
new(fileProviders: IFileProvider[]): CompositeFileProvider;
|
|
60
|
-
new(fileProviders:
|
|
72
|
+
new(fileProviders: IEnumerable_1<IFileProvider>): CompositeFileProvider;
|
|
61
73
|
};
|
|
62
74
|
|
|
63
75
|
|
|
@@ -65,12 +77,14 @@ export interface __CompositeFileProvider$views {
|
|
|
65
77
|
As_IFileProvider(): IFileProvider$instance;
|
|
66
78
|
}
|
|
67
79
|
|
|
68
|
-
export interface CompositeFileProvider$instance extends IFileProvider$instance {}
|
|
69
|
-
|
|
70
80
|
export type CompositeFileProvider = CompositeFileProvider$instance & __CompositeFileProvider$views;
|
|
71
81
|
|
|
72
82
|
|
|
73
|
-
export interface EmbeddedFileProvider$instance {
|
|
83
|
+
export interface EmbeddedFileProvider$instance extends IFileProvider$instance {
|
|
84
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_EmbeddedFileProvider: never;
|
|
85
|
+
|
|
86
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileProvider: never;
|
|
87
|
+
|
|
74
88
|
GetDirectoryContents(subpath: string): IDirectoryContents;
|
|
75
89
|
GetFileInfo(subpath: string): IFileInfo;
|
|
76
90
|
Watch(pattern: string): IChangeToken;
|
|
@@ -87,12 +101,14 @@ export interface __EmbeddedFileProvider$views {
|
|
|
87
101
|
As_IFileProvider(): IFileProvider$instance;
|
|
88
102
|
}
|
|
89
103
|
|
|
90
|
-
export interface EmbeddedFileProvider$instance extends IFileProvider$instance {}
|
|
91
|
-
|
|
92
104
|
export type EmbeddedFileProvider = EmbeddedFileProvider$instance & __EmbeddedFileProvider$views;
|
|
93
105
|
|
|
94
106
|
|
|
95
|
-
export interface ManifestEmbeddedFileProvider$instance {
|
|
107
|
+
export interface ManifestEmbeddedFileProvider$instance extends IFileProvider$instance {
|
|
108
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_ManifestEmbeddedFileProvider: never;
|
|
109
|
+
|
|
110
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileProvider: never;
|
|
111
|
+
|
|
96
112
|
readonly Assembly: Assembly;
|
|
97
113
|
GetDirectoryContents(subpath: string): IDirectoryContents;
|
|
98
114
|
GetFileInfo(subpath: string): IFileInfo;
|
|
@@ -112,14 +128,18 @@ export interface __ManifestEmbeddedFileProvider$views {
|
|
|
112
128
|
As_IFileProvider(): IFileProvider$instance;
|
|
113
129
|
}
|
|
114
130
|
|
|
115
|
-
export interface ManifestEmbeddedFileProvider$instance extends IFileProvider$instance {}
|
|
116
|
-
|
|
117
131
|
export type ManifestEmbeddedFileProvider = ManifestEmbeddedFileProvider$instance & __ManifestEmbeddedFileProvider$views;
|
|
118
132
|
|
|
119
133
|
|
|
120
|
-
export interface NotFoundDirectoryContents$instance {
|
|
134
|
+
export interface NotFoundDirectoryContents$instance extends IDirectoryContents$instance {
|
|
135
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_NotFoundDirectoryContents: never;
|
|
136
|
+
|
|
137
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IDirectoryContents: never;
|
|
138
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
139
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
140
|
+
|
|
121
141
|
readonly Exists: boolean;
|
|
122
|
-
GetEnumerator():
|
|
142
|
+
GetEnumerator(): IEnumerator_1<IFileInfo>;
|
|
123
143
|
}
|
|
124
144
|
|
|
125
145
|
|
|
@@ -133,12 +153,14 @@ export interface __NotFoundDirectoryContents$views {
|
|
|
133
153
|
As_IDirectoryContents(): IDirectoryContents$instance;
|
|
134
154
|
}
|
|
135
155
|
|
|
136
|
-
export interface NotFoundDirectoryContents$instance extends IDirectoryContents$instance {}
|
|
137
|
-
|
|
138
156
|
export type NotFoundDirectoryContents = NotFoundDirectoryContents$instance & __NotFoundDirectoryContents$views;
|
|
139
157
|
|
|
140
158
|
|
|
141
|
-
export interface NotFoundFileInfo$instance {
|
|
159
|
+
export interface NotFoundFileInfo$instance extends IFileInfo$instance {
|
|
160
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_NotFoundFileInfo: never;
|
|
161
|
+
|
|
162
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileInfo: never;
|
|
163
|
+
|
|
142
164
|
readonly Exists: boolean;
|
|
143
165
|
readonly IsDirectory: boolean;
|
|
144
166
|
readonly LastModified: DateTimeOffset;
|
|
@@ -158,15 +180,17 @@ export interface __NotFoundFileInfo$views {
|
|
|
158
180
|
As_IFileInfo(): IFileInfo$instance;
|
|
159
181
|
}
|
|
160
182
|
|
|
161
|
-
export interface NotFoundFileInfo$instance extends IFileInfo$instance {}
|
|
162
|
-
|
|
163
183
|
export type NotFoundFileInfo = NotFoundFileInfo$instance & __NotFoundFileInfo$views;
|
|
164
184
|
|
|
165
185
|
|
|
166
|
-
export interface NullChangeToken$instance {
|
|
186
|
+
export interface NullChangeToken$instance extends Microsoft_Extensions_Primitives_Internal.IChangeToken$instance {
|
|
187
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_NullChangeToken: never;
|
|
188
|
+
|
|
189
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
190
|
+
|
|
167
191
|
readonly ActiveChangeCallbacks: boolean;
|
|
168
192
|
readonly HasChanged: boolean;
|
|
169
|
-
RegisterChangeCallback(callback:
|
|
193
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
170
194
|
}
|
|
171
195
|
|
|
172
196
|
|
|
@@ -179,12 +203,14 @@ export interface __NullChangeToken$views {
|
|
|
179
203
|
As_IChangeToken(): Microsoft_Extensions_Primitives_Internal.IChangeToken$instance;
|
|
180
204
|
}
|
|
181
205
|
|
|
182
|
-
export interface NullChangeToken$instance extends Microsoft_Extensions_Primitives_Internal.IChangeToken$instance {}
|
|
183
|
-
|
|
184
206
|
export type NullChangeToken = NullChangeToken$instance & __NullChangeToken$views;
|
|
185
207
|
|
|
186
208
|
|
|
187
|
-
export interface NullFileProvider$instance {
|
|
209
|
+
export interface NullFileProvider$instance extends IFileProvider$instance {
|
|
210
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_NullFileProvider: never;
|
|
211
|
+
|
|
212
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileProvider: never;
|
|
213
|
+
|
|
188
214
|
GetDirectoryContents(subpath: string): IDirectoryContents;
|
|
189
215
|
GetFileInfo(subpath: string): IFileInfo;
|
|
190
216
|
Watch(filter: string): IChangeToken;
|
|
@@ -200,12 +226,15 @@ export interface __NullFileProvider$views {
|
|
|
200
226
|
As_IFileProvider(): IFileProvider$instance;
|
|
201
227
|
}
|
|
202
228
|
|
|
203
|
-
export interface NullFileProvider$instance extends IFileProvider$instance {}
|
|
204
|
-
|
|
205
229
|
export type NullFileProvider = NullFileProvider$instance & __NullFileProvider$views;
|
|
206
230
|
|
|
207
231
|
|
|
208
|
-
export interface PhysicalFileProvider$instance {
|
|
232
|
+
export interface PhysicalFileProvider$instance extends IFileProvider$instance, System_Internal.IDisposable {
|
|
233
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_PhysicalFileProvider: never;
|
|
234
|
+
|
|
235
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileProvider: never;
|
|
236
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
237
|
+
|
|
209
238
|
readonly Root: string;
|
|
210
239
|
UseActivePolling: boolean;
|
|
211
240
|
UsePollingFileWatcher: boolean;
|
|
@@ -227,8 +256,6 @@ export interface __PhysicalFileProvider$views {
|
|
|
227
256
|
As_IFileProvider(): IFileProvider$instance;
|
|
228
257
|
}
|
|
229
258
|
|
|
230
|
-
export interface PhysicalFileProvider$instance extends IFileProvider$instance {}
|
|
231
|
-
|
|
232
259
|
export type PhysicalFileProvider = PhysicalFileProvider$instance & __PhysicalFileProvider$views;
|
|
233
260
|
|
|
234
261
|
|
|
@@ -8,21 +8,27 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Microsoft_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
10
10
|
import type { IDirectoryContents, IFileInfo, IFileProvider } from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
11
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
12
|
-
import type {
|
|
13
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
14
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
15
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
16
|
-
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
17
|
-
|
|
18
|
-
export interface CompositeDirectoryContents$instance {
|
|
11
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import type { IEnumerable_1, IEnumerator_1, IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
14
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
15
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
|
|
18
|
+
export interface CompositeDirectoryContents$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance {
|
|
19
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Composite_CompositeDirectoryContents: never;
|
|
20
|
+
|
|
21
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IDirectoryContents: never;
|
|
22
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
23
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
24
|
+
|
|
19
25
|
readonly Exists: boolean;
|
|
20
|
-
GetEnumerator():
|
|
26
|
+
GetEnumerator(): IEnumerator_1<IFileInfo>;
|
|
21
27
|
}
|
|
22
28
|
|
|
23
29
|
|
|
24
30
|
export const CompositeDirectoryContents: {
|
|
25
|
-
new(fileProviders:
|
|
31
|
+
new(fileProviders: IList_1<IFileProvider>, subpath: string): CompositeDirectoryContents;
|
|
26
32
|
};
|
|
27
33
|
|
|
28
34
|
|
|
@@ -30,8 +36,6 @@ export interface __CompositeDirectoryContents$views {
|
|
|
30
36
|
As_IDirectoryContents(): Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance;
|
|
31
37
|
}
|
|
32
38
|
|
|
33
|
-
export interface CompositeDirectoryContents$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance {}
|
|
34
|
-
|
|
35
39
|
export type CompositeDirectoryContents = CompositeDirectoryContents$instance & __CompositeDirectoryContents$views;
|
|
36
40
|
|
|
37
41
|
|