nfkit 1.0.30 → 1.0.31
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/dist/index.cjs +42 -17
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +42 -17
- package/dist/index.mjs.map +2 -2
- package/dist/src/app-context/app-context.d.ts +4 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export declare class AppContextCore<Cur = Empty, Req = Empty> {
|
|
|
6
6
|
private provideRecords;
|
|
7
7
|
private registry;
|
|
8
8
|
private objectSteps;
|
|
9
|
+
private parentContexts;
|
|
9
10
|
started: boolean;
|
|
10
11
|
private starting;
|
|
11
12
|
private startingEntries;
|
|
@@ -14,6 +15,9 @@ export declare class AppContextCore<Cur = Empty, Req = Empty> {
|
|
|
14
15
|
private loadingRecords;
|
|
15
16
|
private findProvideRecord;
|
|
16
17
|
private createEntryFromRecord;
|
|
18
|
+
private applyUsedContext;
|
|
19
|
+
private hasStartedInParentChain;
|
|
20
|
+
private propagateUsedContextToParents;
|
|
17
21
|
provide<C extends AppServiceClass<Cur, Req>, const P extends string = '', const M extends (keyof InstanceType<C>)[] = []>(cls: C, ...args: AppProvideArgs<Cur, Req, C, P, M>): AppProvidedMerged<Cur, Req, C, P, M>;
|
|
18
22
|
get<R>(cls: AppServiceClass<Cur, Req, any, R> | (() => AppServiceClass<Cur, Req, any, R>)): R;
|
|
19
23
|
/**
|