@cldmv/slothlet-types 3.12.2 → 3.12.3
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/lib/builders/api-assignment.d.mts +1 -0
- package/lib/builders/modes-processor.d.mts +1 -1
- package/lib/handlers/context-async.d.mts +4 -0
- package/lib/handlers/context-live.d.mts +10 -0
- package/lib/handlers/permission-manager.d.mts +1 -0
- package/lib/handlers/unified-wrapper.d.mts +2 -1
- package/lib/helpers/caller-pinning.d.mts +2 -0
- package/lib/helpers/config.d.mts +6 -0
- package/lib/helpers/eventtarget-context.d.mts +2 -0
- package/lib/helpers/scheduler-context.d.mts +2 -0
- package/lib/modes/eager.d.mts +2 -1
- package/lib/modes/lazy.d.mts +2 -1
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export class ApiAssignment extends ComponentBase {
|
|
2
2
|
static slothletProperty: string;
|
|
3
3
|
isWrapperProxy(value: any): boolean;
|
|
4
|
+
mergeOffSlotCollisionFolder(keptWrapper: any): void;
|
|
4
5
|
assignToApiPath(targetApi: any, key: any, value: any, options?: {}): boolean;
|
|
5
6
|
mergeApiObjects(targetApi: any, sourceApi: any, options?: {}): Promise<void>;
|
|
6
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export class ModesProcessor extends ComponentBase {
|
|
2
2
|
static slothletProperty: string;
|
|
3
|
-
processFiles(api: any, files: any, directory: any, currentDepth: any, mode: any, isRoot: any, recursive: any, populateDirectly?: boolean, apiPathPrefix?: string, collisionContext?: string, moduleID?: null, sourceFolder?: null, cacheBust?: null, collisionModeOverride?: null): Promise<any>;
|
|
3
|
+
processFiles(api: any, files: any, directory: any, currentDepth: any, mode: any, isRoot: any, recursive: any, populateDirectly?: boolean, apiPathPrefix?: string, collisionContext?: string, moduleID?: null, sourceFolder?: null, cacheBust?: null, collisionModeOverride?: null, rootUnwrap?: boolean): Promise<any>;
|
|
4
4
|
createLazySubdirectoryWrapper(dir: any, apiPath: any, moduleID?: null, sourceFolder?: null, cacheBust?: null, fileFolderCollisionImpl?: null, collisionMode?: string): any;
|
|
5
5
|
applyRootContributor(api: any, rootFunction: any, mode: any): Promise<any>;
|
|
6
6
|
}
|
|
@@ -12,6 +12,10 @@ export class AsyncContextManager {
|
|
|
12
12
|
runInContext(instanceID: any, fn: any, thisArg: any, args: any, currentWrapper: any, rawErrors?: boolean): any;
|
|
13
13
|
getContext(): any;
|
|
14
14
|
tryGetContext(): any;
|
|
15
|
+
getCallerIdentity(): {
|
|
16
|
+
currentWrapper: any;
|
|
17
|
+
callerWrapper: any;
|
|
18
|
+
} | undefined;
|
|
15
19
|
cleanup(instanceID: any): void;
|
|
16
20
|
getDiagnostics(): {
|
|
17
21
|
type: string;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
export class LiveContextManager {
|
|
2
2
|
instances: Map<any, any>;
|
|
3
3
|
currentInstanceID: any;
|
|
4
|
+
getCallerIdentity(): {
|
|
5
|
+
currentWrapper: any;
|
|
6
|
+
callerWrapper: any;
|
|
7
|
+
unresolved?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
currentWrapper: null;
|
|
10
|
+
callerWrapper: any;
|
|
11
|
+
unresolved: boolean;
|
|
12
|
+
} | undefined;
|
|
4
13
|
registerEventEmitterContextChecker(): void;
|
|
5
14
|
initialize(instanceID: any, config?: {}): {
|
|
6
15
|
instanceID: any;
|
|
@@ -23,5 +32,6 @@ export class LiveContextManager {
|
|
|
23
32
|
selfKeys: string[];
|
|
24
33
|
}[];
|
|
25
34
|
};
|
|
35
|
+
#private;
|
|
26
36
|
}
|
|
27
37
|
export const liveContextManager: LiveContextManager;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export const IMPL_METADATA_KEYS: Set<string>;
|
|
1
2
|
export namespace TYPE_STATES {
|
|
2
3
|
let UNMATERIALIZED: symbol;
|
|
3
4
|
let IN_FLIGHT: symbol;
|
|
@@ -29,8 +30,8 @@ export class UnifiedWrapper extends ComponentBase {
|
|
|
29
30
|
___createChildWrapper(key: any, value: any): any;
|
|
30
31
|
___createWaitingProxy(propChain?: any[]): any;
|
|
31
32
|
createProxy(): any;
|
|
32
|
-
lastSyncError: unknown;
|
|
33
33
|
#private;
|
|
34
34
|
}
|
|
35
|
+
export function isFrameworkReservedKey(key: any): boolean;
|
|
35
36
|
export function resolveWrapper(value: any): any;
|
|
36
37
|
import { ComponentBase } from "#factories/component-base";
|
package/lib/helpers/config.d.mts
CHANGED
|
@@ -117,6 +117,9 @@ export class Config extends ComponentBase {
|
|
|
117
117
|
audit: string;
|
|
118
118
|
readGating: boolean;
|
|
119
119
|
failOpenOnAbsentCaller: boolean;
|
|
120
|
+
references: {
|
|
121
|
+
capture: boolean;
|
|
122
|
+
};
|
|
120
123
|
rules: any;
|
|
121
124
|
} | null;
|
|
122
125
|
suppressFixes: Set<any>;
|
|
@@ -145,6 +148,9 @@ export class Config extends ComponentBase {
|
|
|
145
148
|
audit: string;
|
|
146
149
|
readGating: boolean;
|
|
147
150
|
failOpenOnAbsentCaller: boolean;
|
|
151
|
+
references: {
|
|
152
|
+
capture: boolean;
|
|
153
|
+
};
|
|
148
154
|
rules: any;
|
|
149
155
|
} | null;
|
|
150
156
|
}
|
package/lib/modes/eager.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export class EagerMode extends ComponentBase {
|
|
2
2
|
static slothletProperty: string;
|
|
3
|
-
buildAPI({ dir, apiPathPrefix, collisionContext, moduleID, apiDepth, cacheBust, fileFilter, hidden, scanHiddenFolders, preloadedStructure }: {
|
|
3
|
+
buildAPI({ dir, apiPathPrefix, collisionContext, moduleID, apiDepth, cacheBust, fileFilter, hidden, scanHiddenFolders, preloadedStructure, rootUnwrap }: {
|
|
4
4
|
dir: any;
|
|
5
5
|
apiPathPrefix?: string | undefined;
|
|
6
6
|
collisionContext?: string | undefined;
|
|
@@ -11,6 +11,7 @@ export class EagerMode extends ComponentBase {
|
|
|
11
11
|
hidden?: null | undefined;
|
|
12
12
|
scanHiddenFolders?: boolean | undefined;
|
|
13
13
|
preloadedStructure?: null | undefined;
|
|
14
|
+
rootUnwrap?: boolean | undefined;
|
|
14
15
|
}): Promise<any>;
|
|
15
16
|
}
|
|
16
17
|
import { ComponentBase } from "#factories/component-base";
|
package/lib/modes/lazy.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class LazyMode extends ComponentBase {
|
|
2
2
|
static slothletProperty: string;
|
|
3
3
|
createNamedMaterializeFunc(apiPath: any, handler: any): (...args: any[]) => Promise<any>;
|
|
4
|
-
buildAPI({ dir, apiPathPrefix, collisionContext, collisionMode, moduleID, apiDepth, cacheBust, fileFilter, hidden, scanHiddenFolders, preloadedStructure }: {
|
|
4
|
+
buildAPI({ dir, apiPathPrefix, collisionContext, collisionMode, moduleID, apiDepth, cacheBust, fileFilter, hidden, scanHiddenFolders, preloadedStructure, rootUnwrap }: {
|
|
5
5
|
dir: any;
|
|
6
6
|
apiPathPrefix?: string | undefined;
|
|
7
7
|
collisionContext?: string | undefined;
|
|
@@ -13,6 +13,7 @@ export class LazyMode extends ComponentBase {
|
|
|
13
13
|
hidden?: null | undefined;
|
|
14
14
|
scanHiddenFolders?: boolean | undefined;
|
|
15
15
|
preloadedStructure?: null | undefined;
|
|
16
|
+
rootUnwrap?: boolean | undefined;
|
|
16
17
|
}): Promise<any>;
|
|
17
18
|
}
|
|
18
19
|
import { ComponentBase } from "#factories/component-base";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cldmv/slothlet-types",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.3",
|
|
4
4
|
"description": "TypeScript declaration files (.d.mts) for @cldmv/slothlet. Install alongside @cldmv/slothlet for editor and type-checker support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"slothlet",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"LICENSE"
|
|
98
98
|
],
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@cldmv/slothlet": "3.12.
|
|
100
|
+
"@cldmv/slothlet": "3.12.3"
|
|
101
101
|
},
|
|
102
102
|
"peerDependenciesMeta": {
|
|
103
103
|
"@cldmv/slothlet": {
|