@cldmv/slothlet-types 3.12.3 → 3.13.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/errors.d.mts +1 -0
- package/lib/handlers/api-manager.d.mts +2 -0
- package/lib/handlers/hook-manager.d.mts +20 -0
- package/lib/handlers/permission-manager.d.mts +1 -0
- package/lib/handlers/version-manager.d.mts +1 -0
- package/lib/helpers/config.d.mts +7 -0
- package/lib/processors/loader.d.mts +4 -0
- package/package.json +2 -2
package/lib/errors.d.mts
CHANGED
|
@@ -4,6 +4,7 @@ export class ApiManager extends ComponentBase {
|
|
|
4
4
|
addHistory: never[];
|
|
5
5
|
initialConfig: any;
|
|
6
6
|
operationHistory: never[];
|
|
7
|
+
replaceShadows: Map<any, any>;
|
|
7
8
|
};
|
|
8
9
|
normalizeApiPath(apiPath: any): {
|
|
9
10
|
apiPath: string;
|
|
@@ -21,6 +22,7 @@ export class ApiManager extends ComponentBase {
|
|
|
21
22
|
setOwnedProperty(apiPath: any, value: any, callerWrapper: any): void;
|
|
22
23
|
isWrapperProxy(value: any): boolean;
|
|
23
24
|
syncWrapper(existingProxy: any, nextProxy: any, config: any, collisionMode?: string, moduleID?: null): Promise<boolean>;
|
|
25
|
+
_recordReplaceShadows(existingWrapper: any, existingChildKeys: any, nextChildKeys: any, moduleID: any): void;
|
|
24
26
|
mutateApiValue(existingValue: any, nextValue: any, options: any, config: any): Promise<any>;
|
|
25
27
|
setValueAtPath(root: any, parts: any, value: any, options: any): Promise<boolean>;
|
|
26
28
|
deletePath(root: any, parts: any): Promise<boolean>;
|
|
@@ -29,6 +29,7 @@ export class HookManager extends ComponentBase {
|
|
|
29
29
|
}[];
|
|
30
30
|
};
|
|
31
31
|
getHooksForPath(type: any, apiPath: any): any[];
|
|
32
|
+
getDispatchStrategy(path: any): any;
|
|
32
33
|
executeBeforeHooks(path: any, args: any, api: any, ctx: any): {
|
|
33
34
|
args: any;
|
|
34
35
|
shortCircuit: boolean;
|
|
@@ -45,6 +46,22 @@ export class HookManager extends ComponentBase {
|
|
|
45
46
|
modified: boolean;
|
|
46
47
|
result: any;
|
|
47
48
|
};
|
|
49
|
+
executeBeforeHooksAsync(path: any, args: any, api: any, ctx: any): Promise<{
|
|
50
|
+
args: any;
|
|
51
|
+
shortCircuit: boolean;
|
|
52
|
+
value: any;
|
|
53
|
+
} | {
|
|
54
|
+
args: any;
|
|
55
|
+
shortCircuit: boolean;
|
|
56
|
+
value?: undefined;
|
|
57
|
+
}>;
|
|
58
|
+
executeAfterHooksAsync(path: any, result: any, args: any, api: any, ctx: any): Promise<{
|
|
59
|
+
modified: boolean;
|
|
60
|
+
result?: undefined;
|
|
61
|
+
} | {
|
|
62
|
+
modified: boolean;
|
|
63
|
+
result: any;
|
|
64
|
+
}>;
|
|
48
65
|
executeAlwaysHooks(path: any, args: any, resultOrError: any, hasError: boolean | undefined, errors: any[] | undefined, api: any, ctx: any): void;
|
|
49
66
|
executeErrorHooks(path: any, error: any, source: any, args: any, api: any, ctx: any): void;
|
|
50
67
|
getCompilePatternForDiagnostics(): (pattern: any) => any;
|
|
@@ -56,8 +73,11 @@ export class HookManager extends ComponentBase {
|
|
|
56
73
|
priority: any;
|
|
57
74
|
subset: any;
|
|
58
75
|
lockCaller: any;
|
|
76
|
+
async: any;
|
|
59
77
|
};
|
|
60
78
|
ownerPath: any;
|
|
79
|
+
version: any;
|
|
80
|
+
groupId: any;
|
|
61
81
|
ownerFilePath: any;
|
|
62
82
|
enabled: any;
|
|
63
83
|
}[];
|
|
@@ -7,6 +7,7 @@ export class VersionManager extends ComponentBase {
|
|
|
7
7
|
getVersionMetadata(moduleID: any): any;
|
|
8
8
|
getVersionMetadataByPath(logicalPath: any, versionTag: any): any;
|
|
9
9
|
setVersionMetadataByPath(logicalPath: any, versionTag: any, patch: any): void;
|
|
10
|
+
findLogicalPathFor(path: any): any;
|
|
10
11
|
list(logicalPath: any): {
|
|
11
12
|
versions: {};
|
|
12
13
|
default: any;
|
package/lib/helpers/config.d.mts
CHANGED
|
@@ -111,6 +111,7 @@ export class Config extends ComponentBase {
|
|
|
111
111
|
include: any;
|
|
112
112
|
} | null;
|
|
113
113
|
versionDispatcher: any;
|
|
114
|
+
import: any;
|
|
114
115
|
permissions: {
|
|
115
116
|
defaultPolicy: string;
|
|
116
117
|
enabled: boolean;
|
|
@@ -120,6 +121,9 @@ export class Config extends ComponentBase {
|
|
|
120
121
|
references: {
|
|
121
122
|
capture: boolean;
|
|
122
123
|
};
|
|
124
|
+
private: {
|
|
125
|
+
host: string;
|
|
126
|
+
};
|
|
123
127
|
rules: any;
|
|
124
128
|
} | null;
|
|
125
129
|
suppressFixes: Set<any>;
|
|
@@ -151,6 +155,9 @@ export class Config extends ComponentBase {
|
|
|
151
155
|
references: {
|
|
152
156
|
capture: boolean;
|
|
153
157
|
};
|
|
158
|
+
private: {
|
|
159
|
+
host: string;
|
|
160
|
+
};
|
|
154
161
|
rules: any;
|
|
155
162
|
} | null;
|
|
156
163
|
}
|
|
@@ -8,4 +8,8 @@ export class Loader extends ComponentBase {
|
|
|
8
8
|
extractExports(module: any): {};
|
|
9
9
|
#private;
|
|
10
10
|
}
|
|
11
|
+
export function warnIfCoverageWithoutImporter(config: any, { worker, externalized }?: {
|
|
12
|
+
worker?: any;
|
|
13
|
+
externalized?: boolean | undefined;
|
|
14
|
+
}): boolean;
|
|
11
15
|
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.13.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",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"LICENSE"
|
|
98
98
|
],
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@cldmv/slothlet": "3.
|
|
100
|
+
"@cldmv/slothlet": "3.13.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependenciesMeta": {
|
|
103
103
|
"@cldmv/slothlet": {
|