@stonecrop/stonecrop 0.10.16 → 0.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 +72 -29
- package/dist/composables/lazy-link.js +125 -0
- package/dist/composables/stonecrop.js +123 -68
- package/dist/doctype.js +10 -2
- package/dist/field-triggers.js +15 -3
- package/dist/index.js +4 -3
- package/dist/registry.js +261 -101
- package/dist/schema-validator.js +105 -1
- package/dist/src/composables/lazy-link.d.ts +25 -0
- package/dist/src/composables/lazy-link.d.ts.map +1 -0
- package/dist/src/composables/operation-log.d.ts +5 -5
- package/dist/src/composables/operation-log.d.ts.map +1 -1
- package/dist/src/composables/stonecrop.d.ts +11 -1
- package/dist/src/composables/stonecrop.d.ts.map +1 -1
- package/dist/src/doctype.d.ts +9 -1
- package/dist/src/doctype.d.ts.map +1 -1
- package/dist/src/field-triggers.d.ts +6 -0
- package/dist/src/field-triggers.d.ts.map +1 -1
- package/dist/src/index.d.ts +3 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/registry.d.ts +102 -23
- package/dist/src/registry.d.ts.map +1 -1
- package/dist/src/schema-validator.d.ts +8 -1
- package/dist/src/schema-validator.d.ts.map +1 -1
- package/dist/src/stonecrop.d.ts +73 -28
- package/dist/src/stonecrop.d.ts.map +1 -1
- package/dist/src/stores/hst.d.ts +5 -75
- package/dist/src/stores/hst.d.ts.map +1 -1
- package/dist/src/stores/operation-log.d.ts +14 -14
- package/dist/src/stores/operation-log.d.ts.map +1 -1
- package/dist/src/types/composable.d.ts +50 -12
- package/dist/src/types/composable.d.ts.map +1 -1
- package/dist/src/types/doctype.d.ts +6 -7
- package/dist/src/types/doctype.d.ts.map +1 -1
- package/dist/src/types/field-triggers.d.ts +1 -1
- package/dist/src/types/field-triggers.d.ts.map +1 -1
- package/dist/src/types/hst.d.ts +70 -0
- package/dist/src/types/hst.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/operation-log.d.ts +4 -4
- package/dist/src/types/operation-log.d.ts.map +1 -1
- package/dist/src/types/schema-validator.d.ts +2 -0
- package/dist/src/types/schema-validator.d.ts.map +1 -1
- package/dist/stonecrop.d.ts +317 -99
- package/dist/stonecrop.js +2191 -1897
- package/dist/stonecrop.js.map +1 -1
- package/dist/stores/hst.js +27 -25
- package/dist/stores/operation-log.js +59 -47
- package/dist/types/hst.js +0 -0
- package/dist/types/index.js +1 -0
- package/package.json +5 -5
- package/src/composables/lazy-link.ts +146 -0
- package/src/composables/operation-log.ts +1 -1
- package/src/composables/stonecrop.ts +142 -73
- package/src/doctype.ts +13 -4
- package/src/field-triggers.ts +18 -4
- package/src/index.ts +4 -2
- package/src/registry.ts +289 -111
- package/src/schema-validator.ts +120 -1
- package/src/stonecrop.ts +230 -106
- package/src/stores/hst.ts +29 -104
- package/src/stores/operation-log.ts +64 -50
- package/src/types/composable.ts +55 -12
- package/src/types/doctype.ts +6 -7
- package/src/types/field-triggers.ts +1 -1
- package/src/types/hst.ts +77 -0
- package/src/types/index.ts +1 -0
- package/src/types/operation-log.ts +4 -4
- package/src/types/schema-validator.ts +2 -0
- package/dist/stonecrop.css +0 -1
package/dist/src/stores/hst.d.ts
CHANGED
|
@@ -1,72 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Core HST Interface - enhanced with tree navigation
|
|
3
|
-
* Provides a hierarchical state tree interface for navigating and manipulating nested data structures.
|
|
4
|
-
*
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
interface HSTNode {
|
|
8
|
-
/**
|
|
9
|
-
* Gets a value at the specified path
|
|
10
|
-
* @param path - The dot-separated path to the value
|
|
11
|
-
* @returns The value at the specified path
|
|
12
|
-
*/
|
|
13
|
-
get(path: string): any;
|
|
14
|
-
/**
|
|
15
|
-
* Sets a value at the specified path
|
|
16
|
-
* @param path - The dot-separated path where to set the value
|
|
17
|
-
* @param value - The value to set
|
|
18
|
-
* @param source - Optional source of the operation (user, system, sync, undo, redo)
|
|
19
|
-
*/
|
|
20
|
-
set(path: string, value: any, source?: 'user' | 'system' | 'sync' | 'undo' | 'redo'): void;
|
|
21
|
-
/**
|
|
22
|
-
* Checks if a value exists at the specified path
|
|
23
|
-
* @param path - The dot-separated path to check
|
|
24
|
-
* @returns True if the path exists, false otherwise
|
|
25
|
-
*/
|
|
26
|
-
has(path: string): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Gets the parent node in the tree hierarchy
|
|
29
|
-
* @returns The parent HSTNode or null if this is the root
|
|
30
|
-
*/
|
|
31
|
-
getParent(): HSTNode | null;
|
|
32
|
-
/**
|
|
33
|
-
* Gets the root node of the tree
|
|
34
|
-
* @returns The root HSTNode
|
|
35
|
-
*/
|
|
36
|
-
getRoot(): HSTNode;
|
|
37
|
-
/**
|
|
38
|
-
* Gets the full path from root to this node
|
|
39
|
-
* @returns The dot-separated path string
|
|
40
|
-
*/
|
|
41
|
-
getPath(): string;
|
|
42
|
-
/**
|
|
43
|
-
* Gets the depth level of this node in the tree
|
|
44
|
-
* @returns The depth as a number (0 for root)
|
|
45
|
-
*/
|
|
46
|
-
getDepth(): number;
|
|
47
|
-
/**
|
|
48
|
-
* Gets an array of path segments from root to this node
|
|
49
|
-
* @returns Array of path segments representing breadcrumbs
|
|
50
|
-
*/
|
|
51
|
-
getBreadcrumbs(): string[];
|
|
52
|
-
/**
|
|
53
|
-
* Gets a child node at the specified relative path
|
|
54
|
-
* @param path - The relative path to the child node
|
|
55
|
-
* @returns The child HSTNode
|
|
56
|
-
*/
|
|
57
|
-
getNode(path: string): HSTNode;
|
|
58
|
-
/**
|
|
59
|
-
* Trigger an XState transition with optional context data
|
|
60
|
-
* @param transition - The transition name (should be uppercase per convention)
|
|
61
|
-
* @param context - Optional additional FSM context data
|
|
62
|
-
* @returns Promise resolving to the transition execution results
|
|
63
|
-
*/
|
|
64
|
-
triggerTransition(transition: string, context?: {
|
|
65
|
-
currentState?: string;
|
|
66
|
-
targetState?: string;
|
|
67
|
-
fsmContext?: Record<string, any>;
|
|
68
|
-
}): Promise<any>;
|
|
69
|
-
}
|
|
1
|
+
import type { HSTNode } from '../types/hst';
|
|
70
2
|
interface RegistryGlobal {
|
|
71
3
|
Registry?: {
|
|
72
4
|
_root?: {
|
|
@@ -106,17 +38,16 @@ declare class HST {
|
|
|
106
38
|
}
|
|
107
39
|
declare class HSTProxy implements HSTNode {
|
|
108
40
|
private target;
|
|
109
|
-
private
|
|
41
|
+
private ancestorPath;
|
|
110
42
|
private rootNode;
|
|
111
43
|
private doctype;
|
|
112
|
-
private parentDoctype?;
|
|
113
44
|
private hst;
|
|
114
|
-
constructor(target: any, doctype: string,
|
|
45
|
+
constructor(target: any, doctype: string, ancestorPath?: string, rootNode?: HSTNode | null);
|
|
115
46
|
get(path: string): any;
|
|
116
47
|
getNode(path: string): HSTNode;
|
|
117
48
|
set(path: string, value: any, source?: 'user' | 'system' | 'sync' | 'undo' | 'redo'): void;
|
|
118
49
|
has(path: string): boolean;
|
|
119
|
-
|
|
50
|
+
getAncestor(): HSTNode | null;
|
|
120
51
|
getRoot(): HSTNode;
|
|
121
52
|
getPath(): string;
|
|
122
53
|
getDepth(): number;
|
|
@@ -152,11 +83,10 @@ declare class HSTProxy implements HSTNode {
|
|
|
152
83
|
*
|
|
153
84
|
* @param target - The target object to wrap with HST functionality
|
|
154
85
|
* @param doctype - The document type identifier
|
|
155
|
-
* @param parentDoctype - Optional parent document type identifier
|
|
156
86
|
* @returns A new HSTNode proxy instance
|
|
157
87
|
*
|
|
158
88
|
* @public
|
|
159
89
|
*/
|
|
160
|
-
declare function createHST(target: any, doctype: string
|
|
90
|
+
declare function createHST(target: any, doctype: string): HSTNode;
|
|
161
91
|
export { HSTProxy, HST, createHST, type HSTNode };
|
|
162
92
|
//# sourceMappingURL=hst.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hst.d.ts","sourceRoot":"","sources":["../../../src/stores/hst.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AM,GAAG,OAAO;IAwC1B,WAAW,IAAI,OAAO,GAAG,IAAI;IAc7B,OAAO,IAAI,OAAO;IAIlB,OAAO,IAAI,MAAM;IAIjB,QAAQ,IAAI,MAAM;IAIlB,cAAc,IAAI,MAAM,EAAE;IAI1B;;OAEG;IACG,iBAAiB,CACtB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAE,GACzF,OAAO,CAAC,GAAG,CAAC;IAgEf,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,YAAY;IAoBpB,OAAO,CAAC,WAAW;IAsBnB,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,WAAW;YAoBL,mBAAmB;IA8DjC,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,WAAW;IAmDnB,OAAO,CAAC,WAAW;IAcnB;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAUjB;AAED;;;;;;;;;GASG;AACH,iBAAS,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAExD;AAGD,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,OAAO,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HSTOperation, HSTOperationInput, OperationLogConfig, UndoRedoState, OperationLogSnapshot, OperationSource } from '../types/operation-log';
|
|
2
1
|
import type { HSTNode } from './hst';
|
|
2
|
+
import type { HSTOperation, HSTOperationInput, OperationLogConfig, OperationLogSnapshot, OperationSource, UndoRedoState } from '../types/operation-log';
|
|
3
3
|
/**
|
|
4
4
|
* Global HST Operation Log Store
|
|
5
5
|
* Tracks all mutations with full metadata for undo/redo, sync, and audit
|
|
@@ -29,8 +29,8 @@ export declare const useOperationLogStore: import("pinia").StoreDefinition<"hst-
|
|
|
29
29
|
actionError?: string | undefined;
|
|
30
30
|
userId?: string | undefined;
|
|
31
31
|
metadata?: Record<string, any> | undefined;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
ancestorOperationId?: string | undefined;
|
|
33
|
+
descendantOperationIds?: string[] | undefined;
|
|
34
34
|
}[], HSTOperation[] | {
|
|
35
35
|
id: string;
|
|
36
36
|
type: import("..").HSTOperationType;
|
|
@@ -53,8 +53,8 @@ export declare const useOperationLogStore: import("pinia").StoreDefinition<"hst-
|
|
|
53
53
|
actionError?: string | undefined;
|
|
54
54
|
userId?: string | undefined;
|
|
55
55
|
metadata?: Record<string, any> | undefined;
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
ancestorOperationId?: string | undefined;
|
|
57
|
+
descendantOperationIds?: string[] | undefined;
|
|
58
58
|
}[]>;
|
|
59
59
|
currentIndex: import("vue").Ref<number, number>;
|
|
60
60
|
config: import("vue").Ref<{
|
|
@@ -92,7 +92,7 @@ export declare const useOperationLogStore: import("pinia").StoreDefinition<"hst-
|
|
|
92
92
|
getSnapshot: () => OperationLogSnapshot;
|
|
93
93
|
markIrreversible: (operationId: string, reason: string) => void;
|
|
94
94
|
logAction: (doctype: string, actionName: string, recordIds?: string[], result?: "success" | "failure" | "pending", error?: string) => string;
|
|
95
|
-
}, "operations" | "
|
|
95
|
+
}, "operations" | "currentIndex" | "config" | "clientId">, Pick<{
|
|
96
96
|
operations: import("vue").Ref<{
|
|
97
97
|
id: string;
|
|
98
98
|
type: import("..").HSTOperationType;
|
|
@@ -115,8 +115,8 @@ export declare const useOperationLogStore: import("pinia").StoreDefinition<"hst-
|
|
|
115
115
|
actionError?: string | undefined;
|
|
116
116
|
userId?: string | undefined;
|
|
117
117
|
metadata?: Record<string, any> | undefined;
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
ancestorOperationId?: string | undefined;
|
|
119
|
+
descendantOperationIds?: string[] | undefined;
|
|
120
120
|
}[], HSTOperation[] | {
|
|
121
121
|
id: string;
|
|
122
122
|
type: import("..").HSTOperationType;
|
|
@@ -139,8 +139,8 @@ export declare const useOperationLogStore: import("pinia").StoreDefinition<"hst-
|
|
|
139
139
|
actionError?: string | undefined;
|
|
140
140
|
userId?: string | undefined;
|
|
141
141
|
metadata?: Record<string, any> | undefined;
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
ancestorOperationId?: string | undefined;
|
|
143
|
+
descendantOperationIds?: string[] | undefined;
|
|
144
144
|
}[]>;
|
|
145
145
|
currentIndex: import("vue").Ref<number, number>;
|
|
146
146
|
config: import("vue").Ref<{
|
|
@@ -201,8 +201,8 @@ export declare const useOperationLogStore: import("pinia").StoreDefinition<"hst-
|
|
|
201
201
|
actionError?: string | undefined;
|
|
202
202
|
userId?: string | undefined;
|
|
203
203
|
metadata?: Record<string, any> | undefined;
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
ancestorOperationId?: string | undefined;
|
|
205
|
+
descendantOperationIds?: string[] | undefined;
|
|
206
206
|
}[], HSTOperation[] | {
|
|
207
207
|
id: string;
|
|
208
208
|
type: import("..").HSTOperationType;
|
|
@@ -225,8 +225,8 @@ export declare const useOperationLogStore: import("pinia").StoreDefinition<"hst-
|
|
|
225
225
|
actionError?: string | undefined;
|
|
226
226
|
userId?: string | undefined;
|
|
227
227
|
metadata?: Record<string, any> | undefined;
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
ancestorOperationId?: string | undefined;
|
|
229
|
+
descendantOperationIds?: string[] | undefined;
|
|
230
230
|
}[]>;
|
|
231
231
|
currentIndex: import("vue").Ref<number, number>;
|
|
232
232
|
config: import("vue").Ref<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-log.d.ts","sourceRoot":"","sources":["../../../src/stores/operation-log.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operation-log.d.ts","sourceRoot":"","sources":["../../../src/stores/operation-log.ts"],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AC,kBAAkB,CAAC;8BAkBtB,iBAAiB,WAAU,eAAe;;gCA0DxC,MAAM,KAAG,MAAM,GAAG,IAAI;;kBA2EpC,OAAO,KAAG,OAAO;kBAmDjB,OAAO,KAAG,OAAO;;gCA2FH,MAAM,aAAa,MAAM,KAAG,YAAY,EAAE;uBA1BrD,oBAAoB;oCAmCL,MAAM,UAAU,MAAM;yBAmBnD,MAAM,cACH,MAAM,cACN,MAAM,EAAE,WACZ,SAAS,GAAG,SAAS,GAAG,SAAS,UACjC,MAAM,KACZ,MAAM;oLA0MR,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SchemaTypes } from '@stonecrop/aform';
|
|
1
|
+
import type { SchemaTypes } from '@stonecrop/aform';
|
|
2
2
|
import type { Ref, ComputedRef } from 'vue';
|
|
3
3
|
import type Doctype from '../doctype';
|
|
4
|
-
import type { HSTNode } from '
|
|
4
|
+
import type { HSTNode } from './hst';
|
|
5
5
|
import type { HSTOperation, OperationLogConfig, OperationLogSnapshot } from './operation-log';
|
|
6
6
|
/**
|
|
7
7
|
* Operation Log API - nested object containing all operation log functionality
|
|
@@ -169,14 +169,24 @@ export type HSTStonecropReturn = BaseStonecropReturn & {
|
|
|
169
169
|
*/
|
|
170
170
|
resolvedSchema: Ref<SchemaTypes[]>;
|
|
171
171
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* @param
|
|
175
|
-
* @param childDoctype - The nested doctype metadata
|
|
176
|
-
* @param recordId - Optional record ID (reserved for future API fetch)
|
|
177
|
-
* @returns The loaded or initialized data object
|
|
172
|
+
* Scaffold empty descendant records from defaults for all descendant links.
|
|
173
|
+
* @param path - The HST path where initialized data should be stored
|
|
174
|
+
* @param doctype - The doctype to initialize
|
|
178
175
|
*/
|
|
179
|
-
|
|
176
|
+
initializeNestedData: (path: string, doctype: Doctype) => void;
|
|
177
|
+
/**
|
|
178
|
+
* Fetch a record and its nested data from the server.
|
|
179
|
+
* Stores each field at its own HST path per the field-level convention.
|
|
180
|
+
* @param path - The HST path (e.g., "recipe.r1")
|
|
181
|
+
* @param doctype - The doctype to fetch
|
|
182
|
+
* @param recordId - Record ID to fetch
|
|
183
|
+
* @param options - Query options (includeNested to control which links are fetched)
|
|
184
|
+
* @throws Error with code "CLIENT_REQUIRED" if no data client is configured
|
|
185
|
+
* @throws Error with code "RECORD_NOT_FOUND" if the server returns null
|
|
186
|
+
*/
|
|
187
|
+
fetchNestedData: (path: string, doctype: Doctype, recordId: string, options?: {
|
|
188
|
+
includeNested?: boolean | string[];
|
|
189
|
+
}) => Promise<void>;
|
|
180
190
|
/**
|
|
181
191
|
* Collects a complete record payload with all nested data from HST.
|
|
182
192
|
* Use this before submitting to an API. Recursively includes 1:1 and 1:many nested records.
|
|
@@ -186,13 +196,13 @@ export type HSTStonecropReturn = BaseStonecropReturn & {
|
|
|
186
196
|
*/
|
|
187
197
|
collectRecordPayload: (doctype: Doctype, recordId: string) => Record<string, any>;
|
|
188
198
|
/**
|
|
189
|
-
* Creates a nested context for a
|
|
199
|
+
* Creates a nested context for a descendant doctype component.
|
|
190
200
|
* Use this in parent components to pass scoped handlers to child components.
|
|
191
201
|
* @param basePath - The parent HST path prefix
|
|
192
|
-
* @param
|
|
202
|
+
* @param descendantDoctype - The descendant doctype metadata
|
|
193
203
|
* @returns Scoped provideHSTPath and handleHSTChange functions
|
|
194
204
|
*/
|
|
195
|
-
createNestedContext: (basePath: string,
|
|
205
|
+
createNestedContext: (basePath: string, descendantDoctype: Doctype) => {
|
|
196
206
|
provideHSTPath: (fieldname: string) => string;
|
|
197
207
|
handleHSTChange: (changeData: HSTChangeData) => void;
|
|
198
208
|
};
|
|
@@ -211,6 +221,17 @@ export type HSTStonecropReturn = BaseStonecropReturn & {
|
|
|
211
221
|
* Available immediately if Doctype instance passed, after async resolution if slug string passed.
|
|
212
222
|
*/
|
|
213
223
|
resolvedDoctype: Ref<Doctype | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* Computed ref indicating whether workflow actions are ready to run.
|
|
226
|
+
* True when all links with blockWorkflows are loaded in HST.
|
|
227
|
+
* Use with v-bind:disabled="!isWorkflowReady" on action buttons.
|
|
228
|
+
*/
|
|
229
|
+
isWorkflowReady: ComputedRef<boolean>;
|
|
230
|
+
/**
|
|
231
|
+
* List of link fieldnames that are blocking workflow execution.
|
|
232
|
+
* Empty array when isWorkflowReady is true.
|
|
233
|
+
*/
|
|
234
|
+
blockedLinks: ComputedRef<string[]>;
|
|
214
235
|
};
|
|
215
236
|
import type { Stonecrop } from '../stonecrop';
|
|
216
237
|
/**
|
|
@@ -227,4 +248,21 @@ export type HSTChangeData = {
|
|
|
227
248
|
/** Optional record ID */
|
|
228
249
|
recordId?: string;
|
|
229
250
|
};
|
|
251
|
+
/**
|
|
252
|
+
* Lazy link state for a single link field.
|
|
253
|
+
* Provides reactive state and reload capability for lazy-loaded links.
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
export type LazyLink = {
|
|
257
|
+
/** True while fetching data */
|
|
258
|
+
loading: Ref<boolean>;
|
|
259
|
+
/** True after successful fetch (permanent until reload) */
|
|
260
|
+
loaded: Ref<boolean>;
|
|
261
|
+
/** Error state, if any */
|
|
262
|
+
error: Ref<Error | null>;
|
|
263
|
+
/** Explicitly trigger a fetch for this link */
|
|
264
|
+
reload: () => Promise<void>;
|
|
265
|
+
/** The loaded data from HST, or undefined if not loaded */
|
|
266
|
+
data: ComputedRef<any>;
|
|
267
|
+
};
|
|
230
268
|
//# sourceMappingURL=composable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composable.d.ts","sourceRoot":"","sources":["../../../src/types/composable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"composable.d.ts","sourceRoot":"","sources":["../../../src/types/composable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBA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C;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,8BAA8B;IAC9B,KAAK,EAAE,GAAG,CAAA;IACV,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG;IACtB,+BAA+B;IAC/B,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,2DAA2D;IAC3D,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACpB,0BAA0B;IAC1B,KAAK,EAAE,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,CAAA;IACxB,+CAA+C;IAC/C,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3B,2DAA2D;IAC3D,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;CACtB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SchemaTypes } from '@stonecrop/aform';
|
|
2
|
-
import type { WorkflowMeta } from '@stonecrop/schema';
|
|
2
|
+
import type { LinkDeclaration, WorkflowMeta } from '@stonecrop/schema';
|
|
3
3
|
import { List, Map } from 'immutable';
|
|
4
4
|
import type { AnyStateNodeConfig, UnknownMachineConfig } from 'xstate';
|
|
5
5
|
/**
|
|
@@ -10,6 +10,7 @@ export type ImmutableDoctype = {
|
|
|
10
10
|
readonly schema?: List<SchemaTypes>;
|
|
11
11
|
readonly workflow?: UnknownMachineConfig | AnyStateNodeConfig | WorkflowMeta;
|
|
12
12
|
readonly actions?: Map<string, string[]>;
|
|
13
|
+
readonly links?: Record<string, LinkDeclaration>;
|
|
13
14
|
};
|
|
14
15
|
/**
|
|
15
16
|
* Mutable Doctype type for Stonecrop instances
|
|
@@ -41,17 +42,15 @@ export type DoctypeConfig = {
|
|
|
41
42
|
slug?: string;
|
|
42
43
|
/** Database table name */
|
|
43
44
|
tableName?: string;
|
|
44
|
-
/** Field definitions */
|
|
45
|
+
/** Field definitions (including link fields with fieldtype: 'Link') */
|
|
45
46
|
fields?: SchemaTypes[];
|
|
47
|
+
/** Relationship links to other doctypes */
|
|
48
|
+
links?: Record<string, LinkDeclaration>;
|
|
46
49
|
/** Workflow configuration (XState format or simple WorkflowMeta) */
|
|
47
50
|
workflow?: UnknownMachineConfig | WorkflowMeta;
|
|
48
51
|
/** Actions and their field triggers */
|
|
49
52
|
actions?: Record<string, string[]>;
|
|
50
|
-
/**
|
|
53
|
+
/** Ancestor doctype for inheritance */
|
|
51
54
|
inherits?: string;
|
|
52
|
-
/** Doctype to use for list views */
|
|
53
|
-
listDoctype?: string;
|
|
54
|
-
/** Parent doctype for child tables */
|
|
55
|
-
parentDoctype?: string;
|
|
56
55
|
};
|
|
57
56
|
//# sourceMappingURL=doctype.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctype.d.ts","sourceRoot":"","sources":["../../../src/types/doctype.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"doctype.d.ts","sourceRoot":"","sources":["../../../src/types/doctype.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAEtE;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,CAAA;IACnC,QAAQ,CAAC,QAAQ,CA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.d.ts","sourceRoot":"","sources":["../../../src/types/field-triggers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"field-triggers.d.ts","sourceRoot":"","sources":["../../../src/types/field-triggers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAEpC;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAClC,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAA;IACZ,4CAA4C;IAC5C,SAAS,EAAE,MAAM,CAAA;IACjB,8BAA8B;IAC9B,WAAW,EAAE,GAAG,CAAA;IAChB,6BAA6B;IAC7B,UAAU,EAAE,GAAG,CAAA;IACf,yBAAyB;IACzB,SAAS,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAA;IACrC,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAA;IACf,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8BAA8B;IAC9B,SAAS,EAAE,IAAI,CAAA;IACf,6DAA6D;IAC7D,KAAK,CAAC,EAAE,OAAO,CAAA;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IAClE,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAA;IAClB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAChC;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAEvF;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,EAAE,uBA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;IAChC,2CAA2C;IAC3C,OAAO,EAAE,OAAO,CAAA;IAChB,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAChC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core HST Interface - enhanced with tree navigation
|
|
3
|
+
* Provides a hierarchical state tree interface for navigating and manipulating nested data structures.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface HSTNode {
|
|
8
|
+
/**
|
|
9
|
+
* Gets a value at the specified path
|
|
10
|
+
* @param path - The dot-separated path to the value
|
|
11
|
+
* @returns The value at the specified path
|
|
12
|
+
*/
|
|
13
|
+
get(path: string): any;
|
|
14
|
+
/**
|
|
15
|
+
* Sets a value at the specified path
|
|
16
|
+
* @param path - The dot-separated path where to set the value
|
|
17
|
+
* @param value - The value to set
|
|
18
|
+
* @param source - Optional source of the operation (user, system, sync, undo, redo)
|
|
19
|
+
*/
|
|
20
|
+
set(path: string, value: any, source?: 'user' | 'system' | 'sync' | 'undo' | 'redo'): void;
|
|
21
|
+
/**
|
|
22
|
+
* Checks if a value exists at the specified path
|
|
23
|
+
* @param path - The dot-separated path to check
|
|
24
|
+
* @returns True if the path exists, false otherwise
|
|
25
|
+
*/
|
|
26
|
+
has(path: string): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the ancestor node in the tree hierarchy (immediate predecessor)
|
|
29
|
+
* @returns The ancestor HSTNode or null if this is the root
|
|
30
|
+
*/
|
|
31
|
+
getAncestor(): HSTNode | null;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the root node of the tree
|
|
34
|
+
* @returns The root HSTNode
|
|
35
|
+
*/
|
|
36
|
+
getRoot(): HSTNode;
|
|
37
|
+
/**
|
|
38
|
+
* Gets the full path from root to this node
|
|
39
|
+
* @returns The dot-separated path string
|
|
40
|
+
*/
|
|
41
|
+
getPath(): string;
|
|
42
|
+
/**
|
|
43
|
+
* Gets the depth level of this node in the tree
|
|
44
|
+
* @returns The depth as a number (0 for root)
|
|
45
|
+
*/
|
|
46
|
+
getDepth(): number;
|
|
47
|
+
/**
|
|
48
|
+
* Gets an array of path segments from root to this node
|
|
49
|
+
* @returns Array of path segments representing breadcrumbs
|
|
50
|
+
*/
|
|
51
|
+
getBreadcrumbs(): string[];
|
|
52
|
+
/**
|
|
53
|
+
* Gets a child node at the specified relative path
|
|
54
|
+
* @param path - The relative path to the child node
|
|
55
|
+
* @returns The child HSTNode
|
|
56
|
+
*/
|
|
57
|
+
getNode(path: string): HSTNode;
|
|
58
|
+
/**
|
|
59
|
+
* Trigger an XState transition with optional context data
|
|
60
|
+
* @param transition - The transition name (should be uppercase per convention)
|
|
61
|
+
* @param context - Optional additional FSM context data
|
|
62
|
+
* @returns Promise resolving to the transition execution results
|
|
63
|
+
*/
|
|
64
|
+
triggerTransition(transition: string, context?: {
|
|
65
|
+
currentState?: string;
|
|
66
|
+
targetState?: string;
|
|
67
|
+
fsmContext?: Record<string, any>;
|
|
68
|
+
}): Promise<any>;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=hst.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hst.d.ts","sourceRoot":"","sources":["../../../src/types/hst.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACvB;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;IAEtB;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IAE1F;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;IAE1B;;;OAGG;IACH,WAAW,IAAI,OAAO,GAAG,IAAI,CAAA;IAE7B;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAA;IAElB;;;OAGG;IACH,OAAO,IAAI,MAAM,CAAA;IAEjB;;;OAGG;IACH,QAAQ,IAAI,MAAM,CAAA;IAElB;;;OAGG;IACH,cAAc,IAAI,MAAM,EAAE,CAAA;IAE1B;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;IAE9B;;;;;OAKG;IACH,iBAAiB,CAChB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAE,GACzF,OAAO,CAAC,GAAG,CAAC,CAAA;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,OAAO,CAAA;AACrB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA"}
|
|
@@ -56,10 +56,10 @@ export interface HSTOperation {
|
|
|
56
56
|
userId?: string;
|
|
57
57
|
/** Additional metadata for custom use cases */
|
|
58
58
|
metadata?: Record<string, any>;
|
|
59
|
-
/**
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
|
|
59
|
+
/** Ancestor operation ID for batch operations */
|
|
60
|
+
ancestorOperationId?: string;
|
|
61
|
+
/** Descendant operation IDs for batch operations */
|
|
62
|
+
descendantOperationIds?: string[];
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Input type for adding operations
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-log.d.ts","sourceRoot":"","sources":["../../../src/types/operation-log.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,CAAA;AAEnF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAE1E;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC5B,kCAAkC;IAClC,EAAE,EAAE,MAAM,CAAA;IAEV,kCAAkC;IAClC,IAAI,EAAE,gBAAgB,CAAA;IAEtB,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAA;IAEZ,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAA;IAEjB,iCAAiC;IACjC,WAAW,EAAE,GAAG,CAAA;IAEhB,gCAAgC;IAChC,UAAU,EAAE,GAAG,CAAA;IAEf,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAA;IAEf,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,iCAAiC;IACjC,SAAS,EAAE,IAAI,CAAA;IAEf,oEAAoE;IACpE,MAAM,CAAC,EAAE,eAAe,CAAA;IAExB,2CAA2C;IAC3C,UAAU,EAAE,OAAO,CAAA;IAEnB,0CAA0C;IAC1C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CA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AElG;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC/B,gCAAgC;IAChC,IAAI,EAAE,mBAAmB,CAAA;IACzB,wDAAwD;IACxD,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,YAAY,EAAE,CAAA;IAC3B,uDAAuD;IACvD,QAAQ,EAAE,MAAM,CAAA;IAChB,gCAAgC;IAChC,SAAS,EAAE,IAAI,CAAA;CACf"}
|
|
@@ -54,6 +54,8 @@ export interface ValidatorOptions {
|
|
|
54
54
|
registry?: Registry;
|
|
55
55
|
/** Whether to validate Link field targets */
|
|
56
56
|
validateLinkTargets?: boolean;
|
|
57
|
+
/** Whether to validate links object (target resolution, backlink consistency, Link field correspondence) */
|
|
58
|
+
validateLinks?: boolean;
|
|
57
59
|
/** Whether to validate workflow reachability */
|
|
58
60
|
validateWorkflows?: boolean;
|
|
59
61
|
/** Whether to validate action registration */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-validator.d.ts","sourceRoot":"","sources":["../../../src/types/schema-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAA;AAEvC;;;GAGG;AACH,oBAAY,kBAAkB;IAC7B,wCAAwC;IACxC,KAAK,UAAU;IACf,wCAAwC;IACxC,OAAO,YAAY;IACnB,4BAA4B;IAC5B,IAAI,SAAS;CACb;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC/B,qBAAqB;IACrB,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACjC;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAChC,qDAAqD;IACrD,KAAK,EAAE,OAAO,CAAA;IACd,gCAAgC;IAChC,MAAM,EAAE,eAAe,EAAE,CAAA;IACzB,sBAAsB;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,wBAAwB;IACxB,YAAY,EAAE,MAAM,CAAA;IACpB,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAA;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAChC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,6CAA6C;IAC7C,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,gDAAgD;IAChD,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,qDAAqD;IACrD,0BAA0B,CAAC,EAAE,OAAO,CAAA;CACpC"}
|
|
1
|
+
{"version":3,"file":"schema-validator.d.ts","sourceRoot":"","sources":["../../../src/types/schema-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAA;AAEvC;;;GAGG;AACH,oBAAY,kBAAkB;IAC7B,wCAAwC;IACxC,KAAK,UAAU;IACf,wCAAwC;IACxC,OAAO,YAAY;IACnB,4BAA4B;IAC5B,IAAI,SAAS;CACb;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC/B,qBAAqB;IACrB,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACjC;AAED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