@tsonic/microsoft-extensions 10.0.40 → 10.0.42
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 +11 -10
- package/Microsoft.Extensions.Caching.Distributed.d.ts +4 -0
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +12 -14
- package/Microsoft.Extensions.Caching.Hybrid.d.ts +5 -1
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +32 -34
- package/Microsoft.Extensions.Caching.Memory.d.ts +4 -0
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +72 -74
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +7 -6
- package/Microsoft.Extensions.Configuration.CommandLine.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +7 -6
- package/Microsoft.Extensions.Configuration.EnvironmentVariables.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.Ini.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.Configuration.Json.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.KeyPerFile.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.Memory.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Configuration.UserSecrets.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +7 -6
- package/Microsoft.Extensions.Configuration.Xml.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.d.ts +4 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +132 -131
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +29 -28
- package/Microsoft.Extensions.DependencyInjection.Extensions.d.ts +4 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +7 -3
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +20 -19
- package/Microsoft.Extensions.Diagnostics.HealthChecks.d.ts +4 -0
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +31 -33
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration.d.ts +4 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Composite.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Embedded.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Internal.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.FileProviders.Physical.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +9 -8
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +9 -8
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +230 -230
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +50 -49
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +6 -2
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.d.ts +4 -0
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +31 -30
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Hosting.Internal.d.ts +4 -0
- package/Microsoft.Extensions.Hosting.d.ts +4 -0
- package/Microsoft.Extensions.Http/internal/index.d.ts +7 -6
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +11 -10
- package/Microsoft.Extensions.Http.Logging.d.ts +4 -0
- package/Microsoft.Extensions.Http.d.ts +5 -1
- package/Microsoft.Extensions.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Internal.d.ts +4 -0
- package/Microsoft.Extensions.Localization/internal/index.d.ts +18 -17
- package/Microsoft.Extensions.Localization.d.ts +6 -2
- package/Microsoft.Extensions.Logging/internal/index.d.ts +91 -88
- package/Microsoft.Extensions.Logging.Abstractions/bindings.json +4 -1
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +20 -19
- package/Microsoft.Extensions.Logging.Abstractions.d.ts +6 -2
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +10 -9
- package/Microsoft.Extensions.Logging.Configuration.d.ts +5 -1
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +15 -17
- package/Microsoft.Extensions.Logging.Console.d.ts +4 -0
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.Debug.d.ts +4 -0
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +12 -11
- package/Microsoft.Extensions.Logging.EventLog.d.ts +4 -0
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.EventSource.d.ts +4 -0
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.Logging.TraceSource.d.ts +4 -0
- package/Microsoft.Extensions.Logging.d.ts +6 -2
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +31 -30
- package/Microsoft.Extensions.ObjectPool.d.ts +7 -3
- package/Microsoft.Extensions.Options/internal/index.d.ts +239 -238
- package/Microsoft.Extensions.Options.d.ts +50 -46
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +30 -32
- package/Microsoft.Extensions.Primitives.d.ts +5 -1
- package/Microsoft.Extensions.Validation/internal/index.d.ts +14 -16
- package/Microsoft.Extensions.Validation.d.ts +4 -0
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +2 -4
- package/Microsoft.Extensions.WebEncoders.Testing.d.ts +4 -0
- package/Microsoft.Extensions.WebEncoders.d.ts +4 -0
- package/README.md +53 -15
- package/System.Diagnostics/internal/index.d.ts +3 -2
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +3 -2
- package/System.Diagnostics.Eventing.Reader.d.ts +4 -0
- package/System.Diagnostics.d.ts +4 -0
- package/System.Net.Http/internal/index.d.ts +3 -2
- package/System.Net.Http.d.ts +4 -0
- package/System.Security.Cryptography/internal/index.d.ts +4 -3
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +44 -46
- package/System.Security.Cryptography.Pkcs.d.ts +4 -0
- package/System.Security.Cryptography.Xml/bindings.json +404 -404
- package/System.Security.Cryptography.Xml/internal/index.d.ts +117 -119
- package/System.Security.Cryptography.Xml.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/__internal/extensions/index.d.ts +212 -214
- package/package.json +3 -3
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.DependencyInjection.Extensions/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IServiceCollection, ServiceDescriptor } from './Microsoft.Extensions.DependencyInjection/internal/index.js';
|
|
10
14
|
import type { IEnumerable } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.DependencyInjection/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { MemoryCacheOptions, MemoryDistributedCacheOptions } from './Microsoft.Extensions.Caching.Memory/internal/index.js';
|
|
10
14
|
import type { BinderOptions, IConfiguration } from './Microsoft.Extensions.Configuration/internal/index.js';
|
|
@@ -39,7 +43,7 @@ export { FromKeyedServicesAttribute as FromKeyedServicesAttribute } from './Micr
|
|
|
39
43
|
export type IKeyedServiceProvider = Internal.IKeyedServiceProvider;
|
|
40
44
|
export { KeyedService$instance as KeyedService } from './Microsoft.Extensions.DependencyInjection/internal/index.js';
|
|
41
45
|
export type IServiceCollection = Internal.IServiceCollection;
|
|
42
|
-
export type IServiceProviderFactory<TContainerBuilder> = Internal.IServiceProviderFactory_1<TContainerBuilder>;
|
|
46
|
+
export type IServiceProviderFactory<TContainerBuilder extends unknown> = Internal.IServiceProviderFactory_1<TContainerBuilder>;
|
|
43
47
|
export type IServiceProviderIsKeyedService = Internal.IServiceProviderIsKeyedService;
|
|
44
48
|
export type IServiceProviderIsService = Internal.IServiceProviderIsService;
|
|
45
49
|
export type IServiceScope = Internal.IServiceScope;
|
|
@@ -81,10 +85,10 @@ declare const __unspecified: unique symbol;
|
|
|
81
85
|
export type __ = typeof __unspecified;
|
|
82
86
|
|
|
83
87
|
export type ObjectFactory<
|
|
84
|
-
T1 = __,
|
|
88
|
+
T1 extends unknown | __ = __,
|
|
85
89
|
> =
|
|
86
90
|
[T1] extends [__] ? ((() => void) | Internal.ObjectFactory) :
|
|
87
|
-
(((arg1: T1) => void) | Internal.ObjectFactory_1<T1>);
|
|
91
|
+
[T1] extends [unknown] ? (((arg1: T1) => void) | Internal.ObjectFactory_1<T1>) : never;
|
|
88
92
|
|
|
89
93
|
// Extension methods (C# using semantics)
|
|
90
94
|
export type { ExtensionMethods_Microsoft_Extensions_DependencyInjection as ExtensionMethods } from './__internal/extensions/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Diagnostics.HealthChecks
|
|
3
3
|
// Assembly: Microsoft.Extensions.Diagnostics.HealthChecks, Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { 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 { ICollection_1, IEnumerable_1, IReadOnlyDictionary_2, ISet_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
@@ -41,17 +42,17 @@ export interface HealthCheckResult$instance {
|
|
|
41
42
|
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckResult: never;
|
|
42
43
|
|
|
43
44
|
readonly Data: IReadOnlyDictionary_2<System_Internal.String, unknown>;
|
|
44
|
-
readonly Description: string |
|
|
45
|
-
readonly Exception: Exception |
|
|
45
|
+
readonly Description: string | null;
|
|
46
|
+
readonly Exception: Exception | null;
|
|
46
47
|
readonly Status: HealthStatus;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
|
|
50
51
|
export const HealthCheckResult: {
|
|
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;
|
|
52
|
+
new(status: HealthStatus, description: string | null, exception: Exception | null, data: IReadOnlyDictionary_2<System_Internal.String, unknown> | null): HealthCheckResult;
|
|
53
|
+
Degraded(description?: string | null, exception?: Exception | null, data?: IReadOnlyDictionary_2<System_Internal.String, unknown> | null): HealthCheckResult;
|
|
54
|
+
Healthy(description?: string | null, data?: IReadOnlyDictionary_2<System_Internal.String, unknown> | null): HealthCheckResult;
|
|
55
|
+
Unhealthy(description?: string | null, exception?: Exception | null, data?: IReadOnlyDictionary_2<System_Internal.String, unknown> | null): HealthCheckResult;
|
|
55
56
|
};
|
|
56
57
|
|
|
57
58
|
|
|
@@ -61,17 +62,17 @@ export interface HealthReportEntry$instance {
|
|
|
61
62
|
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthReportEntry: never;
|
|
62
63
|
|
|
63
64
|
readonly Data: IReadOnlyDictionary_2<System_Internal.String, unknown>;
|
|
64
|
-
readonly Description: string |
|
|
65
|
+
readonly Description: string | null;
|
|
65
66
|
readonly Duration: TimeSpan;
|
|
66
|
-
readonly Exception: Exception |
|
|
67
|
+
readonly Exception: Exception | null;
|
|
67
68
|
readonly Status: HealthStatus;
|
|
68
69
|
readonly Tags: IEnumerable_1<System_Internal.String>;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
|
|
72
73
|
export const HealthReportEntry: {
|
|
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
|
|
74
|
+
new(status: HealthStatus, description: string | null, duration: TimeSpan, exception: Exception | null, data: IReadOnlyDictionary_2<System_Internal.String, unknown> | null): HealthReportEntry;
|
|
75
|
+
new(status: HealthStatus, description: string | null, duration: TimeSpan, exception: Exception | null, data: IReadOnlyDictionary_2<System_Internal.String, unknown> | null, tags: IEnumerable_1<System_Internal.String> | null): HealthReportEntry;
|
|
75
76
|
};
|
|
76
77
|
|
|
77
78
|
|
|
@@ -96,8 +97,8 @@ export interface HealthCheckPublisherOptions$instance {
|
|
|
96
97
|
|
|
97
98
|
Delay: TimeSpan;
|
|
98
99
|
Period: TimeSpan;
|
|
99
|
-
get Predicate(): Func_2<HealthCheckRegistration, System_Internal.Boolean> |
|
|
100
|
-
set Predicate(value: Func_2<HealthCheckRegistration, System_Internal.Boolean> |
|
|
100
|
+
get Predicate(): Func_2<HealthCheckRegistration, System_Internal.Boolean> | null;
|
|
101
|
+
set Predicate(value: Func_2<HealthCheckRegistration, System_Internal.Boolean> | null);
|
|
101
102
|
Timeout: TimeSpan;
|
|
102
103
|
}
|
|
103
104
|
|
|
@@ -125,10 +126,10 @@ export interface HealthCheckRegistration$instance {
|
|
|
125
126
|
|
|
126
127
|
|
|
127
128
|
export const HealthCheckRegistration: {
|
|
128
|
-
new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): HealthCheckRegistration;
|
|
129
|
-
new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String
|
|
130
|
-
new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): HealthCheckRegistration;
|
|
131
|
-
new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String
|
|
129
|
+
new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null): HealthCheckRegistration;
|
|
130
|
+
new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
|
|
131
|
+
new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null): HealthCheckRegistration;
|
|
132
|
+
new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
|
|
132
133
|
};
|
|
133
134
|
|
|
134
135
|
|
|
@@ -138,7 +139,7 @@ export interface HealthCheckService$instance {
|
|
|
138
139
|
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckService: never;
|
|
139
140
|
|
|
140
141
|
CheckHealthAsync(cancellationToken?: CancellationToken): Task_1<HealthReport>;
|
|
141
|
-
CheckHealthAsync(predicate: Func_2<HealthCheckRegistration, System_Internal.Boolean
|
|
142
|
+
CheckHealthAsync(predicate: Func_2<HealthCheckRegistration, System_Internal.Boolean> | null, cancellationToken?: CancellationToken): Task_1<HealthReport>;
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ICollection, IEnumerable, IReadOnlyDictionary, ISet } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
14
|
import type { Boolean as ClrBoolean, Enum, Exception, Func, IComparable, IConvertible, IFormattable, Int32, IServiceProvider, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, TimeSpan, ValueType } from '@tsonic/dotnet/System.js';
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Diagnostics.Metrics
|
|
3
3
|
// Assembly: Microsoft.Extensions.Diagnostics, Microsoft.Extensions.Diagnostics.Abstractions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { 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 { IConfiguration } from "../../Microsoft.Extensions.Configuration/internal/index.js";
|
|
@@ -38,8 +36,8 @@ export interface IMetricsListener$instance {
|
|
|
38
36
|
readonly Name: string;
|
|
39
37
|
GetMeasurementHandlers(): MeasurementHandlers;
|
|
40
38
|
Initialize(source: IObservableInstrumentsSource): void;
|
|
41
|
-
InstrumentPublished(instrument: Instrument, userState: unknown): boolean;
|
|
42
|
-
MeasurementsCompleted(instrument: Instrument, userState: unknown): void;
|
|
39
|
+
InstrumentPublished(instrument: Instrument, userState: unknown | null): boolean;
|
|
40
|
+
MeasurementsCompleted(instrument: Instrument, userState: unknown | null): void;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
|
|
@@ -58,15 +56,15 @@ export interface InstrumentRule$instance {
|
|
|
58
56
|
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_Metrics_InstrumentRule: never;
|
|
59
57
|
|
|
60
58
|
readonly Enable: boolean;
|
|
61
|
-
readonly InstrumentName: string |
|
|
62
|
-
readonly ListenerName: string |
|
|
63
|
-
readonly MeterName: string |
|
|
59
|
+
readonly InstrumentName: string | null;
|
|
60
|
+
readonly ListenerName: string | null;
|
|
61
|
+
readonly MeterName: string | null;
|
|
64
62
|
readonly Scopes: MeterScope;
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
|
|
68
66
|
export const InstrumentRule: {
|
|
69
|
-
new(meterName: string, instrumentName: string, listenerName: string, scopes: MeterScope, enable: boolean): InstrumentRule;
|
|
67
|
+
new(meterName: string | null, instrumentName: string | null, listenerName: string | null, scopes: MeterScope, enable: boolean): InstrumentRule;
|
|
70
68
|
};
|
|
71
69
|
|
|
72
70
|
|
|
@@ -75,20 +73,20 @@ export type InstrumentRule = InstrumentRule$instance;
|
|
|
75
73
|
export interface MeasurementHandlers$instance {
|
|
76
74
|
readonly __tsonic_type_Microsoft_Extensions_Diagnostics_Metrics_MeasurementHandlers: never;
|
|
77
75
|
|
|
78
|
-
get ByteHandler(): MeasurementCallback_1<System_Internal.Byte> |
|
|
79
|
-
set ByteHandler(value: MeasurementCallback_1<System_Internal.Byte> |
|
|
80
|
-
get DecimalHandler(): MeasurementCallback_1<System_Internal.Decimal> |
|
|
81
|
-
set DecimalHandler(value: MeasurementCallback_1<System_Internal.Decimal> |
|
|
82
|
-
get DoubleHandler(): MeasurementCallback_1<System_Internal.Double> |
|
|
83
|
-
set DoubleHandler(value: MeasurementCallback_1<System_Internal.Double> |
|
|
84
|
-
get FloatHandler(): MeasurementCallback_1<System_Internal.Single> |
|
|
85
|
-
set FloatHandler(value: MeasurementCallback_1<System_Internal.Single> |
|
|
86
|
-
get IntHandler(): MeasurementCallback_1<System_Internal.Int32> |
|
|
87
|
-
set IntHandler(value: MeasurementCallback_1<System_Internal.Int32> |
|
|
88
|
-
get LongHandler(): MeasurementCallback_1<System_Internal.Int64> |
|
|
89
|
-
set LongHandler(value: MeasurementCallback_1<System_Internal.Int64> |
|
|
90
|
-
get ShortHandler(): MeasurementCallback_1<System_Internal.Int16> |
|
|
91
|
-
set ShortHandler(value: MeasurementCallback_1<System_Internal.Int16> |
|
|
76
|
+
get ByteHandler(): MeasurementCallback_1<System_Internal.Byte> | null;
|
|
77
|
+
set ByteHandler(value: MeasurementCallback_1<System_Internal.Byte> | null);
|
|
78
|
+
get DecimalHandler(): MeasurementCallback_1<System_Internal.Decimal> | null;
|
|
79
|
+
set DecimalHandler(value: MeasurementCallback_1<System_Internal.Decimal> | null);
|
|
80
|
+
get DoubleHandler(): MeasurementCallback_1<System_Internal.Double> | null;
|
|
81
|
+
set DoubleHandler(value: MeasurementCallback_1<System_Internal.Double> | null);
|
|
82
|
+
get FloatHandler(): MeasurementCallback_1<System_Internal.Single> | null;
|
|
83
|
+
set FloatHandler(value: MeasurementCallback_1<System_Internal.Single> | null);
|
|
84
|
+
get IntHandler(): MeasurementCallback_1<System_Internal.Int32> | null;
|
|
85
|
+
set IntHandler(value: MeasurementCallback_1<System_Internal.Int32> | null);
|
|
86
|
+
get LongHandler(): MeasurementCallback_1<System_Internal.Int64> | null;
|
|
87
|
+
set LongHandler(value: MeasurementCallback_1<System_Internal.Int64> | null);
|
|
88
|
+
get ShortHandler(): MeasurementCallback_1<System_Internal.Int16> | null;
|
|
89
|
+
set ShortHandler(value: MeasurementCallback_1<System_Internal.Int16> | null);
|
|
92
90
|
}
|
|
93
91
|
|
|
94
92
|
|
|
@@ -136,16 +134,16 @@ export type MetricsBuilderConsoleExtensions = MetricsBuilderConsoleExtensions$in
|
|
|
136
134
|
|
|
137
135
|
export abstract class MetricsBuilderExtensions$instance {
|
|
138
136
|
static AddListener(builder: IMetricsBuilder, listener: IMetricsListener): IMetricsBuilder;
|
|
139
|
-
static AddListener<T extends IMetricsListener>(builder: IMetricsBuilder): IMetricsBuilder;
|
|
137
|
+
static AddListener<T extends (object | null) & IMetricsListener>(builder: IMetricsBuilder): IMetricsBuilder;
|
|
140
138
|
static ClearListeners(builder: IMetricsBuilder): IMetricsBuilder;
|
|
141
|
-
static DisableMetrics(builder: IMetricsBuilder, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): IMetricsBuilder;
|
|
142
|
-
static DisableMetrics(builder: IMetricsBuilder, meterName: string): IMetricsBuilder;
|
|
143
|
-
static DisableMetrics(options: MetricsOptions, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): MetricsOptions;
|
|
144
|
-
static DisableMetrics(options: MetricsOptions, meterName: string): MetricsOptions;
|
|
145
|
-
static EnableMetrics(builder: IMetricsBuilder, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): IMetricsBuilder;
|
|
146
|
-
static EnableMetrics(builder: IMetricsBuilder, meterName: string): IMetricsBuilder;
|
|
147
|
-
static EnableMetrics(options: MetricsOptions, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): MetricsOptions;
|
|
148
|
-
static EnableMetrics(options: MetricsOptions, meterName: string): MetricsOptions;
|
|
139
|
+
static DisableMetrics(builder: IMetricsBuilder, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): IMetricsBuilder;
|
|
140
|
+
static DisableMetrics(builder: IMetricsBuilder, meterName: string | null): IMetricsBuilder;
|
|
141
|
+
static DisableMetrics(options: MetricsOptions, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): MetricsOptions;
|
|
142
|
+
static DisableMetrics(options: MetricsOptions, meterName: string | null): MetricsOptions;
|
|
143
|
+
static EnableMetrics(builder: IMetricsBuilder, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): IMetricsBuilder;
|
|
144
|
+
static EnableMetrics(builder: IMetricsBuilder, meterName: string | null): IMetricsBuilder;
|
|
145
|
+
static EnableMetrics(options: MetricsOptions, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): MetricsOptions;
|
|
146
|
+
static EnableMetrics(options: MetricsOptions, meterName: string | null): MetricsOptions;
|
|
149
147
|
}
|
|
150
148
|
|
|
151
149
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Diagnostics.Metrics.Configuration
|
|
3
3
|
// Assembly: Microsoft.Extensions.Diagnostics
|
|
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 { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IConfiguration } from './Microsoft.Extensions.Configuration/internal/index.js';
|
|
10
14
|
import type { String as ClrString } from '@tsonic/dotnet/System.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Diagnostics.Metrics/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IConfiguration } from './Microsoft.Extensions.Configuration/internal/index.js';
|
|
10
14
|
import type { IServiceCollection } from './Microsoft.Extensions.DependencyInjection/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileProviders
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Composite, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileProviders.Physical
|
|
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 { 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 { ExclusionFilters } from "../../Microsoft.Extensions.FileProviders.Physical/internal/index.js";
|
|
@@ -68,7 +69,7 @@ export interface CompositeFileProvider$instance extends IFileProvider$instance {
|
|
|
68
69
|
|
|
69
70
|
|
|
70
71
|
export const CompositeFileProvider: {
|
|
71
|
-
new(fileProviders: IFileProvider[]): CompositeFileProvider;
|
|
72
|
+
new(fileProviders: IFileProvider[] | null): CompositeFileProvider;
|
|
72
73
|
new(fileProviders: IEnumerable_1<IFileProvider>): CompositeFileProvider;
|
|
73
74
|
};
|
|
74
75
|
|
|
@@ -93,7 +94,7 @@ export interface EmbeddedFileProvider$instance extends IFileProvider$instance {
|
|
|
93
94
|
|
|
94
95
|
export const EmbeddedFileProvider: {
|
|
95
96
|
new(assembly: Assembly): EmbeddedFileProvider;
|
|
96
|
-
new(assembly: Assembly, baseNamespace: string): EmbeddedFileProvider;
|
|
97
|
+
new(assembly: Assembly, baseNamespace: string | null): EmbeddedFileProvider;
|
|
97
98
|
};
|
|
98
99
|
|
|
99
100
|
|
|
@@ -190,7 +191,7 @@ export interface NullChangeToken$instance extends Microsoft_Extensions_Primitive
|
|
|
190
191
|
|
|
191
192
|
readonly ActiveChangeCallbacks: boolean;
|
|
192
193
|
readonly HasChanged: boolean;
|
|
193
|
-
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
194
|
+
RegisterChangeCallback(callback: Action_1<unknown | null>, state: unknown | null): IDisposable;
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileProviders.Composite
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileProviders.Composite
|
|
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 { 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_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.FileProviders.Composite/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IDirectoryContents, IFileInfo, IFileProvider } from './Microsoft.Extensions.FileProviders/internal/index.js';
|
|
10
14
|
import type { IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator, IList } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileProviders.Embedded
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileProviders.Embedded
|
|
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 { 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_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.FileProviders.Embedded/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IFileInfo } from './Microsoft.Extensions.FileProviders/internal/index.js';
|
|
10
14
|
import type { Stream } from '@tsonic/dotnet/System.IO.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileProviders.Internal
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileProviders.Physical
|
|
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 { 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 { ExclusionFilters } from "../../Microsoft.Extensions.FileProviders.Physical/internal/index.js";
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.FileProviders.Internal/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ExclusionFilters } from './Microsoft.Extensions.FileProviders.Physical/internal/index.js';
|
|
10
14
|
import type { IDirectoryContents, IFileInfo } from './Microsoft.Extensions.FileProviders/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileProviders.Physical
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileProviders.Physical
|
|
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 { 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_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
@@ -98,8 +99,8 @@ export interface PhysicalFilesWatcher$instance {
|
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
export const PhysicalFilesWatcher: {
|
|
101
|
-
new(root: string, fileSystemWatcher: FileSystemWatcher, pollForChanges: boolean): PhysicalFilesWatcher;
|
|
102
|
-
new(root: string, fileSystemWatcher: FileSystemWatcher, pollForChanges: boolean, filters: ExclusionFilters): PhysicalFilesWatcher;
|
|
102
|
+
new(root: string, fileSystemWatcher: FileSystemWatcher | null, pollForChanges: boolean): PhysicalFilesWatcher;
|
|
103
|
+
new(root: string, fileSystemWatcher: FileSystemWatcher | null, pollForChanges: boolean, filters: ExclusionFilters): PhysicalFilesWatcher;
|
|
103
104
|
};
|
|
104
105
|
|
|
105
106
|
|
|
@@ -113,7 +114,7 @@ export interface PollingFileChangeToken$instance {
|
|
|
113
114
|
|
|
114
115
|
ActiveChangeCallbacks: boolean;
|
|
115
116
|
readonly HasChanged: boolean;
|
|
116
|
-
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
117
|
+
RegisterChangeCallback(callback: Action_1<unknown | null>, state: unknown | null): IDisposable;
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.FileProviders.Physical/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IDirectoryContents, IFileInfo } from './Microsoft.Extensions.FileProviders/internal/index.js';
|
|
10
14
|
import type { IChangeToken } from './Microsoft.Extensions.Primitives/internal/index.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.FileProviders/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ExclusionFilters } from './Microsoft.Extensions.FileProviders.Physical/internal/index.js';
|
|
10
14
|
import type { IChangeToken } from './Microsoft.Extensions.Primitives/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileSystemGlobbing
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileSystemGlobbing
|
|
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 { 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_Extensions_FileSystemGlobbing_Abstractions_Internal from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
|
|
@@ -20,7 +21,7 @@ export interface FilePatternMatch$instance {
|
|
|
20
21
|
readonly Path: string;
|
|
21
22
|
readonly Stem: string;
|
|
22
23
|
Equals(other: FilePatternMatch): boolean;
|
|
23
|
-
Equals(obj: unknown): boolean;
|
|
24
|
+
Equals(obj: unknown | null): boolean;
|
|
24
25
|
GetHashCode(): int;
|
|
25
26
|
}
|
|
26
27
|
|
|
@@ -37,15 +38,15 @@ export interface InMemoryDirectoryInfo$instance extends DirectoryInfoBase {
|
|
|
37
38
|
|
|
38
39
|
readonly FullName: string;
|
|
39
40
|
readonly Name: string;
|
|
40
|
-
readonly ParentDirectory: DirectoryInfoBase |
|
|
41
|
+
readonly ParentDirectory: DirectoryInfoBase | null;
|
|
41
42
|
EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
|
|
42
43
|
GetDirectory(path: string): DirectoryInfoBase;
|
|
43
|
-
GetFile(path: string): FileInfoBase |
|
|
44
|
+
GetFile(path: string): FileInfoBase | null;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
export const InMemoryDirectoryInfo: {
|
|
48
|
-
new(rootDir: string, files: IEnumerable_1<System_Internal.String>): InMemoryDirectoryInfo;
|
|
49
|
+
new(rootDir: string, files: IEnumerable_1<System_Internal.String> | null): InMemoryDirectoryInfo;
|
|
49
50
|
};
|
|
50
51
|
|
|
51
52
|
|
|
@@ -89,8 +90,8 @@ export abstract class MatcherExtensions$instance {
|
|
|
89
90
|
static AddExcludePatterns(matcher: Matcher, ...excludePatternsGroups: IEnumerable_1<System_Internal.String>[]): void;
|
|
90
91
|
static AddIncludePatterns(matcher: Matcher, ...includePatternsGroups: IEnumerable_1<System_Internal.String>[]): void;
|
|
91
92
|
static GetResultsInFullPath(matcher: Matcher, directoryPath: string): IEnumerable_1<System_Internal.String>;
|
|
92
|
-
static Match(matcher: Matcher, files: IEnumerable_1<System_Internal.String>): PatternMatchingResult;
|
|
93
|
-
static Match(matcher: Matcher, rootDir: string, files: IEnumerable_1<System_Internal.String>): PatternMatchingResult;
|
|
93
|
+
static Match(matcher: Matcher, files: IEnumerable_1<System_Internal.String> | null): PatternMatchingResult;
|
|
94
|
+
static Match(matcher: Matcher, rootDir: string, files: IEnumerable_1<System_Internal.String> | null): PatternMatchingResult;
|
|
94
95
|
static Match(matcher: Matcher, rootDir: string, file: string): PatternMatchingResult;
|
|
95
96
|
static Match(matcher: Matcher, file: string): PatternMatchingResult;
|
|
96
97
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileSystemGlobbing.Abstractions
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileSystemGlobbing
|
|
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 { 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 { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
@@ -15,8 +16,8 @@ export interface DirectoryInfoBase$instance extends FileSystemInfoBase {
|
|
|
15
16
|
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Abstractions_DirectoryInfoBase: never;
|
|
16
17
|
|
|
17
18
|
EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
|
|
18
|
-
GetDirectory(path: string): DirectoryInfoBase |
|
|
19
|
-
GetFile(path: string): FileInfoBase |
|
|
19
|
+
GetDirectory(path: string): DirectoryInfoBase | null;
|
|
20
|
+
GetFile(path: string): FileInfoBase | null;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
|
|
@@ -31,9 +32,9 @@ export interface DirectoryInfoWrapper$instance extends DirectoryInfoBase {
|
|
|
31
32
|
|
|
32
33
|
readonly FullName: string;
|
|
33
34
|
readonly Name: string;
|
|
34
|
-
readonly ParentDirectory: DirectoryInfoBase |
|
|
35
|
+
readonly ParentDirectory: DirectoryInfoBase | null;
|
|
35
36
|
EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
|
|
36
|
-
GetDirectory(name: string): DirectoryInfoBase |
|
|
37
|
+
GetDirectory(name: string): DirectoryInfoBase | null;
|
|
37
38
|
GetFile(name: string): FileInfoBase;
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -62,7 +63,7 @@ export interface FileInfoWrapper$instance extends FileInfoBase {
|
|
|
62
63
|
|
|
63
64
|
readonly FullName: string;
|
|
64
65
|
readonly Name: string;
|
|
65
|
-
readonly ParentDirectory: DirectoryInfoBase |
|
|
66
|
+
readonly ParentDirectory: DirectoryInfoBase | null;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
|
|
@@ -78,7 +79,7 @@ export interface FileSystemInfoBase$instance {
|
|
|
78
79
|
|
|
79
80
|
readonly FullName: string;
|
|
80
81
|
readonly Name: string;
|
|
81
|
-
readonly ParentDirectory: DirectoryInfoBase |
|
|
82
|
+
readonly ParentDirectory: DirectoryInfoBase | null;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IEnumerable } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
14
|
import type { DirectoryInfo, FileInfo } from '@tsonic/dotnet/System.IO.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.FileSystemGlobbing.Internal
|
|
3
3
|
// Assembly: Microsoft.Extensions.FileSystemGlobbing
|
|
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 { 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 { DirectoryInfoBase, FileInfoBase } from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
|
|
@@ -75,14 +76,14 @@ export interface PatternTestResult$instance {
|
|
|
75
76
|
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternTestResult: never;
|
|
76
77
|
|
|
77
78
|
readonly IsSuccessful: boolean;
|
|
78
|
-
readonly Stem: string |
|
|
79
|
+
readonly Stem: string | null;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
|
|
82
83
|
export const PatternTestResult: {
|
|
83
84
|
new(): PatternTestResult;
|
|
84
85
|
readonly Failed: PatternTestResult;
|
|
85
|
-
Success(stem: string): PatternTestResult;
|
|
86
|
+
Success(stem: string | null): PatternTestResult;
|
|
86
87
|
};
|
|
87
88
|
|
|
88
89
|
|