@cldmv/slothlet 3.10.0 → 3.11.1
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 +9 -11
- package/dist/lib/builders/builder.mjs +1 -1
- package/dist/lib/builders/modes-processor.mjs +1 -1
- package/dist/lib/handlers/api-cache-manager.mjs +1 -1
- package/dist/lib/handlers/api-manager.mjs +1 -1
- package/dist/lib/handlers/unified-wrapper.mjs +1 -1
- package/dist/lib/helpers/generate-manifest.mjs +1 -1
- package/dist/lib/helpers/platform.mjs +1 -1
- package/dist/lib/i18n/languages/en-us.json +2 -0
- package/dist/lib/i18n/translations.mjs +1 -1
- package/dist/lib/modes/eager.mjs +1 -1
- package/dist/lib/modes/lazy.mjs +1 -1
- package/dist/lib/processors/loader.mjs +1 -1
- package/dist/slothlet.mjs +1 -1
- package/package.json +58 -31
- package/types/stub/devcheck.d.mts +3 -0
- package/types/stub/index.d.mts +4 -0
- package/types/stub/lib/builders/api-assignment.d.mts +3 -0
- package/types/stub/lib/builders/api_builder.d.mts +3 -0
- package/types/stub/lib/builders/builder.d.mts +3 -0
- package/types/stub/lib/builders/modes-processor.d.mts +3 -0
- package/types/stub/lib/errors.d.mts +3 -0
- package/types/stub/lib/factories/component-base.d.mts +3 -0
- package/types/stub/lib/factories/context.d.mts +3 -0
- package/types/stub/lib/handlers/api-cache-manager.d.mts +3 -0
- package/types/stub/lib/handlers/api-manager.d.mts +3 -0
- package/types/stub/lib/handlers/context-async.d.mts +3 -0
- package/types/stub/lib/handlers/context-live.d.mts +3 -0
- package/types/stub/lib/handlers/hook-manager.d.mts +3 -0
- package/types/stub/lib/handlers/lifecycle-token.d.mts +3 -0
- package/types/stub/lib/handlers/lifecycle.d.mts +3 -0
- package/types/stub/lib/handlers/materialize-manager.d.mts +3 -0
- package/types/stub/lib/handlers/metadata.d.mts +3 -0
- package/types/stub/lib/handlers/module-manager.d.mts +3 -0
- package/types/stub/lib/handlers/ownership.d.mts +3 -0
- package/types/stub/lib/handlers/permission-manager.d.mts +3 -0
- package/types/stub/lib/handlers/unified-wrapper.d.mts +3 -0
- package/types/stub/lib/handlers/version-manager.d.mts +3 -0
- package/types/stub/lib/helpers/class-instance-wrapper.d.mts +3 -0
- package/types/stub/lib/helpers/config.d.mts +3 -0
- package/types/stub/lib/helpers/eventemitter-context.d.mts +3 -0
- package/types/stub/lib/helpers/generate-manifest.d.mts +3 -0
- package/types/stub/lib/helpers/hint-detector.d.mts +3 -0
- package/types/stub/lib/helpers/manifest-resolver.d.mts +3 -0
- package/types/stub/lib/helpers/modes-utils.d.mts +3 -0
- package/types/stub/lib/helpers/module-discovery.d.mts +3 -0
- package/types/stub/lib/helpers/module-manifest-validator.d.mts +3 -0
- package/types/stub/lib/helpers/module-sort.d.mts +3 -0
- package/types/stub/lib/helpers/pattern-matcher.d.mts +3 -0
- package/types/stub/lib/helpers/platform.d.mts +3 -0
- package/types/stub/lib/helpers/resolve-from-caller.d.mts +3 -0
- package/types/stub/lib/helpers/sanitize.d.mts +3 -0
- package/types/stub/lib/helpers/utilities.d.mts +3 -0
- package/types/stub/lib/i18n/translations.d.mts +3 -0
- package/types/stub/lib/modes/eager.d.mts +3 -0
- package/types/stub/lib/modes/lazy.d.mts +3 -0
- package/types/stub/lib/processors/flatten.d.mts +3 -0
- package/types/stub/lib/processors/loader.d.mts +3 -0
- package/types/stub/lib/processors/type-generator.d.mts +3 -0
- package/types/stub/lib/processors/typescript.d.mts +3 -0
- package/types/stub/lib/runtime/runtime-asynclocalstorage.d.mts +3 -0
- package/types/stub/lib/runtime/runtime-livebindings.d.mts +3 -0
- package/types/stub/lib/runtime/runtime.d.mts +3 -0
- package/types/stub/lib/typegen/typegen.d.mts +3 -0
- package/types/stub/slothlet.d.mts +4 -0
- package/dist/lib/i18n/languages/de-de.json +0 -470
- package/dist/lib/i18n/languages/en-gb.json +0 -470
- package/dist/lib/i18n/languages/es-es.json +0 -470
- package/dist/lib/i18n/languages/es-mx.json +0 -470
- package/dist/lib/i18n/languages/fr-fr.json +0 -470
- package/dist/lib/i18n/languages/hi-in.json +0 -470
- package/dist/lib/i18n/languages/ja-jp.json +0 -470
- package/dist/lib/i18n/languages/ko-kr.json +0 -470
- package/dist/lib/i18n/languages/pt-br.json +0 -470
- package/dist/lib/i18n/languages/ru-ru.json +0 -470
- package/dist/lib/i18n/languages/zh-cn.json +0 -470
- package/types/dist/lib/builders/api-assignment.d.mts +0 -8
- package/types/dist/lib/builders/api-assignment.d.mts.map +0 -1
- package/types/dist/lib/builders/api_builder.d.mts +0 -12
- package/types/dist/lib/builders/api_builder.d.mts.map +0 -1
- package/types/dist/lib/builders/builder.d.mts +0 -6
- package/types/dist/lib/builders/builder.d.mts.map +0 -1
- package/types/dist/lib/builders/modes-processor.d.mts +0 -8
- package/types/dist/lib/builders/modes-processor.d.mts.map +0 -1
- package/types/dist/lib/errors.d.mts +0 -28
- package/types/dist/lib/errors.d.mts.map +0 -1
- package/types/dist/lib/factories/component-base.d.mts +0 -12
- package/types/dist/lib/factories/component-base.d.mts.map +0 -1
- package/types/dist/lib/factories/context.d.mts +0 -8
- package/types/dist/lib/factories/context.d.mts.map +0 -1
- package/types/dist/lib/handlers/api-cache-manager.d.mts +0 -25
- package/types/dist/lib/handlers/api-cache-manager.d.mts.map +0 -1
- package/types/dist/lib/handlers/api-manager.d.mts +0 -47
- package/types/dist/lib/handlers/api-manager.d.mts.map +0 -1
- package/types/dist/lib/handlers/context-async.d.mts +0 -28
- package/types/dist/lib/handlers/context-async.d.mts.map +0 -1
- package/types/dist/lib/handlers/context-live.d.mts +0 -28
- package/types/dist/lib/handlers/context-live.d.mts.map +0 -1
- package/types/dist/lib/handlers/hook-manager.d.mts +0 -69
- package/types/dist/lib/handlers/hook-manager.d.mts.map +0 -1
- package/types/dist/lib/handlers/lifecycle-token.d.mts +0 -4
- package/types/dist/lib/handlers/lifecycle-token.d.mts.map +0 -1
- package/types/dist/lib/handlers/lifecycle.d.mts +0 -13
- package/types/dist/lib/handlers/lifecycle.d.mts.map +0 -1
- package/types/dist/lib/handlers/materialize-manager.d.mts +0 -13
- package/types/dist/lib/handlers/materialize-manager.d.mts.map +0 -1
- package/types/dist/lib/handlers/metadata.d.mts +0 -26
- package/types/dist/lib/handlers/metadata.d.mts.map +0 -1
- package/types/dist/lib/handlers/module-manager.d.mts +0 -29
- package/types/dist/lib/handlers/module-manager.d.mts.map +0 -1
- package/types/dist/lib/handlers/ownership.d.mts +0 -57
- package/types/dist/lib/handlers/ownership.d.mts.map +0 -1
- package/types/dist/lib/handlers/permission-manager.d.mts +0 -56
- package/types/dist/lib/handlers/permission-manager.d.mts.map +0 -1
- package/types/dist/lib/handlers/unified-wrapper.d.mts +0 -37
- package/types/dist/lib/handlers/unified-wrapper.d.mts.map +0 -1
- package/types/dist/lib/handlers/version-manager.d.mts +0 -37
- package/types/dist/lib/handlers/version-manager.d.mts.map +0 -1
- package/types/dist/lib/helpers/class-instance-wrapper.d.mts +0 -4
- package/types/dist/lib/helpers/class-instance-wrapper.d.mts.map +0 -1
- package/types/dist/lib/helpers/config.d.mts +0 -153
- package/types/dist/lib/helpers/config.d.mts.map +0 -1
- package/types/dist/lib/helpers/eventemitter-context.d.mts +0 -5
- package/types/dist/lib/helpers/eventemitter-context.d.mts.map +0 -1
- package/types/dist/lib/helpers/generate-manifest.d.mts +0 -12
- package/types/dist/lib/helpers/generate-manifest.d.mts.map +0 -1
- package/types/dist/lib/helpers/hint-detector.d.mts +0 -7
- package/types/dist/lib/helpers/hint-detector.d.mts.map +0 -1
- package/types/dist/lib/helpers/manifest-resolver.d.mts +0 -2
- package/types/dist/lib/helpers/manifest-resolver.d.mts.map +0 -1
- package/types/dist/lib/helpers/modes-utils.d.mts +0 -8
- package/types/dist/lib/helpers/modes-utils.d.mts.map +0 -1
- package/types/dist/lib/helpers/module-discovery.d.mts +0 -8
- package/types/dist/lib/helpers/module-discovery.d.mts.map +0 -1
- package/types/dist/lib/helpers/module-manifest-validator.d.mts +0 -14
- package/types/dist/lib/helpers/module-manifest-validator.d.mts.map +0 -1
- package/types/dist/lib/helpers/module-sort.d.mts +0 -2
- package/types/dist/lib/helpers/module-sort.d.mts.map +0 -1
- package/types/dist/lib/helpers/pattern-matcher.d.mts +0 -4
- package/types/dist/lib/helpers/pattern-matcher.d.mts.map +0 -1
- package/types/dist/lib/helpers/platform.d.mts +0 -12
- package/types/dist/lib/helpers/platform.d.mts.map +0 -1
- package/types/dist/lib/helpers/resolve-from-caller.d.mts +0 -9
- package/types/dist/lib/helpers/resolve-from-caller.d.mts.map +0 -1
- package/types/dist/lib/helpers/sanitize.d.mts +0 -10
- package/types/dist/lib/helpers/sanitize.d.mts.map +0 -1
- package/types/dist/lib/helpers/utilities.d.mts +0 -9
- package/types/dist/lib/helpers/utilities.d.mts.map +0 -1
- package/types/dist/lib/i18n/translations.d.mts +0 -7
- package/types/dist/lib/i18n/translations.d.mts.map +0 -1
- package/types/dist/lib/modes/eager.d.mts +0 -15
- package/types/dist/lib/modes/eager.d.mts.map +0 -1
- package/types/dist/lib/modes/lazy.d.mts +0 -17
- package/types/dist/lib/modes/lazy.d.mts.map +0 -1
- package/types/dist/lib/processors/flatten.d.mts +0 -63
- package/types/dist/lib/processors/flatten.d.mts.map +0 -1
- package/types/dist/lib/processors/loader.d.mts +0 -12
- package/types/dist/lib/processors/loader.d.mts.map +0 -1
- package/types/dist/lib/processors/type-generator.d.mts +0 -5
- package/types/dist/lib/processors/type-generator.d.mts.map +0 -1
- package/types/dist/lib/processors/typescript.d.mts +0 -18
- package/types/dist/lib/processors/typescript.d.mts.map +0 -1
- package/types/dist/lib/runtime/runtime-asynclocalstorage.d.mts +0 -4
- package/types/dist/lib/runtime/runtime-asynclocalstorage.d.mts.map +0 -1
- package/types/dist/lib/runtime/runtime-livebindings.d.mts +0 -3
- package/types/dist/lib/runtime/runtime-livebindings.d.mts.map +0 -1
- package/types/dist/lib/runtime/runtime.d.mts +0 -4
- package/types/dist/lib/runtime/runtime.d.mts.map +0 -1
- package/types/dist/lib/typegen/typegen.d.mts +0 -5
- package/types/dist/lib/typegen/typegen.d.mts.map +0 -1
- package/types/dist/slothlet.d.mts +0 -4
- package/types/dist/slothlet.d.mts.map +0 -1
- package/types/index.d.mts +0 -18
- package/types/index.d.mts.map +0 -1
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
export class Config extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
normalizeCollision(collision: any): {
|
|
4
|
-
initial: string;
|
|
5
|
-
api: string;
|
|
6
|
-
};
|
|
7
|
-
normalizeRuntime(runtime: any): "async" | "live";
|
|
8
|
-
normalizeMode(mode: any): "eager" | "lazy";
|
|
9
|
-
normalizeMutations(mutations: any): {
|
|
10
|
-
add: boolean;
|
|
11
|
-
remove: boolean;
|
|
12
|
-
reload: boolean;
|
|
13
|
-
permissions: boolean;
|
|
14
|
-
};
|
|
15
|
-
normalizeDebug(debug: any): {
|
|
16
|
-
builder: any;
|
|
17
|
-
api: any;
|
|
18
|
-
index: any;
|
|
19
|
-
modes: any;
|
|
20
|
-
wrapper: any;
|
|
21
|
-
ownership: any;
|
|
22
|
-
context: any;
|
|
23
|
-
initialization: any;
|
|
24
|
-
materialize: any;
|
|
25
|
-
versioning: any;
|
|
26
|
-
permissions: any;
|
|
27
|
-
};
|
|
28
|
-
normalizeEnvTarget(platform: any, hasManifest?: boolean): "browser" | "node";
|
|
29
|
-
normalizeHook(hook: any): {
|
|
30
|
-
enabled: boolean;
|
|
31
|
-
pattern: string;
|
|
32
|
-
suppressErrors: boolean;
|
|
33
|
-
pin: boolean;
|
|
34
|
-
};
|
|
35
|
-
transformConfig(config?: {}): {
|
|
36
|
-
base: any;
|
|
37
|
-
dir: any;
|
|
38
|
-
manifest: any;
|
|
39
|
-
resolveModuleSpecifier: any;
|
|
40
|
-
envTarget: string;
|
|
41
|
-
mode: string;
|
|
42
|
-
runtime: string;
|
|
43
|
-
apiDepth: any;
|
|
44
|
-
reference: any;
|
|
45
|
-
context: any;
|
|
46
|
-
i18n: {
|
|
47
|
-
language: any;
|
|
48
|
-
} | null;
|
|
49
|
-
debug: {
|
|
50
|
-
builder: any;
|
|
51
|
-
api: any;
|
|
52
|
-
index: any;
|
|
53
|
-
modes: any;
|
|
54
|
-
wrapper: any;
|
|
55
|
-
ownership: any;
|
|
56
|
-
context: any;
|
|
57
|
-
initialization: any;
|
|
58
|
-
materialize: any;
|
|
59
|
-
versioning: any;
|
|
60
|
-
permissions: any;
|
|
61
|
-
};
|
|
62
|
-
diagnostics: boolean;
|
|
63
|
-
hook: {
|
|
64
|
-
enabled: boolean;
|
|
65
|
-
pattern: string;
|
|
66
|
-
suppressErrors: boolean;
|
|
67
|
-
pin: boolean;
|
|
68
|
-
};
|
|
69
|
-
collision: {
|
|
70
|
-
initial: string;
|
|
71
|
-
api: string;
|
|
72
|
-
};
|
|
73
|
-
api: {
|
|
74
|
-
collision: {
|
|
75
|
-
initial: string;
|
|
76
|
-
api: string;
|
|
77
|
-
};
|
|
78
|
-
mutations: {
|
|
79
|
-
add: boolean;
|
|
80
|
-
remove: boolean;
|
|
81
|
-
reload: boolean;
|
|
82
|
-
permissions: boolean;
|
|
83
|
-
} | {
|
|
84
|
-
add: boolean;
|
|
85
|
-
remove: boolean;
|
|
86
|
-
reload: boolean;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
scope: any;
|
|
90
|
-
tracking: {
|
|
91
|
-
materialization: boolean;
|
|
92
|
-
};
|
|
93
|
-
backgroundMaterialize: boolean;
|
|
94
|
-
silent: boolean;
|
|
95
|
-
typescript: {
|
|
96
|
-
enabled: boolean;
|
|
97
|
-
mode: string;
|
|
98
|
-
types?: undefined;
|
|
99
|
-
target?: undefined;
|
|
100
|
-
sourcemap?: undefined;
|
|
101
|
-
} | {
|
|
102
|
-
enabled: boolean;
|
|
103
|
-
mode: string;
|
|
104
|
-
types: any;
|
|
105
|
-
target: any;
|
|
106
|
-
sourcemap: any;
|
|
107
|
-
} | null;
|
|
108
|
-
env: {
|
|
109
|
-
include: any;
|
|
110
|
-
} | null;
|
|
111
|
-
versionDispatcher: any;
|
|
112
|
-
permissions: {
|
|
113
|
-
defaultPolicy: string;
|
|
114
|
-
enabled: boolean;
|
|
115
|
-
audit: string;
|
|
116
|
-
readGating: boolean;
|
|
117
|
-
rules: any;
|
|
118
|
-
} | null;
|
|
119
|
-
suppressFixes: Set<any>;
|
|
120
|
-
};
|
|
121
|
-
normalizeSuppressFixes(suppressFixes: any, silent: any): Set<any>;
|
|
122
|
-
normalizeTypeScript(typescript: any): {
|
|
123
|
-
enabled: boolean;
|
|
124
|
-
mode: string;
|
|
125
|
-
types?: undefined;
|
|
126
|
-
target?: undefined;
|
|
127
|
-
sourcemap?: undefined;
|
|
128
|
-
} | {
|
|
129
|
-
enabled: boolean;
|
|
130
|
-
mode: string;
|
|
131
|
-
types: any;
|
|
132
|
-
target: any;
|
|
133
|
-
sourcemap: any;
|
|
134
|
-
} | null;
|
|
135
|
-
normalizeEnv(env: any): {
|
|
136
|
-
include: any;
|
|
137
|
-
} | null;
|
|
138
|
-
normalizePermissions(permissions: any): {
|
|
139
|
-
defaultPolicy: string;
|
|
140
|
-
enabled: boolean;
|
|
141
|
-
audit: string;
|
|
142
|
-
readGating: boolean;
|
|
143
|
-
rules: any;
|
|
144
|
-
} | null;
|
|
145
|
-
}
|
|
146
|
-
export function normalizeHookConfig(hook: any): {
|
|
147
|
-
enabled: boolean;
|
|
148
|
-
pattern: string;
|
|
149
|
-
suppressErrors: boolean;
|
|
150
|
-
pin: boolean;
|
|
151
|
-
};
|
|
152
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
153
|
-
//# sourceMappingURL=config.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/config.mjs"],"names":[],"mappings":"AAAwqB;IAAmC,gCAAiC;IAAA;;;MAA2mB;IAAA,iDAA+U;IAAA,2CAA0S;IAAA;;;;;MAAqV;IAAA;;;;;;;;;;;;MAA46B;IAAA,6EAAwL;IAAA;;;;;MAAqD;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAu8I;IAAA,kEAA0gB;IAAA;;;;;;;;;;;;aAAyf;IAAA;;aAAiN;IAAA;;;;;;aAAymD;CAAC;AAA7gV;;;;;EAAkf;8BAA/oB,0CAA0C"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export function cleanupEventEmitterResources(): void;
|
|
2
|
-
export function disableEventEmitterPatching(): void;
|
|
3
|
-
export function enableEventEmitterPatching(): void;
|
|
4
|
-
export function setApiContextChecker(checker: any): void;
|
|
5
|
-
//# sourceMappingURL=eventemitter-context.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventemitter-context.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/eventemitter-context.mjs"],"names":[],"mappings":"AAAk7P,qDAA2M;AAAtmB,oDAA2Z;AAArrB,mDAA0R;AAAt7O,yDAA8D"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export function collectSlothletSpecifiers(root: any): Promise<Set<string>>;
|
|
2
|
-
export function generateBrowserAssets(apiDir: any, options?: {}): Promise<{
|
|
3
|
-
manifest: any;
|
|
4
|
-
importmap: {
|
|
5
|
-
imports: {};
|
|
6
|
-
};
|
|
7
|
-
}>;
|
|
8
|
-
export function generateImportMap(slothletBase?: string): Promise<{
|
|
9
|
-
imports: {};
|
|
10
|
-
}>;
|
|
11
|
-
export function generateManifest(dir: any): Promise<any>;
|
|
12
|
-
//# sourceMappingURL=generate-manifest.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-manifest.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/generate-manifest.mjs"],"names":[],"mappings":"AAAooE,2EAA2wD;AAA6vB;;;;;GAAoZ;AAAjpC;;GAA6vB;AAApuG,yDAAgnB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export class HintDetector extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
detectHint(error: any, errorCode: any): string;
|
|
4
|
-
}
|
|
5
|
-
export function detectHint(error: any, errorCode: any): string;
|
|
6
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
7
|
-
//# sourceMappingURL=hint-detector.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hint-detector.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/hint-detector.mjs"],"names":[],"mappings":"AAA4S;IAAyC,gCAAuC;IAAA,+CAA2M;CAAC;AAA5M,+DAA2M;8BAA9iB,0CAA0C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-resolver.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/manifest-resolver.mjs"],"names":[],"mappings":"AAAA,oDAAoW,UAAK,YAA2C"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export class ModesUtils extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
ensureNamedExportFunction(fn: any, ____nameHint: any): any;
|
|
4
|
-
cloneWrapperImpl(value: any, mode: any): any;
|
|
5
|
-
getOwnershipCollisionMode(config: any, collisionContext?: string): any;
|
|
6
|
-
}
|
|
7
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
8
|
-
//# sourceMappingURL=modes-utils.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modes-utils.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/modes-utils.mjs"],"names":[],"mappings":"AAAoE;IAAuC,gCAAqC;IAAA,2DAAqD;IAAA,6CAAqR;IAAA,uEAAkH;CAAC;8BAApjB,0CAA0C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module-discovery.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/module-discovery.mjs"],"names":[],"mappings":"AAA+S;;;;;;MAA2nE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export function validateModuleManifest(manifest: any, packageContext: any): {
|
|
2
|
-
schemaVersion: number;
|
|
3
|
-
name: any;
|
|
4
|
-
version: any;
|
|
5
|
-
description: any;
|
|
6
|
-
mountPath: any[];
|
|
7
|
-
apiDir: any;
|
|
8
|
-
kind: any;
|
|
9
|
-
priority: any;
|
|
10
|
-
dependencies: any;
|
|
11
|
-
permissions: any;
|
|
12
|
-
metadata: any;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=module-manifest-validator.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module-manifest-validator.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/module-manifest-validator.mjs"],"names":[],"mappings":"AAAie;;;;;;;;;;;;EAAmmK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module-sort.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/module-sort.mjs"],"names":[],"mappings":"AAAA,kEAAkJ"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function compilePattern(pattern: any, options?: {}): any;
|
|
2
|
-
export function expandBraces(pattern: any, depth?: number, maxDepth?: number, options?: {}): any;
|
|
3
|
-
export function splitBraceAlternatives(content: any): string[];
|
|
4
|
-
//# sourceMappingURL=pattern-matcher.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pattern-matcher.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/pattern-matcher.mjs"],"names":[],"mappings":"AAAkD,gEAA+oB;AAAA,iGAA44B;AAAA,+DAAqX"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export let AsyncLocalStorage: null;
|
|
2
|
-
export let AsyncResource: null;
|
|
3
|
-
export let EventEmitter: null;
|
|
4
|
-
export let createRequire: null;
|
|
5
|
-
export let fs: null;
|
|
6
|
-
export let fsp: null;
|
|
7
|
-
export const isNode: boolean;
|
|
8
|
-
export function loadJson(ref: any): any;
|
|
9
|
-
export let path: null;
|
|
10
|
-
export let url: null;
|
|
11
|
-
export let util: null;
|
|
12
|
-
//# sourceMappingURL=platform.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/platform.mjs"],"names":[],"mappings":"AAAoK,mCAA2B;AAAA,+BAAuB;AAAxE,8BAAsB;AAAkD,+BAAuB;AAAjK,oBAAY;AAAA,qBAAa;AAArG,6BAA4E;AAA2tB,wCAA+L;AAAj4B,sBAAc;AAAA,qBAAa;AAAA,sBAAc"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export class Resolver extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
getStack(skipFn: any): string | undefined;
|
|
4
|
-
toFsPath(v: any): any;
|
|
5
|
-
resolvePathFromCaller(rel: any): any;
|
|
6
|
-
#private;
|
|
7
|
-
}
|
|
8
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
9
|
-
//# sourceMappingURL=resolve-from-caller.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-from-caller.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/resolve-from-caller.mjs"],"names":[],"mappings":"AAAmZ;IAAqC,gCAAmC;IAAA,0CAA2N;IAA0L,sBAA8G;IAAs7B,qCAAsgB;;CAAC;8BAAl4E,0CAA0C"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export class Sanitize extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
sanitizePropertyName(input: any, options?: {}): string;
|
|
4
|
-
getModuleId(filePath: any, baseDir: any): any;
|
|
5
|
-
shouldPreserveFunctionCase(name: any): boolean;
|
|
6
|
-
#private;
|
|
7
|
-
}
|
|
8
|
-
export function sanitizePropertyName(input: any, options?: {}): string;
|
|
9
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
10
|
-
//# sourceMappingURL=sanitize.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sanitize.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/sanitize.mjs"],"names":[],"mappings":"AAAoE;IAAqC,gCAAmC;IAAg6G,uDAA4qG;IAAA,8CAA+L;IAAA,+CAA8I;;CAAC;AAAA,uEAAwI;8BAArpO,0CAA0C"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export class Utilities extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
isPlainObject(obj: any): boolean;
|
|
4
|
-
deepMerge(target: any, source: any): any;
|
|
5
|
-
deepClone(obj: any): any;
|
|
6
|
-
generateId(): string;
|
|
7
|
-
}
|
|
8
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
9
|
-
//# sourceMappingURL=utilities.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/utilities.mjs"],"names":[],"mappings":"AAAoE;IAAsC,gCAAoC;IAAA,iCAA0J;IAAA,yCAAmX;IAAA,yBAA+Y;IAAA,qBAAsF;CAAC;8BAAxmC,0CAA0C"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function getLanguage(): string;
|
|
2
|
-
export function initI18n(options?: {}): void;
|
|
3
|
-
export function setLanguage(lang: any): void;
|
|
4
|
-
export function setLanguageAsync(lang: any): Promise<void>;
|
|
5
|
-
export function t(errorCode: any, params?: {}): any;
|
|
6
|
-
export function translate(errorCode: any, params?: {}): any;
|
|
7
|
-
//# sourceMappingURL=translations.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.mts","sourceRoot":"","sources":["../../../../dist/lib/i18n/translations.mjs"],"names":[],"mappings":"AAAgpF,sCAA8C;AAAmc,6CAAgX;AAA7tD,6CAA8b;AAAA,2DAA8b;AAA8C,oDAAmc;AAAnc,4DAAmc"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export class EagerMode extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
buildAPI({ dir, apiPathPrefix, collisionContext, moduleID, apiDepth, cacheBust, fileFilter, preloadedStructure }: {
|
|
4
|
-
dir: any;
|
|
5
|
-
apiPathPrefix?: string | undefined;
|
|
6
|
-
collisionContext?: string | undefined;
|
|
7
|
-
moduleID: any;
|
|
8
|
-
apiDepth?: number | undefined;
|
|
9
|
-
cacheBust?: null | undefined;
|
|
10
|
-
fileFilter?: null | undefined;
|
|
11
|
-
preloadedStructure?: null | undefined;
|
|
12
|
-
}): Promise<any>;
|
|
13
|
-
}
|
|
14
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
15
|
-
//# sourceMappingURL=eager.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/modes/eager.mjs"],"names":[],"mappings":"AAAoE;IAAsC,gCAAgC;IAAsC;;;;;;;;;qBAA6rC;CAAC;8BAAr1C,0CAA0C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export class LazyMode extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
createNamedMaterializeFunc(apiPath: any, handler: any): (...args: any[]) => Promise<any>;
|
|
4
|
-
buildAPI({ dir, apiPathPrefix, collisionContext, collisionMode, moduleID, apiDepth, cacheBust, fileFilter, preloadedStructure }: {
|
|
5
|
-
dir: any;
|
|
6
|
-
apiPathPrefix?: string | undefined;
|
|
7
|
-
collisionContext?: string | undefined;
|
|
8
|
-
collisionMode?: null | undefined;
|
|
9
|
-
moduleID: any;
|
|
10
|
-
apiDepth?: number | undefined;
|
|
11
|
-
cacheBust?: null | undefined;
|
|
12
|
-
fileFilter?: null | undefined;
|
|
13
|
-
preloadedStructure?: null | undefined;
|
|
14
|
-
}): Promise<any>;
|
|
15
|
-
}
|
|
16
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
17
|
-
//# sourceMappingURL=lazy.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lazy.d.mts","sourceRoot":"","sources":["../../../../dist/lib/modes/lazy.mjs"],"names":[],"mappings":"AAAoE;IAAqC,gCAA+B;IAAsC,yFAAiV;IAAA;;;;;;;;;;qBAAg1C;CAAC;8BAAvzD,0CAA0C"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
export class Flatten extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
getFlatteningDecision(options: any): Promise<{
|
|
4
|
-
preserveAsNamespace: boolean;
|
|
5
|
-
reason: any;
|
|
6
|
-
flattenToRoot?: undefined;
|
|
7
|
-
} | {
|
|
8
|
-
flattenToRoot: boolean;
|
|
9
|
-
reason: any;
|
|
10
|
-
preserveAsNamespace?: undefined;
|
|
11
|
-
} | {
|
|
12
|
-
flattenToCategory: boolean;
|
|
13
|
-
flattenType: string;
|
|
14
|
-
reason: any;
|
|
15
|
-
useAutoFlattening?: undefined;
|
|
16
|
-
preserveAsNamespace?: undefined;
|
|
17
|
-
preferredName?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
useAutoFlattening: boolean;
|
|
20
|
-
reason: any;
|
|
21
|
-
flattenToCategory?: undefined;
|
|
22
|
-
flattenType?: undefined;
|
|
23
|
-
preserveAsNamespace?: undefined;
|
|
24
|
-
preferredName?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
flattenToCategory: boolean;
|
|
27
|
-
reason: any;
|
|
28
|
-
flattenType?: undefined;
|
|
29
|
-
useAutoFlattening?: undefined;
|
|
30
|
-
preserveAsNamespace?: undefined;
|
|
31
|
-
preferredName?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
preserveAsNamespace: boolean;
|
|
34
|
-
preferredName: any;
|
|
35
|
-
reason: any;
|
|
36
|
-
flattenToCategory?: undefined;
|
|
37
|
-
flattenType?: undefined;
|
|
38
|
-
useAutoFlattening?: undefined;
|
|
39
|
-
}>;
|
|
40
|
-
processModuleForAPI(options: any): {
|
|
41
|
-
moduleContent: any;
|
|
42
|
-
};
|
|
43
|
-
buildCategoryDecisions(options: any): Promise<{
|
|
44
|
-
shouldFlatten: boolean;
|
|
45
|
-
flattenType: string;
|
|
46
|
-
reason: any;
|
|
47
|
-
preferredName?: undefined;
|
|
48
|
-
} | {
|
|
49
|
-
shouldFlatten: boolean;
|
|
50
|
-
flattenType: string;
|
|
51
|
-
preferredName: any;
|
|
52
|
-
reason: any;
|
|
53
|
-
} | {
|
|
54
|
-
shouldFlatten: boolean;
|
|
55
|
-
preferredName: any;
|
|
56
|
-
reason: any;
|
|
57
|
-
flattenType?: undefined;
|
|
58
|
-
}>;
|
|
59
|
-
shouldAttachNamedExport(key: any, value: any, defaultFunc: any, originalDefault: any): boolean;
|
|
60
|
-
#private;
|
|
61
|
-
}
|
|
62
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
63
|
-
//# sourceMappingURL=flatten.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flatten.d.mts","sourceRoot":"","sources":["../../../../dist/lib/processors/flatten.mjs"],"names":[],"mappings":"AAAoE;IAAoC,gCAAkC;IAAqjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA8pE;IAAA;;MAA+yF;IAAA;;;;;;;;;;;;;;;OAAk7G;IAAA,+FAA0U;;CAAC;8BAAh3S,0CAA0C"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export class Loader extends ComponentBase {
|
|
2
|
-
static slothletProperty: string;
|
|
3
|
-
loadModule(filePath: any, instanceID: any, moduleID: any, cacheBust?: null): Promise<any>;
|
|
4
|
-
scanDirectory(dir: any, options?: {}): Promise<{
|
|
5
|
-
files: never[];
|
|
6
|
-
directories: never[];
|
|
7
|
-
}>;
|
|
8
|
-
extractExports(module: any): {};
|
|
9
|
-
#private;
|
|
10
|
-
}
|
|
11
|
-
import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
|
|
12
|
-
//# sourceMappingURL=loader.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loader.d.mts","sourceRoot":"","sources":["../../../../dist/lib/processors/loader.mjs"],"names":[],"mappings":"AAA6I;IAAmC,gCAAiC;IAAsC,0FAAooH;IAA0zB;;;OAAkjD;IAA6pF,gCAAipB;;CAAC;8BAA7/S,0CAA0C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-generator.d.mts","sourceRoot":"","sources":["../../../../dist/lib/processors/type-generator.mjs"],"names":[],"mappings":"AAA+V;;;GAA0gC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export function createDataUrl(code: any): string;
|
|
2
|
-
export function formatDiagnostics(diagnostics: any, ts: any): any;
|
|
3
|
-
export function maskStringsAndComments(code: any): Uint8Array<any>;
|
|
4
|
-
export function resolveModuleFile(absoluteTarget: any): {
|
|
5
|
-
path: any;
|
|
6
|
-
isTS: boolean;
|
|
7
|
-
};
|
|
8
|
-
export function rewriteRelativeSpecifiers(code: any, sourcePath: any, resolve: any): any;
|
|
9
|
-
export function transformTypeScript(filePath: any, options?: {}): Promise<any>;
|
|
10
|
-
export function transformTypeScriptStrict(filePath: any, options?: {}): Promise<{
|
|
11
|
-
code: any;
|
|
12
|
-
diagnostics: any[];
|
|
13
|
-
}>;
|
|
14
|
-
export function writeTransformedToCache(originalPath: any, code: any, instanceID: any, transform: any): Promise<{
|
|
15
|
-
url: any;
|
|
16
|
-
cacheDir: any;
|
|
17
|
-
}>;
|
|
18
|
-
//# sourceMappingURL=typescript.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript.d.mts","sourceRoot":"","sources":["../../../../dist/lib/processors/typescript.mjs"],"names":[],"mappings":"AAA2hC,iDAAoK;AAA64Q,kEAAkZ;AAAluN,mEAA+kC;AAA55D;;;EAA8iB;AAAqwD,yFAA68B;AAAh9J,+EAA4T;AAA8oN;;;GAAm6D;AAA75H;;;GAA0/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-asynclocalstorage.d.mts","sourceRoot":"","sources":["../../../../dist/lib/runtime/runtime-asynclocalstorage.mjs"],"names":[],"mappings":"AAAmzC,yBAAmrB;AAAA,4BAA6V;AAAnoE,sBAAmnC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-livebindings.d.mts","sourceRoot":"","sources":["../../../../dist/lib/runtime/runtime-livebindings.mjs"],"names":[],"mappings":"AAAwwC,yBAA2tB;AAAt3D,sBAA2pC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.mts","sourceRoot":"","sources":["../../../../dist/lib/runtime/runtime.mjs"],"names":[],"mappings":"AAAo8B,yBAA4e;AAAA,4BAAoP;AAAvvC,sBAAuhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typegen.d.mts","sourceRoot":"","sources":["../../../../dist/lib/typegen/typegen.mjs"],"names":[],"mappings":"AAAiN;;;GAA61B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slothlet.d.mts","sourceRoot":"","sources":["../../dist/slothlet.mjs"],"names":[],"mappings":"AAA+2d,yDAA6G;AAA7G,mDAA6G"}
|
package/types/index.d.mts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export default slothlet;
|
|
2
|
-
/**
|
|
3
|
-
* Creates a slothlet API instance with live-binding context and AsyncLocalStorage support.
|
|
4
|
-
* Automatically wraps all API functions with context isolation for multi-instance support.
|
|
5
|
-
* @public
|
|
6
|
-
* @async
|
|
7
|
-
*
|
|
8
|
-
* @param {import("./src/slothlet.mjs").SlothletOptions} [options={}] - Configuration options for the slothlet instance. See {@link SlothletOptions} for the full set.
|
|
9
|
-
* @returns {Promise<import("./src/slothlet.mjs").SlothletAPI>} The bound API object with management methods
|
|
10
|
-
*
|
|
11
|
-
* @example // ESM
|
|
12
|
-
* import slothlet from "@cldmv/slothlet";
|
|
13
|
-
* const api = await slothlet({ base: './api', mode: 'lazy' });
|
|
14
|
-
* const result = await api.math.add(2, 3); // 5
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
export function slothlet(options?: import("./src/slothlet.mjs").SlothletOptions): Promise<import("./src/slothlet.mjs").SlothletAPI>;
|
|
18
|
-
//# sourceMappingURL=index.d.mts.map
|
package/types/index.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../index.mjs"],"names":[],"mappings":";AAsGA;;;;;;;;;;;;;;GAcG;AACH,mCATW,OAAO,oBAAoB,EAAE,eAAe,GAC1C,OAAO,CAAC,OAAO,oBAAoB,EAAE,WAAW,CAAC,CAkB7D"}
|