@securitydept/client 0.3.0-beta.2 → 0.3.0-beta.5
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/README.md +6 -0
- package/dist/create-Bm-XRA3G.mjs +1573 -0
- package/dist/create-Bm-XRA3G.mjs.map +1 -0
- package/dist/index-BT-u3qNI.d.mts +133 -0
- package/dist/index-Ch8lrE44.d.mts +625 -0
- package/dist/index-D5mW18cM.d.mts +1648 -0
- package/dist/index.d.mts +3 -353
- package/dist/index.mjs +1124 -362
- package/dist/index.mjs.map +1 -1
- package/dist/router-BJ8LqNJ1.mjs +245 -0
- package/dist/router-BJ8LqNJ1.mjs.map +1 -0
- package/dist/rx/index.d.mts +69 -0
- package/dist/rx/index.mjs +2 -0
- package/dist/rx-BoB32Dzg.mjs +1106 -0
- package/dist/rx-BoB32Dzg.mjs.map +1 -0
- package/dist/server/index.d.mts +21 -0
- package/dist/server/index.mjs +29 -0
- package/dist/server/index.mjs.map +1 -0
- package/dist/test/index.d.mts +102 -0
- package/dist/test/index.mjs +270 -0
- package/dist/test/index.mjs.map +1 -0
- package/dist/uri-string-BfnIT4gJ.mjs +298 -0
- package/dist/uri-string-BfnIT4gJ.mjs.map +1 -0
- package/dist/web/index.d.mts +82 -336
- package/dist/web/index.mjs +328 -337
- package/dist/web/index.mjs.map +1 -1
- package/dist/webext/index.d.mts +74 -0
- package/dist/webext/index.mjs +229 -0
- package/dist/webext/index.mjs.map +1 -0
- package/package.json +28 -21
- package/dist/auth-coordination/index.d.mts +0 -198
- package/dist/auth-coordination/index.mjs +0 -107
- package/dist/auth-coordination/index.mjs.map +0 -1
- package/dist/events/index.d.mts +0 -2
- package/dist/events/index.mjs +0 -2
- package/dist/events-BUlfsRfl.mjs +0 -127
- package/dist/events-BUlfsRfl.mjs.map +0 -1
- package/dist/fetch-transport-Bd5RyWj2.d.mts +0 -339
- package/dist/fetch-transport-DtnSRWAH.mjs +0 -631
- package/dist/fetch-transport-DtnSRWAH.mjs.map +0 -1
- package/dist/index-C_wgl6dW.d.mts +0 -102
- package/dist/index-DbYSFHDe.d.mts +0 -39
- package/dist/persistence/index.d.mts +0 -3
- package/dist/persistence/index.mjs +0 -2
- package/dist/persistence/web/index.d.mts +0 -16
- package/dist/persistence/web/index.mjs +0 -51
- package/dist/persistence/web/index.mjs.map +0 -1
- package/dist/persistence-CSB8770k.mjs +0 -108
- package/dist/persistence-CSB8770k.mjs.map +0 -1
- package/dist/planner-host-CPyGNyQV.d.mts +0 -190
- package/dist/planner-host-CV38bMSn.mjs +0 -195
- package/dist/planner-host-CV38bMSn.mjs.map +0 -1
- package/dist/types-C59fcM5W.d.mts +0 -52
- package/dist/types-DQc088ZP.d.mts +0 -32
- package/dist/web-router/index.d.mts +0 -259
- package/dist/web-router/index.mjs +0 -395
- package/dist/web-router/index.mjs.map +0 -1
|
@@ -0,0 +1,625 @@
|
|
|
1
|
+
import * as _$injection_js0 from "injection-js";
|
|
2
|
+
import { InjectionToken, Injector } from "injection-js";
|
|
3
|
+
import { BehaviorSubject, Observable, ObservableInput, OperatorFunction, ReplaySubject, Subject } from "rxjs";
|
|
4
|
+
//#region src/injection/types.d.ts
|
|
5
|
+
declare class SecuritydeptInjectionToken<T> extends InjectionToken<T> {}
|
|
6
|
+
type SecuritydeptAbstractType<T> = abstract new (...args: never[]) => T;
|
|
7
|
+
type SecuritydeptDependencyToken<T> = SecuritydeptInjectionToken<T> | SecuritydeptAbstractType<T>;
|
|
8
|
+
type SecuritydeptTypeProvider<T> = SecuritydeptAbstractType<T>;
|
|
9
|
+
declare const SecurityDeptOptional: _$injection_js0.OptionalDecorator;
|
|
10
|
+
type SecuritydeptOptionalDependency<T> = readonly [InstanceType<typeof SecurityDeptOptional>, SecuritydeptDependencyToken<T>] | readonly [SecuritydeptDependencyToken<T>, InstanceType<typeof SecurityDeptOptional>];
|
|
11
|
+
type SecuritydeptDependencyDescriptor<T> = SecuritydeptDependencyToken<T> | SecuritydeptOptionalDependency<T>;
|
|
12
|
+
interface SecuritydeptValueProvider<T> {
|
|
13
|
+
provide: SecuritydeptDependencyToken<T>;
|
|
14
|
+
useValue: T;
|
|
15
|
+
}
|
|
16
|
+
interface SecuritydeptClassProvider<T> {
|
|
17
|
+
provide: SecuritydeptDependencyToken<T>;
|
|
18
|
+
useClass: SecuritydeptAbstractType<T>;
|
|
19
|
+
deps?: readonly SecuritydeptDependencyDescriptor<unknown>[];
|
|
20
|
+
}
|
|
21
|
+
interface SecuritydeptFactoryProvider<T> {
|
|
22
|
+
provide: SecuritydeptDependencyToken<T>;
|
|
23
|
+
useFactory: (...deps: never[]) => T;
|
|
24
|
+
deps?: readonly SecuritydeptDependencyDescriptor<unknown>[];
|
|
25
|
+
}
|
|
26
|
+
type WithTraitDeps<TDeps extends object> = TDeps;
|
|
27
|
+
interface SecuritydeptExistingProvider<T> {
|
|
28
|
+
provide: SecuritydeptDependencyToken<T>;
|
|
29
|
+
useExisting: SecuritydeptDependencyToken<T>;
|
|
30
|
+
}
|
|
31
|
+
type SecuritydeptProvider<T = unknown> = SecuritydeptTypeProvider<T> | SecuritydeptValueProvider<T> | SecuritydeptClassProvider<T> | SecuritydeptFactoryProvider<T> | SecuritydeptExistingProvider<T>;
|
|
32
|
+
declare function getSecuritydeptProviderToken(provider: SecuritydeptProvider): SecuritydeptDependencyToken<unknown>;
|
|
33
|
+
declare function createProviderIfTokenMissing<TProvider extends SecuritydeptProvider>(providedTokens: ReadonlySet<SecuritydeptDependencyToken<unknown>>, token: SecuritydeptDependencyToken<unknown>, createProvider: () => TProvider): TProvider | null;
|
|
34
|
+
declare function notMissingProvider(provider: SecuritydeptProvider | null): provider is SecuritydeptProvider;
|
|
35
|
+
interface SecuritydeptInjectorTrait {
|
|
36
|
+
get<T>(token: SecuritydeptDependencyToken<T>): T;
|
|
37
|
+
get<T>(token: SecuritydeptDependencyToken<T>, notFoundValue: T): T;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/injection/context.d.ts
|
|
41
|
+
interface SecuritydeptInjectOptions {
|
|
42
|
+
optional?: boolean;
|
|
43
|
+
}
|
|
44
|
+
declare function inject$1<T>(token: SecuritydeptDependencyToken<T>, options?: SecuritydeptInjectOptions & {
|
|
45
|
+
optional?: false;
|
|
46
|
+
}): T;
|
|
47
|
+
declare function inject$1<T>(token: SecuritydeptDependencyToken<T>, options?: SecuritydeptInjectOptions & {
|
|
48
|
+
optional?: true;
|
|
49
|
+
}): T | null;
|
|
50
|
+
declare function tryInjectInInjectionContext<T>(token: SecuritydeptDependencyToken<T>, options?: SecuritydeptInjectOptions): T | null;
|
|
51
|
+
declare function runInInjectionContext$1<ReturnT>(injector: SecuritydeptInjectorTrait, fn: () => ReturnT): ReturnT;
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/compat/disposable.d.ts
|
|
54
|
+
declare const SYMBOL_DISPOSE: typeof Symbol.dispose;
|
|
55
|
+
interface DisposableTrait {
|
|
56
|
+
dispose(): void;
|
|
57
|
+
[SYMBOL_DISPOSE](): void;
|
|
58
|
+
}
|
|
59
|
+
declare const SYMBOL_ASYNC_DISPOSE: typeof Symbol.asyncDispose;
|
|
60
|
+
interface AsyncDisposableTrait {
|
|
61
|
+
dispose(): Promise<void>;
|
|
62
|
+
[SYMBOL_ASYNC_DISPOSE](): Promise<void>;
|
|
63
|
+
}
|
|
64
|
+
interface DisposableStackTrait extends DisposableTrait {
|
|
65
|
+
readonly disposed: boolean;
|
|
66
|
+
use<T extends DisposableTrait>(disposable: T): T;
|
|
67
|
+
dispose(): void;
|
|
68
|
+
[SYMBOL_DISPOSE](): void;
|
|
69
|
+
}
|
|
70
|
+
declare const SYMBOL_DISPOSABLE_STACK = "@@disposableStack";
|
|
71
|
+
declare function injectDisposableStackFrom(arg: unknown, isOptions?: boolean): DisposableStackTrait | undefined;
|
|
72
|
+
declare class SimpleDisposableStack implements DisposableStackTrait {
|
|
73
|
+
private readonly stack;
|
|
74
|
+
disposed: boolean;
|
|
75
|
+
use<T extends DisposableTrait>(disposable: T): T;
|
|
76
|
+
dispose(): void;
|
|
77
|
+
[SYMBOL_DISPOSE](): void;
|
|
78
|
+
}
|
|
79
|
+
interface NativeDisposableStackLike {
|
|
80
|
+
readonly disposed: boolean;
|
|
81
|
+
use<T extends DisposableTrait>(disposable: T): T;
|
|
82
|
+
dispose(): void;
|
|
83
|
+
}
|
|
84
|
+
type NativeDisposableStackConstructor = new () => NativeDisposableStackLike;
|
|
85
|
+
declare class StdDisposableStack implements DisposableStackTrait {
|
|
86
|
+
private readonly stack;
|
|
87
|
+
constructor(Stack?: NativeDisposableStackConstructor);
|
|
88
|
+
get disposed(): boolean;
|
|
89
|
+
use<T extends DisposableTrait>(disposable: T): T;
|
|
90
|
+
dispose(): void;
|
|
91
|
+
[SYMBOL_DISPOSE](): void;
|
|
92
|
+
}
|
|
93
|
+
declare function createDisposableStack(): DisposableStackTrait;
|
|
94
|
+
declare function withDisposableStack(index: number, isOptions?: boolean): <TThis, TArgs extends unknown[], TReturn>(target: (this: TThis, ...args: TArgs) => TReturn, _context: ClassMethodDecoratorContext<TThis, (this: TThis, ...args: TArgs) => TReturn>) => (this: TThis, ...args: TArgs) => TReturn;
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/injection/destroy.d.ts
|
|
97
|
+
declare abstract class SecuritydeptDestroyRef implements DisposableTrait {
|
|
98
|
+
abstract readonly destroyed: boolean;
|
|
99
|
+
abstract onDestroy(callback: () => void): () => void;
|
|
100
|
+
abstract dispose(): void;
|
|
101
|
+
[SYMBOL_DISPOSE](): void;
|
|
102
|
+
}
|
|
103
|
+
declare function createSecuritydeptDestroyRef(): SecuritydeptDestroyRef;
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/injection/injector.d.ts
|
|
106
|
+
declare class SecuritydeptInjector implements SecuritydeptInjectorTrait {
|
|
107
|
+
private readonly runtimeInjector;
|
|
108
|
+
static resolveAndCreate(providers: readonly SecuritydeptProvider[]): SecuritydeptInjector;
|
|
109
|
+
static fromParentInjector(parent: SecuritydeptInjectorTrait, providers: readonly SecuritydeptProvider[]): SecuritydeptInjector;
|
|
110
|
+
static fromRuntimeInjector(runtimeInjector: Injector): SecuritydeptInjector;
|
|
111
|
+
private constructor();
|
|
112
|
+
get<T>(token: SecuritydeptDependencyToken<T>): T;
|
|
113
|
+
get<T>(token: SecuritydeptDependencyToken<T>, notFoundValue: T): T;
|
|
114
|
+
}
|
|
115
|
+
declare const INJECTOR_TOKEN: SecuritydeptInjectionToken<SecuritydeptInjector>;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/compat/observable.d.ts
|
|
118
|
+
declare const SYMBOL_OBSERVABLE: typeof Symbol.observable;
|
|
119
|
+
/** Subscription handle with explicit unsubscribe. */
|
|
120
|
+
interface SubscriptionTrait {
|
|
121
|
+
unsubscribe(): void;
|
|
122
|
+
}
|
|
123
|
+
/** Observer for event streams — mirrors the Observable observer pattern. */
|
|
124
|
+
interface ObserverTrait<T> {
|
|
125
|
+
next(value: T): void;
|
|
126
|
+
error(error: unknown): void;
|
|
127
|
+
complete(): void;
|
|
128
|
+
}
|
|
129
|
+
interface SubscribableTrait<T> {
|
|
130
|
+
subscribe(observer: Partial<ObserverTrait<T>>): SubscriptionTrait;
|
|
131
|
+
}
|
|
132
|
+
interface InteropObservableTrait<T> {
|
|
133
|
+
[SYMBOL_OBSERVABLE](): SubscribableTrait<T>;
|
|
134
|
+
}
|
|
135
|
+
type WithInteropObservableTraitCompat<O extends InteropObservableTrait<unknown>, T extends (O extends InteropObservableTrait<infer U> ? U : never)> = O & InteropObservableTrait<T>;
|
|
136
|
+
declare function isInteropObservableTrait<T>(value: unknown): value is InteropObservableTrait<T>;
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/events/types.d.ts
|
|
139
|
+
/** Subscription handle with explicit unsubscribe. */
|
|
140
|
+
type EventSubscriptionTrait = SubscriptionTrait;
|
|
141
|
+
/** Observer for event streams — mirrors the Observable observer pattern. */
|
|
142
|
+
interface EventObserverTrait<T> {
|
|
143
|
+
next(value: T): void;
|
|
144
|
+
error(error: unknown): void;
|
|
145
|
+
complete(): void;
|
|
146
|
+
}
|
|
147
|
+
/** Read-only event stream — lazy push-based sequence. */
|
|
148
|
+
interface EventStreamTrait<T> extends InteropObservableTrait<T> {
|
|
149
|
+
subscribe(observer: Partial<EventObserverTrait<T>>): EventSubscriptionTrait;
|
|
150
|
+
}
|
|
151
|
+
/** Hot event producer. */
|
|
152
|
+
interface EventSubjectTrait<T> extends EventStreamTrait<T> {
|
|
153
|
+
next(value: T): void;
|
|
154
|
+
error(error: unknown): void;
|
|
155
|
+
complete(): void;
|
|
156
|
+
}
|
|
157
|
+
declare const EventSourceKind: {
|
|
158
|
+
readonly User: "user";
|
|
159
|
+
readonly Timer: "timer";
|
|
160
|
+
readonly Http: "http";
|
|
161
|
+
readonly Storage: "storage";
|
|
162
|
+
readonly Framework: "framework";
|
|
163
|
+
readonly System: "system";
|
|
164
|
+
};
|
|
165
|
+
type EventSourceKind = (typeof EventSourceKind)[keyof typeof EventSourceKind];
|
|
166
|
+
type EventSource = {
|
|
167
|
+
kind: typeof EventSourceKind.User;
|
|
168
|
+
actor?: string;
|
|
169
|
+
} | {
|
|
170
|
+
kind: typeof EventSourceKind.Timer;
|
|
171
|
+
timer: string;
|
|
172
|
+
} | {
|
|
173
|
+
kind: typeof EventSourceKind.Http;
|
|
174
|
+
requestId: string;
|
|
175
|
+
endpoint?: string;
|
|
176
|
+
} | {
|
|
177
|
+
kind: typeof EventSourceKind.Storage;
|
|
178
|
+
operation: string;
|
|
179
|
+
} | {
|
|
180
|
+
kind: typeof EventSourceKind.Framework;
|
|
181
|
+
name: string;
|
|
182
|
+
} | {
|
|
183
|
+
kind: typeof EventSourceKind.System;
|
|
184
|
+
subsystem: string;
|
|
185
|
+
};
|
|
186
|
+
interface RuntimeEventEnvelope<TType extends string, TPayload> {
|
|
187
|
+
id: string;
|
|
188
|
+
type: TType;
|
|
189
|
+
at: number;
|
|
190
|
+
source: EventSource;
|
|
191
|
+
payload: TPayload;
|
|
192
|
+
}
|
|
193
|
+
type EventOperatorFunction<T, R> = (stream: EventStreamTrait<T>) => EventStreamTrait<R>;
|
|
194
|
+
//#endregion
|
|
195
|
+
//#region src/errors/types.d.ts
|
|
196
|
+
/** Recovery actions the user might take. Aligned with server-side `UserRecovery`. */
|
|
197
|
+
declare const UserRecovery: {
|
|
198
|
+
readonly None: "none";
|
|
199
|
+
readonly Retry: "retry";
|
|
200
|
+
readonly RestartFlow: "restart_flow";
|
|
201
|
+
readonly Reauthenticate: "reauthenticate";
|
|
202
|
+
readonly ContactSupport: "contact_support";
|
|
203
|
+
};
|
|
204
|
+
type UserRecovery = (typeof UserRecovery)[keyof typeof UserRecovery];
|
|
205
|
+
/** User-facing error presentation. `code` is the cross-platform stable contract. */
|
|
206
|
+
interface ErrorPresentation {
|
|
207
|
+
code: string;
|
|
208
|
+
message: string;
|
|
209
|
+
recovery: UserRecovery;
|
|
210
|
+
}
|
|
211
|
+
declare const ErrorPresentationTone: {
|
|
212
|
+
readonly Neutral: "neutral";
|
|
213
|
+
readonly Warning: "warning";
|
|
214
|
+
readonly Danger: "danger";
|
|
215
|
+
};
|
|
216
|
+
type ErrorPresentationTone = (typeof ErrorPresentationTone)[keyof typeof ErrorPresentationTone];
|
|
217
|
+
interface ErrorPresentationActionDescriptor {
|
|
218
|
+
recovery: UserRecovery;
|
|
219
|
+
label: string;
|
|
220
|
+
href: string | null;
|
|
221
|
+
}
|
|
222
|
+
interface ErrorPresentationDescriptor {
|
|
223
|
+
code: string | null;
|
|
224
|
+
kind: ClientErrorKind | null;
|
|
225
|
+
source?: string;
|
|
226
|
+
title: string;
|
|
227
|
+
description: string;
|
|
228
|
+
recovery: UserRecovery;
|
|
229
|
+
retryable: boolean;
|
|
230
|
+
tone: ErrorPresentationTone;
|
|
231
|
+
primaryAction: ErrorPresentationActionDescriptor | null;
|
|
232
|
+
}
|
|
233
|
+
interface ReadErrorPresentationDescriptorOptions {
|
|
234
|
+
fallbackTitle?: string;
|
|
235
|
+
fallbackDescription?: string;
|
|
236
|
+
codePresentations?: Readonly<Record<string, ErrorCodePresentationDescriptor>>;
|
|
237
|
+
recoveryLinks?: Partial<Record<UserRecovery, string>>;
|
|
238
|
+
recoveryLabels?: Partial<Record<UserRecovery, string>>;
|
|
239
|
+
}
|
|
240
|
+
interface ErrorCodePresentationDescriptor {
|
|
241
|
+
title: string;
|
|
242
|
+
description: string;
|
|
243
|
+
tone?: ErrorPresentationTone;
|
|
244
|
+
recovery?: UserRecovery;
|
|
245
|
+
}
|
|
246
|
+
/** Machine-facing error kind discriminator. */
|
|
247
|
+
declare const ClientErrorKind: {
|
|
248
|
+
readonly Authorization: "authorization";
|
|
249
|
+
readonly Transport: "transport";
|
|
250
|
+
readonly Server: "server";
|
|
251
|
+
readonly Protocol: "protocol";
|
|
252
|
+
readonly Storage: "storage";
|
|
253
|
+
readonly Configuration: "configuration";
|
|
254
|
+
readonly Unauthenticated: "unauthenticated";
|
|
255
|
+
readonly Unauthorized: "unauthorized";
|
|
256
|
+
readonly Cancelled: "cancelled";
|
|
257
|
+
readonly Timeout: "timeout";
|
|
258
|
+
readonly Internal: "internal";
|
|
259
|
+
};
|
|
260
|
+
type ClientErrorKind = (typeof ClientErrorKind)[keyof typeof ClientErrorKind];
|
|
261
|
+
/** Stable source vocabulary for common client error producers. */
|
|
262
|
+
declare const ClientErrorSource: {
|
|
263
|
+
readonly Transport: "transport";
|
|
264
|
+
readonly Server: "server";
|
|
265
|
+
readonly Client: "client";
|
|
266
|
+
};
|
|
267
|
+
type ClientErrorSource = (typeof ClientErrorSource)[keyof typeof ClientErrorSource];
|
|
268
|
+
//#endregion
|
|
269
|
+
//#region src/errors/client-error.d.ts
|
|
270
|
+
interface ClientErrorFromUnknownOptions {
|
|
271
|
+
message: string;
|
|
272
|
+
code: string;
|
|
273
|
+
source: string;
|
|
274
|
+
}
|
|
275
|
+
interface ClientErrorFromHttpResponseOptions {
|
|
276
|
+
status: number;
|
|
277
|
+
body?: unknown;
|
|
278
|
+
source?: string;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Base client error carrying both machine-facing context and an optional
|
|
282
|
+
* user-facing presentation layer.
|
|
283
|
+
*
|
|
284
|
+
* Top-level `code` and `recovery` provide stable machine contracts for
|
|
285
|
+
* policy decisions without requiring callers to unwrap `presentation`.
|
|
286
|
+
*/
|
|
287
|
+
declare class ClientError extends Error {
|
|
288
|
+
readonly kind: ClientErrorKind;
|
|
289
|
+
/**
|
|
290
|
+
* Stable machine-readable error code.
|
|
291
|
+
* Matches `presentation.code` when present, otherwise a default
|
|
292
|
+
* derived from `kind`.
|
|
293
|
+
*/
|
|
294
|
+
readonly code: string;
|
|
295
|
+
/** Recovery hint at the machine level. */
|
|
296
|
+
readonly recovery: UserRecovery;
|
|
297
|
+
/** Whether this error is safe to retry. */
|
|
298
|
+
readonly retryable: boolean;
|
|
299
|
+
/** Structured user-facing error presentation from the server. */
|
|
300
|
+
readonly presentation?: ErrorPresentation;
|
|
301
|
+
/** Source subsystem or component that produced the error. */
|
|
302
|
+
readonly source?: string;
|
|
303
|
+
constructor(options: {
|
|
304
|
+
kind: ClientErrorKind;
|
|
305
|
+
message: string;
|
|
306
|
+
code?: string;
|
|
307
|
+
recovery?: UserRecovery;
|
|
308
|
+
retryable?: boolean;
|
|
309
|
+
presentation?: ErrorPresentation;
|
|
310
|
+
source?: string;
|
|
311
|
+
cause?: unknown;
|
|
312
|
+
});
|
|
313
|
+
/** Create a `ClientError` from a server error response body. */
|
|
314
|
+
static fromServerError(body: {
|
|
315
|
+
kind?: string;
|
|
316
|
+
code?: string;
|
|
317
|
+
message?: string;
|
|
318
|
+
recovery?: string;
|
|
319
|
+
presentation?: {
|
|
320
|
+
code?: string;
|
|
321
|
+
message?: string;
|
|
322
|
+
recovery?: string;
|
|
323
|
+
};
|
|
324
|
+
}, overrides?: {
|
|
325
|
+
kind?: ClientErrorKind;
|
|
326
|
+
source?: string;
|
|
327
|
+
}): ClientError;
|
|
328
|
+
static fromUnknown(error: unknown, options: ClientErrorFromUnknownOptions): ClientError;
|
|
329
|
+
/**
|
|
330
|
+
* Create a `ClientError` from an HTTP response status and optional body.
|
|
331
|
+
* Used when a non-success status is unexpected.
|
|
332
|
+
*/
|
|
333
|
+
static fromHttpResponse(options: ClientErrorFromHttpResponseOptions): ClientError;
|
|
334
|
+
}
|
|
335
|
+
//#endregion
|
|
336
|
+
//#region src/cancellation/types.d.ts
|
|
337
|
+
/** Cancelable operation handle. */
|
|
338
|
+
interface CancelableHandle {
|
|
339
|
+
cancel(): void;
|
|
340
|
+
}
|
|
341
|
+
interface CancellationTokenErrorData {
|
|
342
|
+
readonly cancellationError: ClientError;
|
|
343
|
+
readonly reason: unknown;
|
|
344
|
+
}
|
|
345
|
+
/** Cooperative cancellation token — consumers check / subscribe to cancellation. */
|
|
346
|
+
interface CancellationTokenTrait extends InteropObservableTrait<CancellationTokenErrorData> {
|
|
347
|
+
readonly isCancellationRequested: boolean;
|
|
348
|
+
readonly cancellationError?: ClientError | undefined;
|
|
349
|
+
readonly reason?: unknown;
|
|
350
|
+
onCancellationRequested(listener: (data: CancellationTokenErrorData) => void): DisposableTrait;
|
|
351
|
+
throwIfCancellationRequested(): void;
|
|
352
|
+
}
|
|
353
|
+
interface CancellationTokenOptions {
|
|
354
|
+
cancellationToken?: CancellationTokenTrait;
|
|
355
|
+
}
|
|
356
|
+
/** Cancellation source — producer-side control. */
|
|
357
|
+
interface CancellationTokenSourceTrait {
|
|
358
|
+
readonly token: CancellationTokenTrait;
|
|
359
|
+
cancel(reason?: unknown): void;
|
|
360
|
+
}
|
|
361
|
+
//#endregion
|
|
362
|
+
//#region src/signals/types.d.ts
|
|
363
|
+
interface SignalOptions<T> {
|
|
364
|
+
equals?: (a: T, b: T) => boolean;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Read-only signal interface.
|
|
368
|
+
* Semantics align with TC39 Signals proposal, but uses an SDK-owned thin protocol
|
|
369
|
+
* to avoid coupling to any specific polyfill or standard implementation.
|
|
370
|
+
*/
|
|
371
|
+
interface ReadableSignalTrait<T> extends InteropObservableTrait<T> {
|
|
372
|
+
readonly equals: (a: unknown, b: unknown) => boolean;
|
|
373
|
+
/** Return the current snapshot value. */
|
|
374
|
+
get(): T;
|
|
375
|
+
/**
|
|
376
|
+
* Watch value invalidations.
|
|
377
|
+
* The stream does not emit the current value on subscription; use
|
|
378
|
+
* `[SYMBOL_OBSERVABLE]()` when value replay is required.
|
|
379
|
+
*/
|
|
380
|
+
watchStream(): EventStreamTrait<void>;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Writable signal interface.
|
|
384
|
+
* State transitions should be controlled by the client / service layer;
|
|
385
|
+
* external consumers typically only see the read-only projection.
|
|
386
|
+
*/
|
|
387
|
+
interface WritableSignalTrait<T> extends ReadableSignalTrait<T> {
|
|
388
|
+
set(value: T): void;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Computed (derived) signal — always read-only, value is derived from
|
|
392
|
+
* other signals automatically.
|
|
393
|
+
*/
|
|
394
|
+
interface ComputedSignalTrait<T> extends ReadableSignalTrait<T> {}
|
|
395
|
+
declare const ResourceStatus: {
|
|
396
|
+
readonly Idle: "idle";
|
|
397
|
+
readonly Loading: "loading";
|
|
398
|
+
readonly LoadingError: "loading_error";
|
|
399
|
+
readonly Reloading: "reloading";
|
|
400
|
+
readonly Resolved: "resolved";
|
|
401
|
+
readonly Error: "error";
|
|
402
|
+
};
|
|
403
|
+
type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
404
|
+
interface ResourceIdleSnapshot {
|
|
405
|
+
readonly status: typeof ResourceStatus.Idle;
|
|
406
|
+
}
|
|
407
|
+
interface ResourceLoadingSnapshot {
|
|
408
|
+
readonly status: typeof ResourceStatus.Loading;
|
|
409
|
+
}
|
|
410
|
+
interface ResourceLoadingErrorSnapshot {
|
|
411
|
+
readonly status: typeof ResourceStatus.LoadingError;
|
|
412
|
+
readonly error: unknown;
|
|
413
|
+
}
|
|
414
|
+
interface ResourceReloadingSnapshot<T> {
|
|
415
|
+
readonly status: typeof ResourceStatus.Reloading;
|
|
416
|
+
readonly value: T;
|
|
417
|
+
}
|
|
418
|
+
interface ResourceResolvedSnapshot<T> {
|
|
419
|
+
readonly status: typeof ResourceStatus.Resolved;
|
|
420
|
+
readonly value: T;
|
|
421
|
+
}
|
|
422
|
+
interface ResourceErrorSnapshot<T> {
|
|
423
|
+
readonly status: typeof ResourceStatus.Error;
|
|
424
|
+
readonly value: T;
|
|
425
|
+
readonly error: unknown;
|
|
426
|
+
}
|
|
427
|
+
type ResourceSnapshot<T> = ResourceIdleSnapshot | ResourceLoadingSnapshot | ResourceLoadingErrorSnapshot | ResourceReloadingSnapshot<T> | ResourceResolvedSnapshot<T> | ResourceErrorSnapshot<T>;
|
|
428
|
+
interface ResourceWhenValueOptions {
|
|
429
|
+
readonly cancellationToken?: CancellationTokenTrait;
|
|
430
|
+
readonly staleValueWhenError?: boolean;
|
|
431
|
+
}
|
|
432
|
+
interface ResourceTrait<T> extends DisposableTrait, InteropObservableTrait<ResourceSnapshot<T>> {
|
|
433
|
+
readonly value: ReadableSignalTrait<T>;
|
|
434
|
+
readonly status: ReadableSignalTrait<ResourceStatus>;
|
|
435
|
+
readonly error: ReadableSignalTrait<unknown | undefined>;
|
|
436
|
+
readonly isLoading: ReadableSignalTrait<boolean>;
|
|
437
|
+
readonly snapshot: ReadableSignalTrait<ResourceSnapshot<T>>;
|
|
438
|
+
hasValue(): boolean;
|
|
439
|
+
whenValue(options?: ResourceWhenValueOptions): Promise<T>;
|
|
440
|
+
}
|
|
441
|
+
//#endregion
|
|
442
|
+
//#region src/scheduling/types.d.ts
|
|
443
|
+
interface TimestampProviderTrait {
|
|
444
|
+
/** Return current epoch milliseconds. */
|
|
445
|
+
now(): number;
|
|
446
|
+
}
|
|
447
|
+
/** Injectable time capability for host timers and deterministic tests. */
|
|
448
|
+
interface TimeTrait extends TimestampProviderTrait {
|
|
449
|
+
/** Return current epoch milliseconds. */
|
|
450
|
+
setTimeout(handler: () => void, delayMs: number): unknown;
|
|
451
|
+
clearTimeout(handle: unknown): void;
|
|
452
|
+
}
|
|
453
|
+
declare const TIME_TRAIT_TOKEN: SecuritydeptInjectionToken<TimeTrait>;
|
|
454
|
+
declare const IDLE_CALLBACK_TRAIT_TOKEN: SecuritydeptInjectionToken<IdleCallbackTrait | null>;
|
|
455
|
+
/** Injectable idle-callback capability for hosts that explicitly support it. */
|
|
456
|
+
interface IdleCallbackTrait {
|
|
457
|
+
requestIdleCallback(callback: () => void): unknown;
|
|
458
|
+
cancelIdleCallback(handle: unknown): void;
|
|
459
|
+
}
|
|
460
|
+
//#endregion
|
|
461
|
+
//#region src/cancellation/create.d.ts
|
|
462
|
+
/**
|
|
463
|
+
* Create a `CancellationTokenSource` that produces a cooperative cancellation token.
|
|
464
|
+
*/
|
|
465
|
+
declare function createCancellationTokenSource(): CancellationTokenSourceTrait;
|
|
466
|
+
declare function isCancellationTokenTrait(obj: unknown): obj is CancellationTokenTrait;
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region src/cancellation/linked.d.ts
|
|
469
|
+
/**
|
|
470
|
+
* Create a cancellation token that fires when ANY of the given source tokens
|
|
471
|
+
* is cancelled.
|
|
472
|
+
*
|
|
473
|
+
* - Zero sources → returns a token that is never cancelled.
|
|
474
|
+
* - One source → returns that source directly (no allocation).
|
|
475
|
+
* - N sources → creates a linked source, subscribes to all, and cleans up
|
|
476
|
+
* subscriptions once the linked token fires.
|
|
477
|
+
*
|
|
478
|
+
* @example
|
|
479
|
+
* const cts = createCancellationTokenSource();
|
|
480
|
+
* const linked = createLinkedCancellationToken(clientRoot.token, cts.token);
|
|
481
|
+
* await transport.execute({ ..., cancellationToken: linked });
|
|
482
|
+
*/
|
|
483
|
+
declare function createLinkedCancellationToken(...sources: readonly (CancellationTokenTrait | undefined | null)[]): CancellationTokenTrait & DisposableTrait;
|
|
484
|
+
//#endregion
|
|
485
|
+
//#region src/rx/event.d.ts
|
|
486
|
+
type RxEventStreamProducer<T> = (observer: EventObserverTrait<T>) => (() => void) | void;
|
|
487
|
+
type RxEventStreamInput<T> = ObservableInput<T> | InteropObservableTrait<T> | SubscribableTrait<T>;
|
|
488
|
+
declare class RxEventStream<T> extends Observable<T> implements EventStreamTrait<T>, InteropObservableTrait<T> {
|
|
489
|
+
constructor(source: RxEventStreamInput<T> | RxEventStreamProducer<T>);
|
|
490
|
+
[SYMBOL_OBSERVABLE](): RxEventStream<T>;
|
|
491
|
+
static fromObservableInput<T>(input: RxEventStreamInput<T>): RxEventStream<T>;
|
|
492
|
+
pipe(): RxEventStream<T>;
|
|
493
|
+
pipe<A>(op1: OperatorFunction<T, A>): RxEventStream<A>;
|
|
494
|
+
pipe<A, B>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>): RxEventStream<B>;
|
|
495
|
+
pipe<A, B, C>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>): RxEventStream<C>;
|
|
496
|
+
pipe<A, B, C, D>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>): RxEventStream<D>;
|
|
497
|
+
pipe<A, B, C, D, E>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>): RxEventStream<E>;
|
|
498
|
+
pipe<A, B, C, D, E, F>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>): RxEventStream<F>;
|
|
499
|
+
pipe<A, B, C, D, E, F, G>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>): RxEventStream<G>;
|
|
500
|
+
pipe<A, B, C, D, E, F, G, H>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>): RxEventStream<H>;
|
|
501
|
+
pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>, op9: OperatorFunction<H, I>): RxEventStream<I>;
|
|
502
|
+
pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>, op9: OperatorFunction<H, I>, ...operations: OperatorFunction<any, any>[]): RxEventStream<unknown>;
|
|
503
|
+
}
|
|
504
|
+
declare class RxEventSubject<T> extends Subject<T> implements EventSubjectTrait<T> {
|
|
505
|
+
[SYMBOL_OBSERVABLE](): RxEventStream<T>;
|
|
506
|
+
asObservable(): RxEventStream<T>;
|
|
507
|
+
}
|
|
508
|
+
declare class RxEventReplaySubject<T> extends ReplaySubject<T> implements EventSubjectTrait<T> {
|
|
509
|
+
[SYMBOL_OBSERVABLE](): RxEventStream<T>;
|
|
510
|
+
asObservable(): RxEventStream<T>;
|
|
511
|
+
}
|
|
512
|
+
//#endregion
|
|
513
|
+
//#region src/rx/signal.d.ts
|
|
514
|
+
interface RxSignalDirtyEvent<T> {
|
|
515
|
+
epoch: number;
|
|
516
|
+
signal: ReadableSignalTrait<T>;
|
|
517
|
+
}
|
|
518
|
+
type RxSignalOptions<T> = SignalOptions<T>;
|
|
519
|
+
type RxSignalWatchScheduler<THandle = unknown> = (flush: () => void) => THandle;
|
|
520
|
+
type RxSignalWatchCanceller<THandle = unknown> = (handle: THandle) => void;
|
|
521
|
+
interface RxSignalWatchOptions {
|
|
522
|
+
schedule: RxSignalWatchScheduler;
|
|
523
|
+
cancel?: RxSignalWatchCanceller;
|
|
524
|
+
}
|
|
525
|
+
declare abstract class RxSignal<T> implements ReadableSignalTrait<T>, InteropObservableTrait<T> {
|
|
526
|
+
protected static globalEpoch: number;
|
|
527
|
+
protected static currentContext: RxComputedSignal<any> | null;
|
|
528
|
+
protected valueEqVersion: number;
|
|
529
|
+
readonly equals: (a: unknown, b: unknown) => boolean;
|
|
530
|
+
abstract get(): T;
|
|
531
|
+
abstract dirtyObservable(): Observable<RxSignalDirtyEvent<T>>;
|
|
532
|
+
protected constructor(options: RxSignalOptions<T> | undefined);
|
|
533
|
+
watchStream(options?: RxSignalWatchOptions): RxEventStream<void>;
|
|
534
|
+
[SYMBOL_OBSERVABLE](): RxEventStream<T>;
|
|
535
|
+
abstract validateForEpoch(epoch: number): void;
|
|
536
|
+
}
|
|
537
|
+
declare class RxStateSignal<T> extends RxSignal<T> implements InteropObservableTrait<T>, WritableSignalTrait<T> {
|
|
538
|
+
protected dirtySubject: Subject<RxSignalDirtyEvent<T>>;
|
|
539
|
+
protected value: BehaviorSubject<T>;
|
|
540
|
+
protected constructor(initialValue: T, options: RxSignalOptions<T> | undefined);
|
|
541
|
+
set(input: T): void;
|
|
542
|
+
static fromInitialValue<T>(initialValue: T, options?: RxSignalOptions<T>): RxStateSignalCompat<T>;
|
|
543
|
+
get(): T;
|
|
544
|
+
validateForEpoch(): void;
|
|
545
|
+
dirtyObservable(): Observable<RxSignalDirtyEvent<T>>;
|
|
546
|
+
[SYMBOL_OBSERVABLE](): RxEventStream<T>;
|
|
547
|
+
}
|
|
548
|
+
type RxStateSignalCompat<T> = WithInteropObservableTraitCompat<RxStateSignal<T>, T>;
|
|
549
|
+
type AnyRxSignal = RxSignal<any> & {
|
|
550
|
+
valueEqVersion: number;
|
|
551
|
+
};
|
|
552
|
+
type ComputedCacheState<T> = {
|
|
553
|
+
kind: "empty";
|
|
554
|
+
} | {
|
|
555
|
+
kind: "value";
|
|
556
|
+
value: T;
|
|
557
|
+
} | {
|
|
558
|
+
kind: "error";
|
|
559
|
+
error: unknown;
|
|
560
|
+
};
|
|
561
|
+
declare class RxComputedSignal<T> extends RxSignal<T> {
|
|
562
|
+
protected readonly computeFn: () => T;
|
|
563
|
+
protected cacheState: ComputedCacheState<T>;
|
|
564
|
+
protected sources: ReadonlyMap<AnyRxSignal, number>;
|
|
565
|
+
protected sourcesSubject: BehaviorSubject<ReadonlyMap<AnyRxSignal, number>>;
|
|
566
|
+
private validatedEpoch;
|
|
567
|
+
private isComputing;
|
|
568
|
+
private collectingSources;
|
|
569
|
+
private dirty$;
|
|
570
|
+
protected constructor(computeFn: () => T, options: RxSignalOptions<T> | undefined);
|
|
571
|
+
markDependency(signal: RxSignal<any>): void;
|
|
572
|
+
protected cacheStatesEqual(left: ComputedCacheState<T>, right: ComputedCacheState<T>): boolean;
|
|
573
|
+
protected recompute(): void;
|
|
574
|
+
validateForEpoch(epoch: number): void;
|
|
575
|
+
get(): T;
|
|
576
|
+
dirtyObservable(): Observable<RxSignalDirtyEvent<T>>;
|
|
577
|
+
static computed<T>(fn: () => T, options?: RxSignalOptions<T>): RxComputedSignalCompat<T>;
|
|
578
|
+
}
|
|
579
|
+
type RxComputedSignalCompat<T> = WithInteropObservableTraitCompat<RxComputedSignal<T>, T>;
|
|
580
|
+
//#endregion
|
|
581
|
+
//#region src/rx/resource.d.ts
|
|
582
|
+
interface RxResourceStreamContext<T, R> {
|
|
583
|
+
readonly request: R;
|
|
584
|
+
readonly previous: ResourceSnapshot<T>;
|
|
585
|
+
readonly cancellationToken: CancellationTokenTrait;
|
|
586
|
+
}
|
|
587
|
+
interface RxResourceOptions<T, R = undefined> {
|
|
588
|
+
readonly request?: ReadableSignalTrait<R | undefined> | (() => R | undefined);
|
|
589
|
+
readonly stream: (context: RxResourceStreamContext<T, R>) => ObservableInput<T>;
|
|
590
|
+
}
|
|
591
|
+
declare abstract class RxResourceBase<T> implements ResourceTrait<T>, InteropObservableTrait<ResourceSnapshot<T>> {
|
|
592
|
+
abstract readonly snapshot: ReadableSignalTrait<ResourceSnapshot<T>>;
|
|
593
|
+
readonly value: RxComputedSignalCompat<T>;
|
|
594
|
+
readonly status: RxComputedSignalCompat<ResourceStatus>;
|
|
595
|
+
readonly error: RxComputedSignalCompat<unknown | undefined>;
|
|
596
|
+
readonly isLoading: RxComputedSignalCompat<boolean>;
|
|
597
|
+
protected readonly destroyed: RxStateSignalCompat<boolean>;
|
|
598
|
+
protected readonly destroyed$: Observable<true>;
|
|
599
|
+
protected constructor();
|
|
600
|
+
hasValue(): boolean;
|
|
601
|
+
whenValue(options?: ResourceWhenValueOptions): Promise<T>;
|
|
602
|
+
dispose(): void;
|
|
603
|
+
[SYMBOL_DISPOSE](): void;
|
|
604
|
+
[SYMBOL_OBSERVABLE](): RxEventStream<ResourceSnapshot<T>>;
|
|
605
|
+
}
|
|
606
|
+
declare class RxResource<T, R = undefined> extends RxResourceBase<T> {
|
|
607
|
+
private readonly options;
|
|
608
|
+
readonly snapshot: RxStateSignalCompat<ResourceSnapshot<T>>;
|
|
609
|
+
constructor(options: RxResourceOptions<T, R>);
|
|
610
|
+
private connect;
|
|
611
|
+
static create<T, R = undefined>(options: RxResourceOptions<T, R>): RxResource<T, R>;
|
|
612
|
+
}
|
|
613
|
+
declare function resourceFromSnapshots<T>(source: () => ResourceSnapshot<T>): WithInteropObservableTraitCompat<ResourceTrait<T>, ResourceSnapshot<T>>;
|
|
614
|
+
declare function mapResource<T, U>(source: ResourceTrait<T>, mapValue: (value: T) => U): WithInteropObservableTraitCompat<ResourceTrait<U>, ResourceSnapshot<U>>;
|
|
615
|
+
declare function rxResource<T, R = undefined>(options: RxResourceOptions<T, R>): WithInteropObservableTraitCompat<ResourceTrait<T>, ResourceSnapshot<T>>;
|
|
616
|
+
//#endregion
|
|
617
|
+
//#region src/scheduling/duration.d.ts
|
|
618
|
+
/**
|
|
619
|
+
* Parse a human-readable duration string (for example `5m` or `300s`) into
|
|
620
|
+
* milliseconds.
|
|
621
|
+
*/
|
|
622
|
+
declare function parseDurationToMs(duration: string): number;
|
|
623
|
+
//#endregion
|
|
624
|
+
export { ErrorPresentationActionDescriptor as $, notMissingProvider as $t, ResourceErrorSnapshot as A, StdDisposableStack as At, SignalOptions as B, SecuritydeptClassProvider as Bt, IDLE_CALLBACK_TRAIT_TOKEN as C, AsyncDisposableTrait as Ct, TimestampProviderTrait as D, SYMBOL_DISPOSABLE_STACK as Dt, TimeTrait as E, SYMBOL_ASYNC_DISPOSE as Et, ResourceResolvedSnapshot as F, inject$1 as Ft, CancellationTokenTrait as G, SecuritydeptInjectionToken as Gt, CancelableHandle as H, SecuritydeptDependencyToken as Ht, ResourceSnapshot as I, runInInjectionContext$1 as It, ClientErrorFromUnknownOptions as J, SecuritydeptTypeProvider as Jt, ClientError as K, SecuritydeptInjectorTrait as Kt, ResourceStatus as L, tryInjectInInjectionContext as Lt, ResourceLoadingErrorSnapshot as M, injectDisposableStackFrom as Mt, ResourceLoadingSnapshot as N, withDisposableStack as Nt, ComputedSignalTrait as O, SYMBOL_DISPOSE as Ot, ResourceReloadingSnapshot as P, SecuritydeptInjectOptions as Pt, ErrorPresentation as Q, getSecuritydeptProviderToken as Qt, ResourceTrait as R, SecurityDeptOptional as Rt, isCancellationTokenTrait as S, createSecuritydeptDestroyRef as St, TIME_TRAIT_TOKEN as T, DisposableTrait as Tt, CancellationTokenOptions as U, SecuritydeptExistingProvider as Ut, WritableSignalTrait as V, SecuritydeptDependencyDescriptor as Vt, CancellationTokenSourceTrait as W, SecuritydeptFactoryProvider as Wt, ClientErrorSource as X, WithTraitDeps as Xt, ClientErrorKind as Y, SecuritydeptValueProvider as Yt, ErrorCodePresentationDescriptor as Z, createProviderIfTokenMissing as Zt, RxEventReplaySubject as _, WithInteropObservableTraitCompat as _t, mapResource as a, EventOperatorFunction as at, createLinkedCancellationToken as b, SecuritydeptInjector as bt, RxComputedSignal as c, EventStreamTrait as ct, RxSignalOptions as d, RuntimeEventEnvelope as dt, ErrorPresentationDescriptor as et, RxSignalWatchCanceller as f, InteropObservableTrait as ft, RxStateSignalCompat as g, SubscriptionTrait as gt, RxStateSignal as h, SubscribableTrait as ht, RxResourceStreamContext as i, EventObserverTrait as it, ResourceIdleSnapshot as j, createDisposableStack as jt, ReadableSignalTrait as k, SimpleDisposableStack as kt, RxComputedSignalCompat as l, EventSubjectTrait as lt, RxSignalWatchScheduler as m, SYMBOL_OBSERVABLE as mt, RxResource as n, ReadErrorPresentationDescriptorOptions as nt, resourceFromSnapshots as o, EventSource as ot, RxSignalWatchOptions as p, ObserverTrait as pt, ClientErrorFromHttpResponseOptions as q, SecuritydeptProvider as qt, RxResourceOptions as r, UserRecovery as rt, rxResource as s, EventSourceKind as st, parseDurationToMs as t, ErrorPresentationTone as tt, RxSignalDirtyEvent as u, EventSubscriptionTrait as ut, RxEventStream as v, isInteropObservableTrait as vt, IdleCallbackTrait as w, DisposableStackTrait as wt, createCancellationTokenSource as x, SecuritydeptDestroyRef as xt, RxEventSubject as y, INJECTOR_TOKEN as yt, ResourceWhenValueOptions as z, SecuritydeptAbstractType as zt };
|
|
625
|
+
//# sourceMappingURL=index-Ch8lrE44.d.mts.map
|