@cldmv/slothlet-types 3.11.1 → 3.12.0
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 -1
- package/lib/builders/api_builder.d.mts +1 -1
- package/lib/builders/builder.d.mts +1 -1
- package/lib/builders/modes-processor.d.mts +1 -1
- package/lib/factories/component-base.d.mts +1 -0
- package/lib/factories/context.d.mts +6 -6
- package/lib/handlers/api-cache-manager.d.mts +1 -1
- package/lib/handlers/api-manager.d.mts +1 -1
- package/lib/handlers/hook-manager.d.mts +1 -1
- package/lib/handlers/lifecycle.d.mts +1 -1
- package/lib/handlers/materialize-manager.d.mts +1 -1
- package/lib/handlers/metadata.d.mts +1 -1
- package/lib/handlers/module-manager.d.mts +1 -1
- package/lib/handlers/ownership.d.mts +1 -1
- package/lib/handlers/permission-manager.d.mts +3 -1
- package/lib/handlers/trusted-root.d.mts +4 -0
- package/lib/handlers/unified-wrapper.d.mts +1 -1
- package/lib/handlers/version-manager.d.mts +1 -1
- package/lib/helpers/class-instance-wrapper.d.mts +1 -1
- package/lib/helpers/config.d.mts +6 -1
- package/lib/helpers/hint-detector.d.mts +1 -1
- package/lib/helpers/modes-utils.d.mts +1 -1
- package/lib/helpers/resolve-from-caller.d.mts +1 -1
- package/lib/helpers/sanitize.d.mts +1 -1
- package/lib/helpers/utilities.d.mts +1 -1
- package/lib/modes/eager.d.mts +1 -1
- package/lib/modes/lazy.d.mts +1 -1
- package/lib/processors/flatten.d.mts +1 -1
- package/lib/processors/loader.d.mts +1 -1
- package/package.json +10 -8
|
@@ -4,4 +4,4 @@ export class ApiAssignment extends ComponentBase {
|
|
|
4
4
|
assignToApiPath(targetApi: any, key: any, value: any, options?: {}): boolean;
|
|
5
5
|
mergeApiObjects(targetApi: any, sourceApi: any, options?: {}): Promise<void>;
|
|
6
6
|
}
|
|
7
|
-
import { ComponentBase } from "
|
|
7
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -8,4 +8,4 @@ export class ApiBuilder extends ComponentBase {
|
|
|
8
8
|
createDestroyFunction(api: any): () => Promise<void>;
|
|
9
9
|
attachBuiltins(userApi: any, builtins: any): void;
|
|
10
10
|
}
|
|
11
|
-
import { ComponentBase } from "
|
|
11
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -4,4 +4,4 @@ export class ModesProcessor extends ComponentBase {
|
|
|
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
|
}
|
|
7
|
-
import { ComponentBase } from "
|
|
7
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { asyncContextManager } from "
|
|
2
|
-
export const asyncRuntime: import("
|
|
3
|
-
export const contextManager: import("
|
|
4
|
-
export function getContextManager(runtime?: string): import("
|
|
5
|
-
import { liveContextManager } from "
|
|
6
|
-
export const liveRuntime: import("
|
|
1
|
+
import { asyncContextManager } from "#handlers/context-async";
|
|
2
|
+
export const asyncRuntime: import("#handlers/context-async").AsyncContextManager;
|
|
3
|
+
export const contextManager: import("#handlers/context-async").AsyncContextManager;
|
|
4
|
+
export function getContextManager(runtime?: string): import("#handlers/context-async").AsyncContextManager | import("#handlers/context-live").LiveContextManager;
|
|
5
|
+
import { liveContextManager } from "#handlers/context-live";
|
|
6
|
+
export const liveRuntime: import("#handlers/context-live").LiveContextManager;
|
|
7
7
|
export { asyncContextManager, liveContextManager };
|
|
@@ -44,4 +44,4 @@ export class ApiManager extends ComponentBase {
|
|
|
44
44
|
_restoreApiTree(freshApi: any, endpoint: any, moduleID: any, collisionMode: any, forceReplace?: boolean): Promise<void>;
|
|
45
45
|
#private;
|
|
46
46
|
}
|
|
47
|
-
import { ComponentBase } from "
|
|
47
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -9,4 +9,4 @@ export class Lifecycle extends ComponentBase {
|
|
|
9
9
|
unsubscribe(event: any, handler: any): void;
|
|
10
10
|
emit(event: any, data: any): Promise<void>;
|
|
11
11
|
}
|
|
12
|
-
import { ComponentBase } from "
|
|
12
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -35,6 +35,8 @@ export class PermissionManager extends ComponentBase {
|
|
|
35
35
|
registeredAt: any;
|
|
36
36
|
}[];
|
|
37
37
|
enable(): void;
|
|
38
|
+
seal(): void;
|
|
39
|
+
isSealed(): boolean;
|
|
38
40
|
disable(): void;
|
|
39
41
|
isEnabled(): boolean;
|
|
40
42
|
isReadGatingEnabled(): boolean;
|
|
@@ -52,4 +54,4 @@ export class PermissionManager extends ComponentBase {
|
|
|
52
54
|
debug(category: any, data: any): void;
|
|
53
55
|
#private;
|
|
54
56
|
}
|
|
55
|
-
import { ComponentBase } from "
|
|
57
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export function runtime_isClassInstance(val: any): boolean;
|
|
2
2
|
export function runtime_shouldWrapMethod(value: any, prop: any): boolean;
|
|
3
|
-
export function runtime_wrapClassInstance(instance: any, contextManager: any, instanceID: any, instanceCache: any): any;
|
|
3
|
+
export function runtime_wrapClassInstance(instance: any, contextManager: any, instanceID: any, instanceCache: any, capturedWrapper: any): any;
|
package/lib/helpers/config.d.mts
CHANGED
|
@@ -46,6 +46,7 @@ export class Config extends ComponentBase {
|
|
|
46
46
|
i18n: {
|
|
47
47
|
language: any;
|
|
48
48
|
} | null;
|
|
49
|
+
lifecycle: any;
|
|
49
50
|
debug: {
|
|
50
51
|
builder: any;
|
|
51
52
|
api: any;
|
|
@@ -60,6 +61,7 @@ export class Config extends ComponentBase {
|
|
|
60
61
|
permissions: any;
|
|
61
62
|
};
|
|
62
63
|
diagnostics: boolean;
|
|
64
|
+
collectLifecycleHooks: boolean;
|
|
63
65
|
hook: {
|
|
64
66
|
enabled: boolean;
|
|
65
67
|
pattern: string;
|
|
@@ -114,6 +116,7 @@ export class Config extends ComponentBase {
|
|
|
114
116
|
enabled: boolean;
|
|
115
117
|
audit: string;
|
|
116
118
|
readGating: boolean;
|
|
119
|
+
failOpenOnAbsentCaller: boolean;
|
|
117
120
|
rules: any;
|
|
118
121
|
} | null;
|
|
119
122
|
suppressFixes: Set<any>;
|
|
@@ -135,11 +138,13 @@ export class Config extends ComponentBase {
|
|
|
135
138
|
normalizeEnv(env: any): {
|
|
136
139
|
include: any;
|
|
137
140
|
} | null;
|
|
141
|
+
normalizeLifecycle(lifecycle: any): any;
|
|
138
142
|
normalizePermissions(permissions: any): {
|
|
139
143
|
defaultPolicy: string;
|
|
140
144
|
enabled: boolean;
|
|
141
145
|
audit: string;
|
|
142
146
|
readGating: boolean;
|
|
147
|
+
failOpenOnAbsentCaller: boolean;
|
|
143
148
|
rules: any;
|
|
144
149
|
} | null;
|
|
145
150
|
}
|
|
@@ -149,4 +154,4 @@ export function normalizeHookConfig(hook: any): {
|
|
|
149
154
|
suppressErrors: boolean;
|
|
150
155
|
pin: boolean;
|
|
151
156
|
};
|
|
152
|
-
import { ComponentBase } from "
|
|
157
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -3,4 +3,4 @@ export class HintDetector extends ComponentBase {
|
|
|
3
3
|
detectHint(error: any, errorCode: any): string;
|
|
4
4
|
}
|
|
5
5
|
export function detectHint(error: any, errorCode: any): string;
|
|
6
|
-
import { ComponentBase } from "
|
|
6
|
+
import { ComponentBase } from "#factories/component-base";
|
|
@@ -4,4 +4,4 @@ export class ModesUtils extends ComponentBase {
|
|
|
4
4
|
cloneWrapperImpl(value: any, mode: any): any;
|
|
5
5
|
getOwnershipCollisionMode(config: any, collisionContext?: string): any;
|
|
6
6
|
}
|
|
7
|
-
import { ComponentBase } from "
|
|
7
|
+
import { ComponentBase } from "#factories/component-base";
|
package/lib/modes/eager.d.mts
CHANGED
package/lib/modes/lazy.d.mts
CHANGED
|
@@ -59,4 +59,4 @@ export class Flatten extends ComponentBase {
|
|
|
59
59
|
shouldAttachNamedExport(key: any, value: any, defaultFunc: any, originalDefault: any): boolean;
|
|
60
60
|
#private;
|
|
61
61
|
}
|
|
62
|
-
import { ComponentBase } from "
|
|
62
|
+
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.
|
|
3
|
+
"version": "3.12.0",
|
|
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",
|
|
@@ -73,15 +73,9 @@
|
|
|
73
73
|
"./builders/*": {
|
|
74
74
|
"types": "./lib/builders/*.d.mts"
|
|
75
75
|
},
|
|
76
|
-
"./handlers/*": {
|
|
77
|
-
"types": "./lib/handlers/*.d.mts"
|
|
78
|
-
},
|
|
79
76
|
"./processors/*": {
|
|
80
77
|
"types": "./lib/processors/*.d.mts"
|
|
81
78
|
},
|
|
82
|
-
"./factories/*": {
|
|
83
|
-
"types": "./lib/factories/*.d.mts"
|
|
84
|
-
},
|
|
85
79
|
"./errors": {
|
|
86
80
|
"types": "./lib/errors.d.mts"
|
|
87
81
|
},
|
|
@@ -89,13 +83,21 @@
|
|
|
89
83
|
"types": "./lib/i18n/translations.d.mts"
|
|
90
84
|
}
|
|
91
85
|
},
|
|
86
|
+
"imports": {
|
|
87
|
+
"#handlers/*": {
|
|
88
|
+
"types": "./lib/handlers/*.d.mts"
|
|
89
|
+
},
|
|
90
|
+
"#factories/*": {
|
|
91
|
+
"types": "./lib/factories/*.d.mts"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
92
94
|
"files": [
|
|
93
95
|
"**/*.d.mts",
|
|
94
96
|
"README.md",
|
|
95
97
|
"LICENSE"
|
|
96
98
|
],
|
|
97
99
|
"peerDependencies": {
|
|
98
|
-
"@cldmv/slothlet": "3.
|
|
100
|
+
"@cldmv/slothlet": "3.12.0"
|
|
99
101
|
},
|
|
100
102
|
"peerDependenciesMeta": {
|
|
101
103
|
"@cldmv/slothlet": {
|