@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.
Files changed (174) hide show
  1. package/README.md +9 -11
  2. package/dist/lib/builders/builder.mjs +1 -1
  3. package/dist/lib/builders/modes-processor.mjs +1 -1
  4. package/dist/lib/handlers/api-cache-manager.mjs +1 -1
  5. package/dist/lib/handlers/api-manager.mjs +1 -1
  6. package/dist/lib/handlers/unified-wrapper.mjs +1 -1
  7. package/dist/lib/helpers/generate-manifest.mjs +1 -1
  8. package/dist/lib/helpers/platform.mjs +1 -1
  9. package/dist/lib/i18n/languages/en-us.json +2 -0
  10. package/dist/lib/i18n/translations.mjs +1 -1
  11. package/dist/lib/modes/eager.mjs +1 -1
  12. package/dist/lib/modes/lazy.mjs +1 -1
  13. package/dist/lib/processors/loader.mjs +1 -1
  14. package/dist/slothlet.mjs +1 -1
  15. package/package.json +58 -31
  16. package/types/stub/devcheck.d.mts +3 -0
  17. package/types/stub/index.d.mts +4 -0
  18. package/types/stub/lib/builders/api-assignment.d.mts +3 -0
  19. package/types/stub/lib/builders/api_builder.d.mts +3 -0
  20. package/types/stub/lib/builders/builder.d.mts +3 -0
  21. package/types/stub/lib/builders/modes-processor.d.mts +3 -0
  22. package/types/stub/lib/errors.d.mts +3 -0
  23. package/types/stub/lib/factories/component-base.d.mts +3 -0
  24. package/types/stub/lib/factories/context.d.mts +3 -0
  25. package/types/stub/lib/handlers/api-cache-manager.d.mts +3 -0
  26. package/types/stub/lib/handlers/api-manager.d.mts +3 -0
  27. package/types/stub/lib/handlers/context-async.d.mts +3 -0
  28. package/types/stub/lib/handlers/context-live.d.mts +3 -0
  29. package/types/stub/lib/handlers/hook-manager.d.mts +3 -0
  30. package/types/stub/lib/handlers/lifecycle-token.d.mts +3 -0
  31. package/types/stub/lib/handlers/lifecycle.d.mts +3 -0
  32. package/types/stub/lib/handlers/materialize-manager.d.mts +3 -0
  33. package/types/stub/lib/handlers/metadata.d.mts +3 -0
  34. package/types/stub/lib/handlers/module-manager.d.mts +3 -0
  35. package/types/stub/lib/handlers/ownership.d.mts +3 -0
  36. package/types/stub/lib/handlers/permission-manager.d.mts +3 -0
  37. package/types/stub/lib/handlers/unified-wrapper.d.mts +3 -0
  38. package/types/stub/lib/handlers/version-manager.d.mts +3 -0
  39. package/types/stub/lib/helpers/class-instance-wrapper.d.mts +3 -0
  40. package/types/stub/lib/helpers/config.d.mts +3 -0
  41. package/types/stub/lib/helpers/eventemitter-context.d.mts +3 -0
  42. package/types/stub/lib/helpers/generate-manifest.d.mts +3 -0
  43. package/types/stub/lib/helpers/hint-detector.d.mts +3 -0
  44. package/types/stub/lib/helpers/manifest-resolver.d.mts +3 -0
  45. package/types/stub/lib/helpers/modes-utils.d.mts +3 -0
  46. package/types/stub/lib/helpers/module-discovery.d.mts +3 -0
  47. package/types/stub/lib/helpers/module-manifest-validator.d.mts +3 -0
  48. package/types/stub/lib/helpers/module-sort.d.mts +3 -0
  49. package/types/stub/lib/helpers/pattern-matcher.d.mts +3 -0
  50. package/types/stub/lib/helpers/platform.d.mts +3 -0
  51. package/types/stub/lib/helpers/resolve-from-caller.d.mts +3 -0
  52. package/types/stub/lib/helpers/sanitize.d.mts +3 -0
  53. package/types/stub/lib/helpers/utilities.d.mts +3 -0
  54. package/types/stub/lib/i18n/translations.d.mts +3 -0
  55. package/types/stub/lib/modes/eager.d.mts +3 -0
  56. package/types/stub/lib/modes/lazy.d.mts +3 -0
  57. package/types/stub/lib/processors/flatten.d.mts +3 -0
  58. package/types/stub/lib/processors/loader.d.mts +3 -0
  59. package/types/stub/lib/processors/type-generator.d.mts +3 -0
  60. package/types/stub/lib/processors/typescript.d.mts +3 -0
  61. package/types/stub/lib/runtime/runtime-asynclocalstorage.d.mts +3 -0
  62. package/types/stub/lib/runtime/runtime-livebindings.d.mts +3 -0
  63. package/types/stub/lib/runtime/runtime.d.mts +3 -0
  64. package/types/stub/lib/typegen/typegen.d.mts +3 -0
  65. package/types/stub/slothlet.d.mts +4 -0
  66. package/dist/lib/i18n/languages/de-de.json +0 -470
  67. package/dist/lib/i18n/languages/en-gb.json +0 -470
  68. package/dist/lib/i18n/languages/es-es.json +0 -470
  69. package/dist/lib/i18n/languages/es-mx.json +0 -470
  70. package/dist/lib/i18n/languages/fr-fr.json +0 -470
  71. package/dist/lib/i18n/languages/hi-in.json +0 -470
  72. package/dist/lib/i18n/languages/ja-jp.json +0 -470
  73. package/dist/lib/i18n/languages/ko-kr.json +0 -470
  74. package/dist/lib/i18n/languages/pt-br.json +0 -470
  75. package/dist/lib/i18n/languages/ru-ru.json +0 -470
  76. package/dist/lib/i18n/languages/zh-cn.json +0 -470
  77. package/types/dist/lib/builders/api-assignment.d.mts +0 -8
  78. package/types/dist/lib/builders/api-assignment.d.mts.map +0 -1
  79. package/types/dist/lib/builders/api_builder.d.mts +0 -12
  80. package/types/dist/lib/builders/api_builder.d.mts.map +0 -1
  81. package/types/dist/lib/builders/builder.d.mts +0 -6
  82. package/types/dist/lib/builders/builder.d.mts.map +0 -1
  83. package/types/dist/lib/builders/modes-processor.d.mts +0 -8
  84. package/types/dist/lib/builders/modes-processor.d.mts.map +0 -1
  85. package/types/dist/lib/errors.d.mts +0 -28
  86. package/types/dist/lib/errors.d.mts.map +0 -1
  87. package/types/dist/lib/factories/component-base.d.mts +0 -12
  88. package/types/dist/lib/factories/component-base.d.mts.map +0 -1
  89. package/types/dist/lib/factories/context.d.mts +0 -8
  90. package/types/dist/lib/factories/context.d.mts.map +0 -1
  91. package/types/dist/lib/handlers/api-cache-manager.d.mts +0 -25
  92. package/types/dist/lib/handlers/api-cache-manager.d.mts.map +0 -1
  93. package/types/dist/lib/handlers/api-manager.d.mts +0 -47
  94. package/types/dist/lib/handlers/api-manager.d.mts.map +0 -1
  95. package/types/dist/lib/handlers/context-async.d.mts +0 -28
  96. package/types/dist/lib/handlers/context-async.d.mts.map +0 -1
  97. package/types/dist/lib/handlers/context-live.d.mts +0 -28
  98. package/types/dist/lib/handlers/context-live.d.mts.map +0 -1
  99. package/types/dist/lib/handlers/hook-manager.d.mts +0 -69
  100. package/types/dist/lib/handlers/hook-manager.d.mts.map +0 -1
  101. package/types/dist/lib/handlers/lifecycle-token.d.mts +0 -4
  102. package/types/dist/lib/handlers/lifecycle-token.d.mts.map +0 -1
  103. package/types/dist/lib/handlers/lifecycle.d.mts +0 -13
  104. package/types/dist/lib/handlers/lifecycle.d.mts.map +0 -1
  105. package/types/dist/lib/handlers/materialize-manager.d.mts +0 -13
  106. package/types/dist/lib/handlers/materialize-manager.d.mts.map +0 -1
  107. package/types/dist/lib/handlers/metadata.d.mts +0 -26
  108. package/types/dist/lib/handlers/metadata.d.mts.map +0 -1
  109. package/types/dist/lib/handlers/module-manager.d.mts +0 -29
  110. package/types/dist/lib/handlers/module-manager.d.mts.map +0 -1
  111. package/types/dist/lib/handlers/ownership.d.mts +0 -57
  112. package/types/dist/lib/handlers/ownership.d.mts.map +0 -1
  113. package/types/dist/lib/handlers/permission-manager.d.mts +0 -56
  114. package/types/dist/lib/handlers/permission-manager.d.mts.map +0 -1
  115. package/types/dist/lib/handlers/unified-wrapper.d.mts +0 -37
  116. package/types/dist/lib/handlers/unified-wrapper.d.mts.map +0 -1
  117. package/types/dist/lib/handlers/version-manager.d.mts +0 -37
  118. package/types/dist/lib/handlers/version-manager.d.mts.map +0 -1
  119. package/types/dist/lib/helpers/class-instance-wrapper.d.mts +0 -4
  120. package/types/dist/lib/helpers/class-instance-wrapper.d.mts.map +0 -1
  121. package/types/dist/lib/helpers/config.d.mts +0 -153
  122. package/types/dist/lib/helpers/config.d.mts.map +0 -1
  123. package/types/dist/lib/helpers/eventemitter-context.d.mts +0 -5
  124. package/types/dist/lib/helpers/eventemitter-context.d.mts.map +0 -1
  125. package/types/dist/lib/helpers/generate-manifest.d.mts +0 -12
  126. package/types/dist/lib/helpers/generate-manifest.d.mts.map +0 -1
  127. package/types/dist/lib/helpers/hint-detector.d.mts +0 -7
  128. package/types/dist/lib/helpers/hint-detector.d.mts.map +0 -1
  129. package/types/dist/lib/helpers/manifest-resolver.d.mts +0 -2
  130. package/types/dist/lib/helpers/manifest-resolver.d.mts.map +0 -1
  131. package/types/dist/lib/helpers/modes-utils.d.mts +0 -8
  132. package/types/dist/lib/helpers/modes-utils.d.mts.map +0 -1
  133. package/types/dist/lib/helpers/module-discovery.d.mts +0 -8
  134. package/types/dist/lib/helpers/module-discovery.d.mts.map +0 -1
  135. package/types/dist/lib/helpers/module-manifest-validator.d.mts +0 -14
  136. package/types/dist/lib/helpers/module-manifest-validator.d.mts.map +0 -1
  137. package/types/dist/lib/helpers/module-sort.d.mts +0 -2
  138. package/types/dist/lib/helpers/module-sort.d.mts.map +0 -1
  139. package/types/dist/lib/helpers/pattern-matcher.d.mts +0 -4
  140. package/types/dist/lib/helpers/pattern-matcher.d.mts.map +0 -1
  141. package/types/dist/lib/helpers/platform.d.mts +0 -12
  142. package/types/dist/lib/helpers/platform.d.mts.map +0 -1
  143. package/types/dist/lib/helpers/resolve-from-caller.d.mts +0 -9
  144. package/types/dist/lib/helpers/resolve-from-caller.d.mts.map +0 -1
  145. package/types/dist/lib/helpers/sanitize.d.mts +0 -10
  146. package/types/dist/lib/helpers/sanitize.d.mts.map +0 -1
  147. package/types/dist/lib/helpers/utilities.d.mts +0 -9
  148. package/types/dist/lib/helpers/utilities.d.mts.map +0 -1
  149. package/types/dist/lib/i18n/translations.d.mts +0 -7
  150. package/types/dist/lib/i18n/translations.d.mts.map +0 -1
  151. package/types/dist/lib/modes/eager.d.mts +0 -15
  152. package/types/dist/lib/modes/eager.d.mts.map +0 -1
  153. package/types/dist/lib/modes/lazy.d.mts +0 -17
  154. package/types/dist/lib/modes/lazy.d.mts.map +0 -1
  155. package/types/dist/lib/processors/flatten.d.mts +0 -63
  156. package/types/dist/lib/processors/flatten.d.mts.map +0 -1
  157. package/types/dist/lib/processors/loader.d.mts +0 -12
  158. package/types/dist/lib/processors/loader.d.mts.map +0 -1
  159. package/types/dist/lib/processors/type-generator.d.mts +0 -5
  160. package/types/dist/lib/processors/type-generator.d.mts.map +0 -1
  161. package/types/dist/lib/processors/typescript.d.mts +0 -18
  162. package/types/dist/lib/processors/typescript.d.mts.map +0 -1
  163. package/types/dist/lib/runtime/runtime-asynclocalstorage.d.mts +0 -4
  164. package/types/dist/lib/runtime/runtime-asynclocalstorage.d.mts.map +0 -1
  165. package/types/dist/lib/runtime/runtime-livebindings.d.mts +0 -3
  166. package/types/dist/lib/runtime/runtime-livebindings.d.mts.map +0 -1
  167. package/types/dist/lib/runtime/runtime.d.mts +0 -4
  168. package/types/dist/lib/runtime/runtime.d.mts.map +0 -1
  169. package/types/dist/lib/typegen/typegen.d.mts +0 -5
  170. package/types/dist/lib/typegen/typegen.d.mts.map +0 -1
  171. package/types/dist/slothlet.d.mts +0 -4
  172. package/types/dist/slothlet.d.mts.map +0 -1
  173. package/types/index.d.mts +0 -18
  174. package/types/index.d.mts.map +0 -1
@@ -1,12 +0,0 @@
1
- export class ComponentBase {
2
- static INTERNAL_KEYS: Set<string>;
3
- constructor(slothlet: any);
4
- get ____slothlet(): any;
5
- get slothlet(): any;
6
- get ____config(): any;
7
- get instanceID(): any;
8
- get SlothletError(): any;
9
- get SlothletWarning(): any;
10
- #private;
11
- }
12
- //# sourceMappingURL=component-base.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-base.d.mts","sourceRoot":"","sources":["../../../../dist/lib/factories/component-base.mjs"],"names":[],"mappings":"AAAA;IAA0X,kCAAiZ;IAA7uB,2BAA8C;IAAA,wBAAyC;IAAA,oBAAqC;IAAA,sBAAiD;IAAA,sBAAqD;IAAA,yBAA2D;IAAA,2BAA+D;;CAAkZ"}
@@ -1,8 +0,0 @@
1
- import { asyncContextManager } from "@cldmv/slothlet/handlers/context-async";
2
- export const asyncRuntime: import("@cldmv/slothlet/handlers/context-async").AsyncContextManager;
3
- export const contextManager: import("@cldmv/slothlet/handlers/context-async").AsyncContextManager;
4
- export function getContextManager(runtime?: string): import("@cldmv/slothlet/handlers/context-async").AsyncContextManager | import("@cldmv/slothlet/handlers/context-live").LiveContextManager;
5
- import { liveContextManager } from "@cldmv/slothlet/handlers/context-live";
6
- export const liveRuntime: import("@cldmv/slothlet/handlers/context-live").LiveContextManager;
7
- export { asyncContextManager, liveContextManager };
8
- //# sourceMappingURL=context.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.d.mts","sourceRoot":"","sources":["../../../../dist/lib/factories/context.mjs"],"names":[],"mappings":"oCAA+B,wCAAwC;AAA2N,gGAAuC;AAAhF,kGAAyC;AAApJ,+LAA2G;mCAAnJ,uCAAuC;AAA4L,6FAAqC"}
@@ -1,25 +0,0 @@
1
- export class ApiCacheManager extends ComponentBase {
2
- static slothletProperty: string;
3
- caches: Map<any, any>;
4
- set(moduleID: any, entry: any): void;
5
- get(moduleID: any): any;
6
- has(moduleID: any): boolean;
7
- delete(moduleID: any): boolean;
8
- getAllModuleIDs(): any[];
9
- getCacheDiagnostics(): {
10
- totalCaches: number;
11
- caches: {
12
- moduleID: any;
13
- endpoint: any;
14
- folderPath: any;
15
- mode: any;
16
- pathCount: number;
17
- timestamp: any;
18
- }[];
19
- };
20
- _countPaths(api: any, visited?: WeakSet<object>): number;
21
- clear(): void;
22
- rebuildCache(moduleID: any): Promise<any>;
23
- }
24
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
25
- //# sourceMappingURL=api-cache-manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-cache-manager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/api-cache-manager.mjs"],"names":[],"mappings":"AAAoE;IAA4C,gCAA0C;IAAsC,sBAAmB;IAAC,qCAAmtB;IAAA,wBAA+C;IAAA,4BAA+C;IAAA,+BAAoK;IAAA,yBAAwD;IAAA;;;;;;;;;;MAAiT;IAAA,yDAAiU;IAAA,cAA+F;IAAA,0CAAs2B;CAAC;8BAAhwF,0CAA0C"}
@@ -1,47 +0,0 @@
1
- export class ApiManager extends ComponentBase {
2
- static slothletProperty: string;
3
- state: {
4
- addHistory: never[];
5
- initialConfig: any;
6
- operationHistory: never[];
7
- };
8
- normalizeApiPath(apiPath: any): {
9
- apiPath: string;
10
- parts: any[];
11
- };
12
- resolvePath(inputPath: any): Promise<{
13
- resolvedPath: any;
14
- isDirectory: any;
15
- isFile: any;
16
- }>;
17
- resolveFolderPath(folderPath: any): Promise<any>;
18
- buildDefaultModuleId(apiPath: any, ____resolvedFolderPath: any): string;
19
- getValueAtPath(root: any, parts: any): any;
20
- ensureParentPath(root: any, parts: any, options?: {}): any;
21
- setOwnedProperty(apiPath: any, value: any, callerWrapper: any): void;
22
- isWrapperProxy(value: any): boolean;
23
- syncWrapper(existingProxy: any, nextProxy: any, config: any, collisionMode?: string, moduleID?: null): Promise<boolean>;
24
- mutateApiValue(existingValue: any, nextValue: any, options: any, config: any): Promise<any>;
25
- setValueAtPath(root: any, parts: any, value: any, options: any): Promise<boolean>;
26
- deletePath(root: any, parts: any): Promise<boolean>;
27
- restoreApiPath(apiPath: any, moduleID: any): Promise<void>;
28
- addApiComponent(params: any): any;
29
- _rollbackFailedVersionedAdd({ moduleID, effectivePath, normalizedPath }: {
30
- moduleID: any;
31
- effectivePath: any;
32
- normalizedPath: any;
33
- }): Promise<void>;
34
- removeApiComponent(pathOrModuleId: any, options?: {}): Promise<boolean>;
35
- reloadApiComponent(params: any): Promise<void>;
36
- _reloadByModuleID(moduleID: any, { forceReplace }?: {
37
- forceReplace?: boolean | undefined;
38
- }): Promise<void>;
39
- _reloadByApiPath(apiPath: any, options?: {}): Promise<void>;
40
- _findAffectedCaches(apiPath: any): any[];
41
- _collectCustomProperties(existingProxy: any, freshApi: any): {};
42
- _restoreCustomProperties(proxy: any, customProps: any): void;
43
- _restoreApiTree(freshApi: any, endpoint: any, moduleID: any, collisionMode: any, forceReplace?: boolean): Promise<void>;
44
- #private;
45
- }
46
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
47
- //# sourceMappingURL=api-manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-manager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/api-manager.mjs"],"names":[],"mappings":"AAA2P;IAAuC,gCAAqC;IAAsC;;;;MAAmF;IAAC;;;MAAwwD;IAAA;;;;OAAwsB;IAAA,iDAAymB;IAAA,wEAAiL;IAAA,2CAA6L;IAAA,2DAAqxB;IAAA,qEAA+6D;IAAA,oCAA0H;IAAA,wHAAsyI;IAAA,4FAA4vE;IAAA,kFAAivE;IAAA,oDAAsjE;IAAA,2DAA+zC;IAAgrB,kCAA6xX;IAAA;;;;sBAAshB;IAAkb,wEAAk8Q;IAAA,+CAA2e;IAAA;;sBAAkwC;IAAA,4DAA0mD;IAAA,yCAAi3C;IAAA,gEAAynB;IAAA,6DAA6L;IAAA,wHAA2rL;;CAAC;8BAA1vnD,0CAA0C"}
@@ -1,28 +0,0 @@
1
- export class AsyncContextManager {
2
- als: any;
3
- instances: Map<any, any>;
4
- registerEventEmitterContextChecker(): void;
5
- initialize(instanceID: any, config?: {}): {
6
- instanceID: any;
7
- self: {};
8
- context: {};
9
- config: {};
10
- createdAt: number;
11
- };
12
- runInContext(instanceID: any, fn: any, thisArg: any, args: any, currentWrapper: any, rawErrors?: boolean): any;
13
- getContext(): any;
14
- tryGetContext(): any;
15
- cleanup(instanceID: any): void;
16
- getDiagnostics(): {
17
- type: string;
18
- activeStore: any;
19
- instances: {
20
- id: any;
21
- createdAt: any;
22
- contextKeys: string[];
23
- selfKeys: string[];
24
- }[];
25
- };
26
- }
27
- export const asyncContextManager: AsyncContextManager;
28
- //# sourceMappingURL=context-async.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-async.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/context-async.mjs"],"names":[],"mappings":"AAA+S;IAAwC,SAAqD;IAAC,yBAAsB;IAAC,2CAA2I;IAAA;;;;;;MAAqS;IAAA,+GAAm3C;IAAA,kBAAuJ;IAAA,qBAAsE;IAAA,+BAAyS;IAAA;;;;;;;;;MAAmQ;CAAC;AAAA,sDAAkD"}
@@ -1,28 +0,0 @@
1
- export class LiveContextManager {
2
- instances: Map<any, any>;
3
- currentInstanceID: any;
4
- registerEventEmitterContextChecker(): void;
5
- initialize(instanceID: any, config?: {}): {
6
- instanceID: any;
7
- self: {};
8
- context: {};
9
- config: {};
10
- createdAt: number;
11
- };
12
- runInContext(instanceID: any, fn: any, thisArg: any, args: any, currentWrapper: any, rawErrors?: boolean): any;
13
- getContext(): any;
14
- tryGetContext(): any;
15
- cleanup(instanceID: any): void;
16
- getDiagnostics(): {
17
- type: string;
18
- currentInstanceID: any;
19
- instances: {
20
- id: any;
21
- createdAt: any;
22
- contextKeys: string[];
23
- selfKeys: string[];
24
- }[];
25
- };
26
- }
27
- export const liveContextManager: LiveContextManager;
28
- //# sourceMappingURL=context-live.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-live.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/context-live.mjs"],"names":[],"mappings":"AAAiI;IAAuC,yBAAsB;IAAC,uBAA2B;IAAC,2CAAsG;IAAA;;;;;;MAAmW;IAAA,+GAAuoC;IAAA,kBAA8X;IAAA,qBAA4G;IAAA,+BAA8W;IAAA;;;;;;;;;MAAyP;CAAC;AAAA,oDAAgD"}
@@ -1,69 +0,0 @@
1
- export class HookManager extends ComponentBase {
2
- static slothletProperty: string;
3
- enabled: boolean;
4
- defaultPattern: string;
5
- suppressErrors: boolean;
6
- pinEnforced: boolean;
7
- enabledPatterns: Set<any>;
8
- patternFilterActive: boolean;
9
- hooks: Map<any, any>;
10
- registrationOrder: number;
11
- reportedErrors: WeakSet<object>;
12
- on(typePattern: any, handler: any, options?: {}): any;
13
- remove(filter?: {}): number;
14
- enable(filter?: {}): number;
15
- disable(filter?: {}): number;
16
- enablePattern(pattern: any): number;
17
- disablePattern(pattern: any): number;
18
- resetPatternFilter(): void;
19
- setPinEnforced(value: any): boolean;
20
- list(filter?: {}): {
21
- registeredHooks: {
22
- id: any;
23
- type: any;
24
- pattern: any;
25
- priority: any;
26
- subset: any;
27
- enabled: any;
28
- lockCaller: any;
29
- }[];
30
- };
31
- getHooksForPath(type: any, apiPath: any): any[];
32
- executeBeforeHooks(path: any, args: any, api: any, ctx: any): {
33
- args: any;
34
- shortCircuit: boolean;
35
- value: any;
36
- } | {
37
- args: any;
38
- shortCircuit: boolean;
39
- value?: undefined;
40
- };
41
- executeAfterHooks(path: any, result: any, args: any, api: any, ctx: any): {
42
- modified: boolean;
43
- result?: undefined;
44
- } | {
45
- modified: boolean;
46
- result: any;
47
- };
48
- executeAlwaysHooks(path: any, args: any, resultOrError: any, hasError: boolean | undefined, errors: any[] | undefined, api: any, ctx: any): void;
49
- executeErrorHooks(path: any, error: any, source: any, args: any, api: any, ctx: any): void;
50
- getCompilePatternForDiagnostics(): (pattern: any) => any;
51
- exportHooks(): {
52
- typePattern: string;
53
- handler: any;
54
- options: {
55
- id: any;
56
- priority: any;
57
- subset: any;
58
- lockCaller: any;
59
- };
60
- ownerPath: any;
61
- ownerFilePath: any;
62
- enabled: any;
63
- }[];
64
- importHooks(registrations: any): void;
65
- shutdown(): Promise<void>;
66
- #private;
67
- }
68
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
69
- //# sourceMappingURL=hook-manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hook-manager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/hook-manager.mjs"],"names":[],"mappings":"AAA2V;IAAwC,gCAAsC;IAA6Y,iBAA+B;IAAC,uBAA4C;IAAC,wBAAoD;IAAC,qBAA+B;IAAC,0BAA4B;IAAC,6BAA8B;IAA4G,qBAAkB;IAAC,0BAAwB;IAAC,gCAA+B;IAAmV,sDAA2gE;IAAub,4BAA2vB;IAAA,4BAAmI;IAAA,6BAAyK;IAAA,oCAAsJ;IAAA,qCAAuM;IAAA,2BAA6N;IAAA,oCAA4E;IAAA;;;;;;;;;;MAA46B;IAAA,gDAAgiC;IAAA;;;;;;;;MAAswB;IAAA;;;;;;MAA2pB;IAAA,iJAAqb;IAAA,2FAA2Y;IAAyrD,yDAAyE;IAAyoD;;;;;;;;;;;;QAAgW;IAAA,sCAAsS;IAAA,0BAA8N;;CAAC;8BAAhhc,0CAA0C"}
@@ -1,4 +0,0 @@
1
- export function getInstanceToken(slothlet: any): any;
2
- export function registerInstance(slothlet: any): void;
3
- export function verifyToken(slothlet: any, token: any): boolean;
4
- //# sourceMappingURL=lifecycle-token.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lifecycle-token.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/lifecycle-token.mjs"],"names":[],"mappings":"AAAuL,qDAAwE;AAA9N,sDAAsJ;AAAwE,gEAAiF"}
@@ -1,13 +0,0 @@
1
- export class Lifecycle extends ComponentBase {
2
- static slothletProperty: string;
3
- subscribers: Map<any, any>;
4
- eventLog: any[];
5
- maxLogSize: number;
6
- subscribe(event: any, handler: any): () => void;
7
- on(event: any, handler: any): () => void;
8
- off(event: any, handler: any): void;
9
- unsubscribe(event: any, handler: any): void;
10
- emit(event: any, data: any): Promise<void>;
11
- }
12
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
13
- //# sourceMappingURL=lifecycle.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lifecycle.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/lifecycle.mjs"],"names":[],"mappings":"AAA2I;IAAsC,gCAAoC;IAAsC,2BAAwB;IAAC,gBAAgB;IAAC,mBAAmB;IAAC,gDAAqO;IAAA,yCAAuD;IAAA,oCAAqG;IAAA,4CAAmD;IAAA,2CAAg4B;CAAC;8BAArlD,0CAA0C"}
@@ -1,13 +0,0 @@
1
- export class MaterializeManager extends ComponentBase {
2
- static slothletProperty: string;
3
- get materialized(): boolean;
4
- get(): {
5
- total: any;
6
- materialized: number;
7
- remaining: any;
8
- percentage: number;
9
- };
10
- wait(): Promise<any>;
11
- }
12
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
13
- //# sourceMappingURL=materialize-manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"materialize-manager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/materialize-manager.mjs"],"names":[],"mappings":"AAAoE;IAA+C,gCAAsC;IAAsC,4BAAqE;IAAA;;;;;MAA0P;IAAA,qBAAsJ;CAAC;8BAA5nB,0CAA0C"}
@@ -1,26 +0,0 @@
1
- export class Metadata extends ComponentBase {
2
- static slothletProperty: string;
3
- _instanceId: null;
4
- tagSystemMetadata(target: any, systemData: any, token: any): void;
5
- getSystemMetadata(target: any): any;
6
- getMetadata(target: any): any;
7
- setGlobalMetadata(key: any, value: any): void;
8
- setUserMetadata(target: any, key: any, value: any): void;
9
- removeUserMetadata(target: any, key: any): void;
10
- registerUserMetadata(identifier: any, metadata: any): void;
11
- removeUserMetadataByApiPath(apiPath: any): void;
12
- setPathMetadata(apiPath: any, keyOrObj: any, value: any): void;
13
- getPathMetadata(apiPath: any): any;
14
- removePathMetadata(apiPath: any, key: any): void;
15
- exportUserState(): {
16
- globalMetadata: any;
17
- userMetadataStore: Map<any, any>;
18
- };
19
- importUserState(state: any): void;
20
- get(path: any): Promise<any>;
21
- self(): any;
22
- caller(): any;
23
- #private;
24
- }
25
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
26
- //# sourceMappingURL=metadata.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metadata.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/metadata.mjs"],"names":[],"mappings":"AAA2M;IAAqC,gCAAmC;IAAA,kBAAiB;IAAiqF,kEAA2zB;IAAA,oCAA4N;IAAA,8BAA2iC;IAAA,8CAAwI;IAAA,yDAAyiC;IAAA,gDAA0mD;IAAA,2DAA+e;IAAA,gDAAgG;IAAA,+DAA4kB;IAAA,mCAAyX;IAAA,iDAAijB;IAAA;;;MAA8P;IAAA,kCAA2jB;IAAA,6BAA8kB;IAAA,YAAkO;IAAA,cAAoJ;;CAAC;8BAA5kX,0CAA0C"}
@@ -1,29 +0,0 @@
1
- export class ModuleManager extends ComponentBase {
2
- static slothletProperty: string;
3
- discover(options?: {}): Promise<Readonly<{
4
- packageName: any;
5
- packageRoot: any;
6
- mountPath: readonly any[];
7
- apiDir: any;
8
- manifest: any;
9
- }>[]>;
10
- sort(results: any, comparator: any): any[];
11
- getDiscoveryCache(): any[];
12
- clearDiscoveryCache(): void;
13
- getStaleMounts(): any[];
14
- addModule(nameOrResult: any, options?: {}): Promise<{
15
- packageName: any;
16
- mountPath: any;
17
- moduleID: any;
18
- discoverResult: any;
19
- versionConfig: any;
20
- }>;
21
- addModules(items: any, options?: {}): Promise<any[] | {
22
- mounted: any[];
23
- failed: any[];
24
- }>;
25
- removeModule(name: any, opts?: {}): Promise<boolean>;
26
- #private;
27
- }
28
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
29
- //# sourceMappingURL=module-manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"module-manager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/module-manager.mjs"],"names":[],"mappings":"AAA+N;IAA0C,gCAAwC;IAAsE;;;;;;UAA4c;IAAA,2CAAgE;IAAA,2BAAoD;IAAA,4BAA0C;IAAA,wBAA4I;IAAA;;;;;;OAAma;IAAA;;;OAAosC;IAAA,qDAAuc;;CAA43J;8BAA9/P,0CAA0C"}
@@ -1,57 +0,0 @@
1
- export class OwnershipManager extends ComponentBase {
2
- static slothletProperty: string;
3
- moduleToPath: Map<any, any>;
4
- pathToModule: Map<any, any>;
5
- _unregisteredModules: Set<any>;
6
- moduleEndpoints: Map<any, any>;
7
- setModuleEndpoint(moduleID: any, endpoint: any): void;
8
- getModuleEndpoint(moduleID: any): any;
9
- register({ moduleID, apiPath, value, source, collisionMode, config, filePath }: {
10
- moduleID: any;
11
- apiPath: any;
12
- value: any;
13
- source?: string | undefined;
14
- collisionMode?: string | undefined;
15
- config?: null | undefined;
16
- filePath?: null | undefined;
17
- }): any;
18
- unregister(moduleID: any): {
19
- removed: any[];
20
- rolledBack: {
21
- apiPath: any;
22
- restoredTo: any;
23
- }[];
24
- };
25
- removePath(apiPath: any, moduleID?: null): {
26
- action: string;
27
- removedModuleId: any;
28
- restoreModuleId: any;
29
- };
30
- getCurrentOwner(apiPath: any): any;
31
- getCurrentValue(apiPath: any): any;
32
- getModulePaths(moduleID: any): any[];
33
- getPathHistory(apiPath: any): any;
34
- ownsPath(moduleID: any, apiPath: any): any;
35
- getDiagnostics(): {
36
- totalModules: number;
37
- totalPaths: number;
38
- modules: {
39
- moduleID: any;
40
- pathCount: any;
41
- }[];
42
- conflictedPaths: {
43
- apiPath: any;
44
- ownerStack: any;
45
- }[];
46
- };
47
- getPathOwnership(apiPath: any): Set<any> | null;
48
- registerSubtree(api: any, moduleID: any, path: any, visited?: WeakSet<object>): void;
49
- clear(): void;
50
- exportState(): {
51
- moduleToPath: any[][];
52
- pathToModule: [any, any][];
53
- };
54
- importState(state: any): void;
55
- }
56
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
57
- //# sourceMappingURL=ownership.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ownership.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/ownership.mjs"],"names":[],"mappings":"AAAyI;IAA6C,gCAAoC;IAAsC,4BAAyB;IAAC,4BAAyB;IAAC,+BAAiC;IAAC,+BAA4B;IAAC,sDAA2H;IAAA,sCAAsE;IAAA;;;;;;;;YAAqlD;IAAA;;;;;;MAA6f;IAAA;;;;MAAszB;IAAA,mCAAyI;IAAA,mCAA+M;IAAA,qCAAgF;IAAA,kCAAkE;IAAA,2CAA6G;IAAA;;;;;;;;;;;MAA6W;IAAA,gDAA+J;IAAA,qFAAstB;IAAA,cAA2H;IAAA;;;MAA0K;IAAA,8BAAkM;CAAC;8BAApsL,0CAA0C"}
@@ -1,56 +0,0 @@
1
- export class PermissionManager extends ComponentBase {
2
- static slothletProperty: string;
3
- addRule(rule: any, ownerModuleID?: null, ruleId?: null): string;
4
- removeRule(ruleId: any, callerModuleID?: null): boolean;
5
- checkAccess(callerPath: any, targetPath: any, callerFilePath?: null, targetFilePath?: null, runtimeContext?: null, options?: null): any;
6
- matchesCondition(condition: any, runtimeContext?: null): boolean;
7
- enforceAccess(callerPath: any, targetPath: any, callerFilePath?: null, targetFilePath?: null, runtimeContext?: null): any;
8
- enforceHookAccess(callerPath: any, hookPath: any, hookType: any, callerFilePath?: null, targetFilePath?: null, runtimeContext?: null): any;
9
- checkHookAccess(callerPath: any, hookPath: any, hookType: any, callerFilePath?: null, targetFilePath?: null, runtimeContext?: null): any;
10
- getRulesForPath(targetPath: any): {
11
- id: any;
12
- caller: any;
13
- target: any;
14
- effect: any;
15
- condition: any;
16
- ownerModuleID: any;
17
- registeredAt: any;
18
- }[];
19
- getRulesByModule(moduleID: any): {
20
- id: any;
21
- caller: any;
22
- target: any;
23
- effect: any;
24
- condition: any;
25
- ownerModuleID: any;
26
- registeredAt: any;
27
- }[];
28
- getRulesForCaller(callerPath: any): {
29
- id: any;
30
- caller: any;
31
- target: any;
32
- effect: any;
33
- condition: any;
34
- ownerModuleID: any;
35
- registeredAt: any;
36
- }[];
37
- enable(): void;
38
- disable(): void;
39
- isEnabled(): boolean;
40
- isReadGatingEnabled(): boolean;
41
- setReadGating(value: any): void;
42
- exportRules(): {
43
- rule: {
44
- caller: any;
45
- target: any;
46
- effect: any;
47
- };
48
- ownerModuleID: any;
49
- }[];
50
- importRules(registrations: any): void;
51
- shutdown(): Promise<void>;
52
- debug(category: any, data: any): void;
53
- #private;
54
- }
55
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
56
- //# sourceMappingURL=permission-manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission-manager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/permission-manager.mjs"],"names":[],"mappings":"AAAoR;IAA8C,gCAA4C;IAAkgC,gEAA8lB;IAAA,wDAAqc;IAAA,wIAAqwB;IAAA,iEAAgN;IAA4Q,0HAAoS;IAAA,2IAAqT;IAAA,yIAA4N;IAAA;;;;;;;;QAA2O;IAAA;;;;;;;;QAAoL;IAAA;;;;;;;;QAA6O;IAAA,eAA+C;IAAA,gBAAiD;IAAA,qBAAiC;IAAA,+BAA8C;IAAA,gCAA2M;IAAA;;;;;;;QAAsM;IAAA,sCAA6I;IAAA,0BAA0L;IAAs1P,sCAAwD;;CAAC;8BAAlzb,0CAA0C"}
@@ -1,37 +0,0 @@
1
- export namespace TYPE_STATES {
2
- let UNMATERIALIZED: symbol;
3
- let IN_FLIGHT: symbol;
4
- }
5
- export class UnifiedWrapper extends ComponentBase {
6
- static _cloneImpl(value: any): any;
7
- static _extractFullImpl(wrapper: any): any;
8
- constructor(slothlet: any, { mode, apiPath, initialImpl, materializeFunc, isCallable, materializeOnCreate, filePath, moduleID, sourceFolder }: {
9
- mode: any;
10
- apiPath: any;
11
- initialImpl?: null | undefined;
12
- materializeFunc?: null | undefined;
13
- isCallable: any;
14
- materializeOnCreate?: boolean | undefined;
15
- filePath?: null | undefined;
16
- moduleID?: null | undefined;
17
- sourceFolder?: null | undefined;
18
- });
19
- get ____slothletInternal(): null | undefined;
20
- ____inspectCustom(____depth: any, ____options: any, ____inspect: any): any;
21
- get __impl(): any;
22
- _applyNewImpl(newImpl: any, forceReuseChildren?: boolean): void;
23
- ___setImpl(newImpl: any, moduleID?: null, forceReuseChildren?: boolean): void;
24
- ___resetLazy(newMaterializeFunc: any): void;
25
- ___materialize(): Promise<any>;
26
- _materialize(): Promise<any>;
27
- ___invalidate(): void;
28
- ___adoptImplChildren(forceReuseChildren?: boolean): void;
29
- ___createChildWrapper(key: any, value: any): any;
30
- ___createWaitingProxy(propChain?: any[]): any;
31
- createProxy(): any;
32
- lastSyncError: unknown;
33
- #private;
34
- }
35
- export function resolveWrapper(value: any): any;
36
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
37
- //# sourceMappingURL=unified-wrapper.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unified-wrapper.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/unified-wrapper.mjs"],"names":[],"mappings":";;;;AAA0+E;IAAymH,mCAAsc;IAAA,2CAAy/B;IAAv5J;;;;;;;;;;OAAq4F;IAA59F,6CAAuF;IAAq4F,2EAAgiB;IAAA,kBAAmD;IAA+7C,gEAAqyB;IAAA,8EAAgsC;IAAA,4CAA4oC;IAAA,+BAAs4D;IAAA,6BAA4C;IAAA,sBAA8T;IAAA,yDAAq6P;IAAA,iDAAghG;IAAA,8CAA+oa;IAAA,mBAAkhxB;IAA3oO,uBAAwB;;CAAonO;AAAwK,gDAA8N;8BAAvr7D,0CAA0C"}
@@ -1,37 +0,0 @@
1
- export class VersionManager extends ComponentBase {
2
- static slothletProperty: string;
3
- registerVersion(logicalPath: any, versionTag: any, moduleID: any, versionMeta: any, isDefault: any): void;
4
- unregisterVersion(logicalPath: any, versionTag: any): boolean;
5
- getVersionKeyForModule(moduleID: any): any;
6
- hasDispatcher(logicalPath: any): boolean;
7
- getVersionMetadata(moduleID: any): any;
8
- getVersionMetadataByPath(logicalPath: any, versionTag: any): any;
9
- setVersionMetadataByPath(logicalPath: any, versionTag: any, patch: any): void;
10
- list(logicalPath: any): {
11
- versions: {};
12
- default: any;
13
- } | undefined;
14
- setDefault(logicalPath: any, versionTag: any): void;
15
- getDefaultVersion(logicalPath: any): any;
16
- resolveForPath(logicalPath: any, allVersions: any, caller: any): any;
17
- buildAllVersionsArg(logicalPath: any): {};
18
- buildCallerArg(callerWrapper: any): {
19
- version: null;
20
- default: null;
21
- metadata: any;
22
- versionMetadata: null;
23
- } | {
24
- version: any;
25
- default: boolean;
26
- metadata: any;
27
- versionMetadata: any;
28
- };
29
- createDispatcher(logicalPath: any): any;
30
- updateDispatcher(logicalPath: any): void;
31
- teardownDispatcher(logicalPath: any): void;
32
- onVersionedModuleReload(moduleID: any): void;
33
- shutdown(): void;
34
- #private;
35
- }
36
- import { ComponentBase } from "@cldmv/slothlet/factories/component-base";
37
- //# sourceMappingURL=version-manager.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version-manager.d.mts","sourceRoot":"","sources":["../../../../dist/lib/handlers/version-manager.mjs"],"names":[],"mappings":"AAA0mB;IAA2C,gCAAyC;IAAoG,0GAAu4B;IAAA,8DAA8kB;IAAA,2CAA+E;IAAA,yCAAqE;IAAA,uCAAgF;IAAA,iEAAwO;IAAA,8EAA8d;IAAA;;;kBAA+N;IAAA,oDAA8Z;IAAA,yCAAihB;IAAA,qEAAyxB;IAAA,0CAA+gB;IAAA;;;;;;;;;;MAAurB;IAAsc,wCAA4+K;IAAA,yCAA8kB;IAAA,2CAAwU;IAAA,6CAA2Q;IAAA,iBAAmI;;CAAC;8BAAz5a,0CAA0C"}
@@ -1,4 +0,0 @@
1
- export function runtime_isClassInstance(val: any): boolean;
2
- export function runtime_shouldWrapMethod(value: any, prop: any): boolean;
3
- export function runtime_wrapClassInstance(instance: any, contextManager: any, instanceID: any, instanceCache: any): any;
4
- //# sourceMappingURL=class-instance-wrapper.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"class-instance-wrapper.d.mts","sourceRoot":"","sources":["../../../../dist/lib/helpers/class-instance-wrapper.mjs"],"names":[],"mappings":"AAA4iB,2DAAmT;AAAre,yEAAkL;AAAmT,wHAA2rC"}