@endge/ui-vue 0.23.10 → 0.23.11
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/dist/{edit.utils-Dnnbd0xG-CrxnqJTD.js → edit.utils-Dnnbd0xG-GYDbx60y.js} +1 -1
- package/dist/{main-CQi-9qle.js → main-BQGwmRA7.js} +2318 -2297
- package/dist/{revo-grid.entry-Dq37WvNC.js → revo-grid.entry-CpD6fgBR.js} +1 -1
- package/dist/{revogr-attribution_7.entry-B9cVeXDW.js → revogr-attribution_7.entry-DY5yxn-n.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-ChjTBJf_.js → revogr-clipboard_3.entry-Cd2RO79n.js} +2 -2
- package/dist/{revogr-data_4.entry-BdF7wqMI.js → revogr-data_4.entry-B2Lijjf4.js} +2 -2
- package/dist/{revogr-filter-panel.entry-Dl_UFv6O.js → revogr-filter-panel.entry-htGN06Bo.js} +1 -1
- package/dist/store/domain.d.ts +84 -84
- package/dist/{throttle-CaUDyxyU-Cojhn7Kx.js → throttle-CaUDyxyU-B26nNlmw.js} +1 -1
- package/dist/ui/render/entities/EndgePage.vue.d.ts +253 -1061
- package/dist/vue.js +1 -1
- package/package.json +6 -6
|
@@ -57,411 +57,7 @@ declare function __VLS_template(): {
|
|
|
57
57
|
remove: (entityKey: string, section?: string) => void;
|
|
58
58
|
clear: () => void;
|
|
59
59
|
} | null;
|
|
60
|
-
readonly node:
|
|
61
|
-
addChild: (node: import('@endge/raph').RaphNode<any>, options?: {
|
|
62
|
-
invalidate?: boolean;
|
|
63
|
-
}) => boolean;
|
|
64
|
-
remove: () => void;
|
|
65
|
-
addMeta: (key: string, value: unknown) => void;
|
|
66
|
-
options: (opts: Partial<import('@endge/raph').RaphProperties> & {
|
|
67
|
-
id?: string;
|
|
68
|
-
weight?: number;
|
|
69
|
-
meta?: Record<string, unknown>;
|
|
70
|
-
type?: string;
|
|
71
|
-
}) => import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>;
|
|
72
|
-
get: <K extends string>(key: K) => import('@endge/raph').RaphProperties[K];
|
|
73
|
-
set: <K extends string>(key: K, value: import('@endge/raph').RaphProperties[K]) => void;
|
|
74
|
-
getLocal: <K extends string>(key: K) => import('@endge/raph').RaphProperties[K];
|
|
75
|
-
setLocal: <K extends string>(key: K, value: import('@endge/raph').RaphProperties[K]) => void;
|
|
76
|
-
dirty: (phase: import('@endge/raph').PhaseName | string | Array<import('@endge/raph').PhaseName | string>) => void;
|
|
77
|
-
traverseAll: (cb: (node: import('@endge/raph').RaphNode<any>) => void) => void;
|
|
78
|
-
dispose: () => void;
|
|
79
|
-
_attachApp: (app: import('@endge/raph').RaphRuntime<any>) => void;
|
|
80
|
-
hasDirtyPhase: (bit: number) => boolean;
|
|
81
|
-
markDirtyPhase: (bit: number) => void;
|
|
82
|
-
clearDirtyPhase: (bit: number) => void;
|
|
83
|
-
readonly app: {
|
|
84
|
-
readonly id: string;
|
|
85
|
-
options: (opts: Partial<import('@endge/raph').RaphOptions>) => void;
|
|
86
|
-
derive: <TSource = unknown, TTarget = unknown>(options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
87
|
-
transaction: (fn: () => void) => void;
|
|
88
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
89
|
-
definePhases: (phases: Array<import('@endge/raph').RaphPhase>) => void;
|
|
90
|
-
addPhase: (phase: import('@endge/raph').RaphPhase) => void;
|
|
91
|
-
clearPhases: () => void;
|
|
92
|
-
reinitPhases: () => void;
|
|
93
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties> | undefined;
|
|
94
|
-
addNode: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void;
|
|
95
|
-
registerNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
96
|
-
removeNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
97
|
-
unregisterNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
98
|
-
addDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => boolean;
|
|
99
|
-
removeDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => void;
|
|
100
|
-
init: () => void;
|
|
101
|
-
clear: () => void;
|
|
102
|
-
destroy: () => void;
|
|
103
|
-
traverseAll: (cb: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void) => void;
|
|
104
|
-
addLocalPhase: (phase: import('@endge/raph').RaphLocalPhaseRuntime<import('@endge/raph').RaphProperties>) => void;
|
|
105
|
-
addLocalProperty: <K extends string>(property: import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K>) => void;
|
|
106
|
-
getLocalProperty: <K extends string>(key: K) => import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K> | undefined;
|
|
107
|
-
dirtyLocalNodeDefaults: (node: import('@endge/raph').RaphNode<any>, invalidate?: boolean) => void;
|
|
108
|
-
setScheduler: (mode: import('@endge/raph').RaphSchedulerType) => void;
|
|
109
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
110
|
-
invalidate?: boolean;
|
|
111
|
-
vars?: Record<string, any>;
|
|
112
|
-
}) => boolean;
|
|
113
|
-
observeData: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
114
|
-
enqueueDataObserver: (observer: import('@endge/raph').RaphDataObserver<any>, path: import('@endge/raph').DataPathDef, opts?: {
|
|
115
|
-
invalidate?: boolean;
|
|
116
|
-
vars?: Record<string, any>;
|
|
117
|
-
}) => boolean;
|
|
118
|
-
dirty: (phase: import('@endge/raph').PhaseName | string, node: import('@endge/raph').RaphNode<any>, opts?: {
|
|
119
|
-
invalidate: boolean;
|
|
120
|
-
event?: import('@endge/raph').PhaseEvent;
|
|
121
|
-
}) => void;
|
|
122
|
-
run: () => void;
|
|
123
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
124
|
-
vars?: Record<string, any>;
|
|
125
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
126
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
127
|
-
invalidate?: boolean;
|
|
128
|
-
vars?: Record<string, any>;
|
|
129
|
-
}) => void;
|
|
130
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
131
|
-
invalidate?: boolean;
|
|
132
|
-
vars?: Record<string, any>;
|
|
133
|
-
}) => void;
|
|
134
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
135
|
-
invalidate?: boolean;
|
|
136
|
-
vars?: Record<string, any>;
|
|
137
|
-
}) => void;
|
|
138
|
-
startLoop: () => void;
|
|
139
|
-
acquireLoop: (owner: string) => import('@endge/raph').RaphLoopLease;
|
|
140
|
-
stopLoop: () => void;
|
|
141
|
-
invalidate: () => void;
|
|
142
|
-
reset: () => void;
|
|
143
|
-
subscribe: (ownerNode: import('@endge/raph').RaphNode<any>, maskOrMasks: import('@endge/raph').DataPathDef | Array<import('@endge/raph').DataPathDef>, callback: import('@endge/raph').ControlFlowCallback, opts?: import('@endge/raph').ControlFlowSubscribeOptions) => () => void;
|
|
144
|
-
unsubscribe: (subscriptionId: import('@endge/raph').ControlFlowSubscriptionId) => void;
|
|
145
|
-
unsubscribeOwner: (ownerNode: import('@endge/raph').RaphNode<any>) => void;
|
|
146
|
-
track: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, opts?: {
|
|
147
|
-
vars?: Record<string, any>;
|
|
148
|
-
wildcardDynamic?: boolean;
|
|
149
|
-
}) => void;
|
|
150
|
-
untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
|
|
151
|
-
getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
|
|
152
|
-
priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
|
|
153
|
-
readonly data: import('@endge/raph').DataObject;
|
|
154
|
-
readonly graph: {
|
|
155
|
-
addNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
156
|
-
removeNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => void;
|
|
157
|
-
hasNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
158
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<any> | undefined;
|
|
159
|
-
size: () => number;
|
|
160
|
-
addEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
161
|
-
removeEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => void;
|
|
162
|
-
parentsOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
163
|
-
childrenOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
164
|
-
rootIds: () => ReadonlySet<string>;
|
|
165
|
-
roots: () => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
166
|
-
getDepth: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => number;
|
|
167
|
-
topoOrder: () => import('@endge/raph').RaphNode<any>[];
|
|
168
|
-
expandByTraversal: (base: Set<import('@endge/raph').RaphNode<any>> | null, traversal: "dirty-only" | "dirty-and-down" | "dirty-and-up" | "all") => Set<import('@endge/raph').RaphNode<any>>;
|
|
169
|
-
};
|
|
170
|
-
readonly loopEnabled: boolean;
|
|
171
|
-
readonly frame: {
|
|
172
|
-
now: number;
|
|
173
|
-
delta: number;
|
|
174
|
-
elapsed: number;
|
|
175
|
-
frame: number;
|
|
176
|
-
};
|
|
177
|
-
readonly ups: number;
|
|
178
|
-
readonly eps: number;
|
|
179
|
-
readonly nps: number;
|
|
180
|
-
readonly maxUps: number;
|
|
181
|
-
readonly minUpdateInterval: number;
|
|
182
|
-
readonly dataAdapter: {
|
|
183
|
-
root: () => import('@endge/raph').DataObject;
|
|
184
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
185
|
-
vars?: Record<string, any>;
|
|
186
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
187
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
188
|
-
vars?: Record<string, any>;
|
|
189
|
-
}) => void;
|
|
190
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
191
|
-
vars?: Record<string, any>;
|
|
192
|
-
}) => void;
|
|
193
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
194
|
-
vars?: Record<string, any>;
|
|
195
|
-
}) => void;
|
|
196
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
197
|
-
vars?: Record<string, any>;
|
|
198
|
-
}) => number;
|
|
199
|
-
};
|
|
200
|
-
readonly kernel: {
|
|
201
|
-
readonly id: string;
|
|
202
|
-
createRuntime: <Props extends import('@endge/raph').RaphProperties = import('@endge/raph').RaphProperties>(options?: import('@endge/raph').RaphRuntimeOptions) => import('@endge/raph').RaphRuntime<Props>;
|
|
203
|
-
registerRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
204
|
-
unregisterRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
205
|
-
registerDerived: <TSource, TTarget>(runtime: import('@endge/raph').RaphRuntime<any>, options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
206
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
207
|
-
disposeAllDerived: () => void;
|
|
208
|
-
disposeRuntimeDerived: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
209
|
-
registerDataObserver: <Props extends import('@endge/raph').RaphProperties>(runtime: import('@endge/raph').RaphRuntime<Props>, node: import('@endge/raph').RaphDataObserver<Props>["node"], mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
210
|
-
removeDataObserversByRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
211
|
-
removeDataObserversByNode: (runtime: import('@endge/raph').RaphRuntime<any>, node: import('@endge/raph').RaphDataObserver["node"]) => void;
|
|
212
|
-
transaction: (fn: () => void) => void;
|
|
213
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
214
|
-
vars?: Record<string, any>;
|
|
215
|
-
}) => unknown;
|
|
216
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
217
|
-
invalidate?: boolean;
|
|
218
|
-
vars?: Record<string, any>;
|
|
219
|
-
}) => void;
|
|
220
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
221
|
-
invalidate?: boolean;
|
|
222
|
-
vars?: Record<string, any>;
|
|
223
|
-
}) => void;
|
|
224
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
225
|
-
invalidate?: boolean;
|
|
226
|
-
vars?: Record<string, any>;
|
|
227
|
-
}) => void;
|
|
228
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
229
|
-
invalidate?: boolean;
|
|
230
|
-
vars?: Record<string, any>;
|
|
231
|
-
}) => void;
|
|
232
|
-
setDataAdapter: (adapter: import('@endge/raph').DataAdapter) => void;
|
|
233
|
-
clear: () => void;
|
|
234
|
-
readonly dataAdapter: {
|
|
235
|
-
root: () => import('@endge/raph').DataObject;
|
|
236
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
237
|
-
vars?: Record<string, any>;
|
|
238
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
239
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
240
|
-
vars?: Record<string, any>;
|
|
241
|
-
}) => void;
|
|
242
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
243
|
-
vars?: Record<string, any>;
|
|
244
|
-
}) => void;
|
|
245
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
246
|
-
vars?: Record<string, any>;
|
|
247
|
-
}) => void;
|
|
248
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
249
|
-
vars?: Record<string, any>;
|
|
250
|
-
}) => number;
|
|
251
|
-
};
|
|
252
|
-
readonly data: import('@endge/raph').DataObject;
|
|
253
|
-
};
|
|
254
|
-
readonly phases: readonly {
|
|
255
|
-
name: import('@endge/raph').PhaseName;
|
|
256
|
-
traversal: import('@endge/raph').Traversal;
|
|
257
|
-
routes: Array<string>;
|
|
258
|
-
always?: boolean | undefined;
|
|
259
|
-
mode?: "dirty" | "all" | undefined;
|
|
260
|
-
each?: import('@endge/raph').PhaseEachExecutor | undefined;
|
|
261
|
-
all?: import('@endge/raph').PhaseAllExecutor | undefined;
|
|
262
|
-
nodes?: (((node: import('@endge/raph').RaphNode<any>) => boolean) | Array<import('@endge/raph').RaphNodeType>) | undefined;
|
|
263
|
-
}[];
|
|
264
|
-
getPhase: (name: import('@endge/raph').PhaseName) => import('@endge/raph').RaphPhase | undefined;
|
|
265
|
-
readonly root: /*elided*/ any;
|
|
266
|
-
readonly UPS: number;
|
|
267
|
-
};
|
|
268
|
-
readonly raph: {
|
|
269
|
-
readonly id: string;
|
|
270
|
-
options: (opts: Partial<import('@endge/raph').RaphOptions>) => void;
|
|
271
|
-
derive: <TSource = unknown, TTarget = unknown>(options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
272
|
-
transaction: (fn: () => void) => void;
|
|
273
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
274
|
-
definePhases: (phases: Array<import('@endge/raph').RaphPhase>) => void;
|
|
275
|
-
addPhase: (phase: import('@endge/raph').RaphPhase) => void;
|
|
276
|
-
clearPhases: () => void;
|
|
277
|
-
reinitPhases: () => void;
|
|
278
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties> | undefined;
|
|
279
|
-
addNode: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void;
|
|
280
|
-
registerNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
281
|
-
removeNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
282
|
-
unregisterNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
283
|
-
addDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => boolean;
|
|
284
|
-
removeDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => void;
|
|
285
|
-
init: () => void;
|
|
286
|
-
clear: () => void;
|
|
287
|
-
destroy: () => void;
|
|
288
|
-
traverseAll: (cb: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void) => void;
|
|
289
|
-
addLocalPhase: (phase: import('@endge/raph').RaphLocalPhaseRuntime<import('@endge/raph').RaphProperties>) => void;
|
|
290
|
-
addLocalProperty: <K extends string>(property: import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K>) => void;
|
|
291
|
-
getLocalProperty: <K extends string>(key: K) => import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K> | undefined;
|
|
292
|
-
dirtyLocalNodeDefaults: (node: import('@endge/raph').RaphNode<any>, invalidate?: boolean) => void;
|
|
293
|
-
setScheduler: (mode: import('@endge/raph').RaphSchedulerType) => void;
|
|
294
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
295
|
-
invalidate?: boolean;
|
|
296
|
-
vars?: Record<string, any>;
|
|
297
|
-
}) => boolean;
|
|
298
|
-
observeData: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
299
|
-
enqueueDataObserver: (observer: import('@endge/raph').RaphDataObserver<any>, path: import('@endge/raph').DataPathDef, opts?: {
|
|
300
|
-
invalidate?: boolean;
|
|
301
|
-
vars?: Record<string, any>;
|
|
302
|
-
}) => boolean;
|
|
303
|
-
dirty: (phase: import('@endge/raph').PhaseName | string, node: import('@endge/raph').RaphNode<any>, opts?: {
|
|
304
|
-
invalidate: boolean;
|
|
305
|
-
event?: import('@endge/raph').PhaseEvent;
|
|
306
|
-
}) => void;
|
|
307
|
-
run: () => void;
|
|
308
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
309
|
-
vars?: Record<string, any>;
|
|
310
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
311
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
312
|
-
invalidate?: boolean;
|
|
313
|
-
vars?: Record<string, any>;
|
|
314
|
-
}) => void;
|
|
315
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
316
|
-
invalidate?: boolean;
|
|
317
|
-
vars?: Record<string, any>;
|
|
318
|
-
}) => void;
|
|
319
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
320
|
-
invalidate?: boolean;
|
|
321
|
-
vars?: Record<string, any>;
|
|
322
|
-
}) => void;
|
|
323
|
-
startLoop: () => void;
|
|
324
|
-
acquireLoop: (owner: string) => import('@endge/raph').RaphLoopLease;
|
|
325
|
-
stopLoop: () => void;
|
|
326
|
-
invalidate: () => void;
|
|
327
|
-
reset: () => void;
|
|
328
|
-
subscribe: (ownerNode: import('@endge/raph').RaphNode<any>, maskOrMasks: import('@endge/raph').DataPathDef | Array<import('@endge/raph').DataPathDef>, callback: import('@endge/raph').ControlFlowCallback, opts?: import('@endge/raph').ControlFlowSubscribeOptions) => () => void;
|
|
329
|
-
unsubscribe: (subscriptionId: import('@endge/raph').ControlFlowSubscriptionId) => void;
|
|
330
|
-
unsubscribeOwner: (ownerNode: import('@endge/raph').RaphNode<any>) => void;
|
|
331
|
-
track: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, opts?: {
|
|
332
|
-
vars?: Record<string, any>;
|
|
333
|
-
wildcardDynamic?: boolean;
|
|
334
|
-
}) => void;
|
|
335
|
-
untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
|
|
336
|
-
getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
|
|
337
|
-
priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
|
|
338
|
-
readonly data: import('@endge/raph').DataObject;
|
|
339
|
-
readonly graph: {
|
|
340
|
-
addNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
341
|
-
removeNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => void;
|
|
342
|
-
hasNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
343
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<any> | undefined;
|
|
344
|
-
size: () => number;
|
|
345
|
-
addEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
346
|
-
removeEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => void;
|
|
347
|
-
parentsOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
348
|
-
childrenOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
349
|
-
rootIds: () => ReadonlySet<string>;
|
|
350
|
-
roots: () => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
351
|
-
getDepth: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => number;
|
|
352
|
-
topoOrder: () => import('@endge/raph').RaphNode<any>[];
|
|
353
|
-
expandByTraversal: (base: Set<import('@endge/raph').RaphNode<any>> | null, traversal: "dirty-only" | "dirty-and-down" | "dirty-and-up" | "all") => Set<import('@endge/raph').RaphNode<any>>;
|
|
354
|
-
};
|
|
355
|
-
readonly loopEnabled: boolean;
|
|
356
|
-
readonly frame: {
|
|
357
|
-
now: number;
|
|
358
|
-
delta: number;
|
|
359
|
-
elapsed: number;
|
|
360
|
-
frame: number;
|
|
361
|
-
};
|
|
362
|
-
readonly ups: number;
|
|
363
|
-
readonly eps: number;
|
|
364
|
-
readonly nps: number;
|
|
365
|
-
readonly maxUps: number;
|
|
366
|
-
readonly minUpdateInterval: number;
|
|
367
|
-
readonly dataAdapter: {
|
|
368
|
-
root: () => import('@endge/raph').DataObject;
|
|
369
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
370
|
-
vars?: Record<string, any>;
|
|
371
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
372
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
373
|
-
vars?: Record<string, any>;
|
|
374
|
-
}) => void;
|
|
375
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
376
|
-
vars?: Record<string, any>;
|
|
377
|
-
}) => void;
|
|
378
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
379
|
-
vars?: Record<string, any>;
|
|
380
|
-
}) => void;
|
|
381
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
382
|
-
vars?: Record<string, any>;
|
|
383
|
-
}) => number;
|
|
384
|
-
};
|
|
385
|
-
readonly kernel: {
|
|
386
|
-
readonly id: string;
|
|
387
|
-
createRuntime: <Props extends import('@endge/raph').RaphProperties = import('@endge/raph').RaphProperties>(options?: import('@endge/raph').RaphRuntimeOptions) => import('@endge/raph').RaphRuntime<Props>;
|
|
388
|
-
registerRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
389
|
-
unregisterRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
390
|
-
registerDerived: <TSource, TTarget>(runtime: import('@endge/raph').RaphRuntime<any>, options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
391
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
392
|
-
disposeAllDerived: () => void;
|
|
393
|
-
disposeRuntimeDerived: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
394
|
-
registerDataObserver: <Props extends import('@endge/raph').RaphProperties>(runtime: import('@endge/raph').RaphRuntime<Props>, node: import('@endge/raph').RaphDataObserver<Props>["node"], mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
395
|
-
removeDataObserversByRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
396
|
-
removeDataObserversByNode: (runtime: import('@endge/raph').RaphRuntime<any>, node: import('@endge/raph').RaphDataObserver["node"]) => void;
|
|
397
|
-
transaction: (fn: () => void) => void;
|
|
398
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
399
|
-
vars?: Record<string, any>;
|
|
400
|
-
}) => unknown;
|
|
401
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
402
|
-
invalidate?: boolean;
|
|
403
|
-
vars?: Record<string, any>;
|
|
404
|
-
}) => void;
|
|
405
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
406
|
-
invalidate?: boolean;
|
|
407
|
-
vars?: Record<string, any>;
|
|
408
|
-
}) => void;
|
|
409
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
410
|
-
invalidate?: boolean;
|
|
411
|
-
vars?: Record<string, any>;
|
|
412
|
-
}) => void;
|
|
413
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
414
|
-
invalidate?: boolean;
|
|
415
|
-
vars?: Record<string, any>;
|
|
416
|
-
}) => void;
|
|
417
|
-
setDataAdapter: (adapter: import('@endge/raph').DataAdapter) => void;
|
|
418
|
-
clear: () => void;
|
|
419
|
-
readonly dataAdapter: {
|
|
420
|
-
root: () => import('@endge/raph').DataObject;
|
|
421
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
422
|
-
vars?: Record<string, any>;
|
|
423
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
424
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
425
|
-
vars?: Record<string, any>;
|
|
426
|
-
}) => void;
|
|
427
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
428
|
-
vars?: Record<string, any>;
|
|
429
|
-
}) => void;
|
|
430
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
431
|
-
vars?: Record<string, any>;
|
|
432
|
-
}) => void;
|
|
433
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
434
|
-
vars?: Record<string, any>;
|
|
435
|
-
}) => number;
|
|
436
|
-
};
|
|
437
|
-
readonly data: import('@endge/raph').DataObject;
|
|
438
|
-
};
|
|
439
|
-
readonly phases: readonly {
|
|
440
|
-
name: import('@endge/raph').PhaseName;
|
|
441
|
-
traversal: import('@endge/raph').Traversal;
|
|
442
|
-
routes: Array<string>;
|
|
443
|
-
always?: boolean | undefined;
|
|
444
|
-
mode?: "dirty" | "all" | undefined;
|
|
445
|
-
each?: import('@endge/raph').PhaseEachExecutor | undefined;
|
|
446
|
-
all?: import('@endge/raph').PhaseAllExecutor | undefined;
|
|
447
|
-
nodes?: (((node: import('@endge/raph').RaphNode<any>) => boolean) | Array<import('@endge/raph').RaphNodeType>) | undefined;
|
|
448
|
-
}[];
|
|
449
|
-
getPhase: (name: import('@endge/raph').PhaseName) => import('@endge/raph').RaphPhase | undefined;
|
|
450
|
-
readonly root: /*elided*/ any;
|
|
451
|
-
readonly UPS: number;
|
|
452
|
-
};
|
|
453
|
-
readonly id: string;
|
|
454
|
-
readonly weight: number;
|
|
455
|
-
readonly computedWeight: number;
|
|
456
|
-
readonly meta: Record<string, unknown>;
|
|
457
|
-
readonly type: string;
|
|
458
|
-
readonly parent: /*elided*/ any | null;
|
|
459
|
-
readonly children: /*elided*/ any[];
|
|
460
|
-
readonly local: {
|
|
461
|
-
get: <K extends string>(key: K) => import('@endge/raph').RaphProperties[K];
|
|
462
|
-
set: <K extends string>(key: K, value: import('@endge/raph').RaphProperties[K]) => void;
|
|
463
|
-
};
|
|
464
|
-
} | null;
|
|
60
|
+
readonly node: RaphNode | null;
|
|
465
61
|
readonly basePath: string;
|
|
466
62
|
statePath: (path?: string) => string;
|
|
467
63
|
outputPath: (name: string) => string;
|
|
@@ -500,257 +96,6 @@ declare function __VLS_template(): {
|
|
|
500
96
|
readonly capabilities: readonly import('@endge/core').RuntimeHostCapability[];
|
|
501
97
|
readonly entityType: keyof import('@endge/core').RuntimeEntityModelMap;
|
|
502
98
|
readonly model: {
|
|
503
|
-
description: string | null;
|
|
504
|
-
routeName: string | null;
|
|
505
|
-
routePath: string | null;
|
|
506
|
-
templateId: number | null;
|
|
507
|
-
enabled: boolean;
|
|
508
|
-
areas: {
|
|
509
|
-
slotId: string;
|
|
510
|
-
blocks?: {
|
|
511
|
-
key: string;
|
|
512
|
-
entityType?: string | null | undefined;
|
|
513
|
-
entityId?: number | null | undefined;
|
|
514
|
-
entityIdentity?: string | null | undefined;
|
|
515
|
-
titleOverride?: string | null | undefined;
|
|
516
|
-
visibleWhen?: string | null | undefined;
|
|
517
|
-
props?: (Record<string, unknown> | null) | undefined;
|
|
518
|
-
}[] | undefined;
|
|
519
|
-
}[];
|
|
520
|
-
readonly type: import('@endge/core').DomainDocumentType;
|
|
521
|
-
toPlain: () => import('@endge/core').RPageSchema;
|
|
522
|
-
duplicate: (options: import('@endge/core').DuplicateOptions) => RPage;
|
|
523
|
-
id: number;
|
|
524
|
-
identity: string;
|
|
525
|
-
displayName: string;
|
|
526
|
-
name: string;
|
|
527
|
-
folderId?: string | number | null | undefined;
|
|
528
|
-
managedBy: import('@endge/core').ManagedBy;
|
|
529
|
-
origin: {
|
|
530
|
-
kind: "storage";
|
|
531
|
-
} | {
|
|
532
|
-
kind: "builtin";
|
|
533
|
-
owner: string;
|
|
534
|
-
} | {
|
|
535
|
-
kind: "local";
|
|
536
|
-
owner: string;
|
|
537
|
-
} | {
|
|
538
|
-
kind: "derived";
|
|
539
|
-
source: {
|
|
540
|
-
type: string;
|
|
541
|
-
identity: string;
|
|
542
|
-
};
|
|
543
|
-
};
|
|
544
|
-
managedById: string | null;
|
|
545
|
-
isTemporary: boolean;
|
|
546
|
-
meta: Record<string, unknown>;
|
|
547
|
-
createdAt?: string | undefined;
|
|
548
|
-
updatedAt?: string | undefined;
|
|
549
|
-
deletedAt?: string | null | undefined;
|
|
550
|
-
author?: string | null | undefined;
|
|
551
|
-
active?: boolean | null | undefined;
|
|
552
|
-
applyEntityMeta: (raw: unknown) => void;
|
|
553
|
-
applyStorageMeta: (raw: any) => void;
|
|
554
|
-
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
555
|
-
getDiagnosticProblems: () => import('@endge/core').DiagnosticsProblemInput[];
|
|
556
|
-
compile: () => void;
|
|
557
|
-
} | {
|
|
558
|
-
type: import('@endge/core').QueryType;
|
|
559
|
-
source: string;
|
|
560
|
-
sourceVersion: number;
|
|
561
|
-
run: (props?: Record<string, unknown>) => Promise<any>;
|
|
562
|
-
id: number;
|
|
563
|
-
identity: string;
|
|
564
|
-
displayName: string;
|
|
565
|
-
name: string;
|
|
566
|
-
description: string | null;
|
|
567
|
-
folderId?: string | number | null | undefined;
|
|
568
|
-
managedBy: import('@endge/core').ManagedBy;
|
|
569
|
-
origin: {
|
|
570
|
-
kind: "storage";
|
|
571
|
-
} | {
|
|
572
|
-
kind: "builtin";
|
|
573
|
-
owner: string;
|
|
574
|
-
} | {
|
|
575
|
-
kind: "local";
|
|
576
|
-
owner: string;
|
|
577
|
-
} | {
|
|
578
|
-
kind: "derived";
|
|
579
|
-
source: {
|
|
580
|
-
type: string;
|
|
581
|
-
identity: string;
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
managedById: string | null;
|
|
585
|
-
isTemporary: boolean;
|
|
586
|
-
meta: Record<string, unknown>;
|
|
587
|
-
createdAt?: string | undefined;
|
|
588
|
-
updatedAt?: string | undefined;
|
|
589
|
-
deletedAt?: string | null | undefined;
|
|
590
|
-
author?: string | null | undefined;
|
|
591
|
-
active?: boolean | null | undefined;
|
|
592
|
-
applyEntityMeta: (raw: unknown) => void;
|
|
593
|
-
applyStorageMeta: (raw: any) => void;
|
|
594
|
-
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
595
|
-
getDiagnosticProblems: () => import('@endge/core').DiagnosticsProblemInput[];
|
|
596
|
-
compile: () => void;
|
|
597
|
-
duplicate: (_options: import('@endge/core').DuplicateOptions) => import('@endge/core').REntity;
|
|
598
|
-
} | {
|
|
599
|
-
definition: {
|
|
600
|
-
version: number;
|
|
601
|
-
entrypoint: string;
|
|
602
|
-
nodes: {
|
|
603
|
-
id: string;
|
|
604
|
-
title: string;
|
|
605
|
-
blockId: string;
|
|
606
|
-
kind: import('@endge/core').EndgeFlowNodeKind;
|
|
607
|
-
params?: import('@endge/core').EndgeFlowNodeParams | undefined;
|
|
608
|
-
meta?: Record<string, unknown> | undefined;
|
|
609
|
-
}[];
|
|
610
|
-
edges: {
|
|
611
|
-
id: string;
|
|
612
|
-
sourceNodeId: string;
|
|
613
|
-
sourcePortId: string;
|
|
614
|
-
targetNodeId: string;
|
|
615
|
-
targetPortId: string;
|
|
616
|
-
label?: string | null | undefined;
|
|
617
|
-
}[];
|
|
618
|
-
};
|
|
619
|
-
input: {
|
|
620
|
-
name: string;
|
|
621
|
-
type: string;
|
|
622
|
-
isArray: boolean;
|
|
623
|
-
optional: boolean;
|
|
624
|
-
params?: (Map<string, /*elided*/ any> & Omit<Map<string, import('@endge/core').RField>, keyof Map<any, any>>) | undefined;
|
|
625
|
-
isMethod: () => boolean;
|
|
626
|
-
} | null;
|
|
627
|
-
output: {
|
|
628
|
-
name: string;
|
|
629
|
-
type: string;
|
|
630
|
-
isArray: boolean;
|
|
631
|
-
optional: boolean;
|
|
632
|
-
params?: (Map<string, /*elided*/ any> & Omit<Map<string, import('@endge/core').RField>, keyof Map<any, any>>) | undefined;
|
|
633
|
-
isMethod: () => boolean;
|
|
634
|
-
} | null;
|
|
635
|
-
target: {
|
|
636
|
-
type: string;
|
|
637
|
-
identity?: string | undefined;
|
|
638
|
-
}[] | null;
|
|
639
|
-
defaultImplementation: {
|
|
640
|
-
kind: "flow";
|
|
641
|
-
} | {
|
|
642
|
-
kind: "provider";
|
|
643
|
-
providerKey: string;
|
|
644
|
-
} | {
|
|
645
|
-
kind: "component-port";
|
|
646
|
-
portName: string;
|
|
647
|
-
};
|
|
648
|
-
owner?: {
|
|
649
|
-
type: string;
|
|
650
|
-
identity: string;
|
|
651
|
-
} | undefined;
|
|
652
|
-
setStepHandler: (runtimeId: string, fn: import('@endge/core').ActionStepHandler | undefined) => void;
|
|
653
|
-
getStepHandler: (runtimeId: string) => import('@endge/core').ActionStepHandler | undefined;
|
|
654
|
-
hasStepHandler: (runtimeId: string) => boolean;
|
|
655
|
-
clearStepHandlers: () => void;
|
|
656
|
-
readonly compiledFlow: {
|
|
657
|
-
flow: {
|
|
658
|
-
version: number;
|
|
659
|
-
entrypoint: string;
|
|
660
|
-
nodes: {
|
|
661
|
-
id: string;
|
|
662
|
-
title: string;
|
|
663
|
-
blockId: string;
|
|
664
|
-
kind: import('@endge/core').EndgeFlowNodeKind;
|
|
665
|
-
params?: import('@endge/core').EndgeFlowNodeParams | undefined;
|
|
666
|
-
meta?: Record<string, unknown> | undefined;
|
|
667
|
-
}[];
|
|
668
|
-
edges: {
|
|
669
|
-
id: string;
|
|
670
|
-
sourceNodeId: string;
|
|
671
|
-
sourcePortId: string;
|
|
672
|
-
targetNodeId: string;
|
|
673
|
-
targetPortId: string;
|
|
674
|
-
label?: string | null | undefined;
|
|
675
|
-
}[];
|
|
676
|
-
};
|
|
677
|
-
nodesById: Map<string, {
|
|
678
|
-
id: string;
|
|
679
|
-
title: string;
|
|
680
|
-
blockId: string;
|
|
681
|
-
kind: import('@endge/core').EndgeFlowNodeKind;
|
|
682
|
-
params?: import('@endge/core').EndgeFlowNodeParams | undefined;
|
|
683
|
-
meta?: Record<string, unknown> | undefined;
|
|
684
|
-
}> & Omit<Map<string, import('@endge/core').EndgeFlowNodeDefinition>, keyof Map<any, any>>;
|
|
685
|
-
nodeIdByBlockId: Map<string, string> & Omit<Map<string, string>, keyof Map<any, any>>;
|
|
686
|
-
outgoingByNodeId: Map<string, {
|
|
687
|
-
id: string;
|
|
688
|
-
sourceNodeId: string;
|
|
689
|
-
sourcePortId: string;
|
|
690
|
-
targetNodeId: string;
|
|
691
|
-
targetPortId: string;
|
|
692
|
-
label?: string | null | undefined;
|
|
693
|
-
}[]> & Omit<Map<string, import('@endge/core').EndgeFlowEdgeDefinition[]>, keyof Map<any, any>>;
|
|
694
|
-
incomingByNodeId: Map<string, {
|
|
695
|
-
id: string;
|
|
696
|
-
sourceNodeId: string;
|
|
697
|
-
sourcePortId: string;
|
|
698
|
-
targetNodeId: string;
|
|
699
|
-
targetPortId: string;
|
|
700
|
-
label?: string | null | undefined;
|
|
701
|
-
}[]> & Omit<Map<string, import('@endge/core').EndgeFlowEdgeDefinition[]>, keyof Map<any, any>>;
|
|
702
|
-
runtimeNodeIdByRuntimeId: Map<string, string> & Omit<Map<string, string>, keyof Map<any, any>>;
|
|
703
|
-
reachableNodeIds: string[];
|
|
704
|
-
issues: {
|
|
705
|
-
code: string;
|
|
706
|
-
message: string;
|
|
707
|
-
nodeId?: string | undefined;
|
|
708
|
-
edgeId?: string | undefined;
|
|
709
|
-
}[];
|
|
710
|
-
} | null;
|
|
711
|
-
getValidationIssues: () => import('@endge/core').FlowValidationIssue[];
|
|
712
|
-
validate: () => import('@endge/core').FlowValidationIssue[];
|
|
713
|
-
getCompiledRuntimeNodeId: (runtimeId: string) => string | null;
|
|
714
|
-
buildCompiledFlow: () => import('@endge/core').ActionCompiledFlow;
|
|
715
|
-
compile: () => void;
|
|
716
|
-
run: () => Promise<unknown>;
|
|
717
|
-
toPlain: () => Record<string, unknown>;
|
|
718
|
-
duplicate: (options: import('@endge/core').DuplicateOptions) => import('@endge/core').RAction;
|
|
719
|
-
id: number;
|
|
720
|
-
identity: string;
|
|
721
|
-
displayName: string;
|
|
722
|
-
name: string;
|
|
723
|
-
description: string | null;
|
|
724
|
-
folderId?: string | number | null | undefined;
|
|
725
|
-
managedBy: import('@endge/core').ManagedBy;
|
|
726
|
-
origin: {
|
|
727
|
-
kind: "storage";
|
|
728
|
-
} | {
|
|
729
|
-
kind: "builtin";
|
|
730
|
-
owner: string;
|
|
731
|
-
} | {
|
|
732
|
-
kind: "local";
|
|
733
|
-
owner: string;
|
|
734
|
-
} | {
|
|
735
|
-
kind: "derived";
|
|
736
|
-
source: {
|
|
737
|
-
type: string;
|
|
738
|
-
identity: string;
|
|
739
|
-
};
|
|
740
|
-
};
|
|
741
|
-
managedById: string | null;
|
|
742
|
-
isTemporary: boolean;
|
|
743
|
-
meta: Record<string, unknown>;
|
|
744
|
-
createdAt?: string | undefined;
|
|
745
|
-
updatedAt?: string | undefined;
|
|
746
|
-
deletedAt?: string | null | undefined;
|
|
747
|
-
author?: string | null | undefined;
|
|
748
|
-
active?: boolean | null | undefined;
|
|
749
|
-
applyEntityMeta: (raw: unknown) => void;
|
|
750
|
-
applyStorageMeta: (raw: any) => void;
|
|
751
|
-
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
752
|
-
getDiagnosticProblems: () => import('@endge/core').DiagnosticsProblemInput[];
|
|
753
|
-
} | {
|
|
754
99
|
configuration: {
|
|
755
100
|
mode: "inherit";
|
|
756
101
|
patch: {
|
|
@@ -1103,6 +448,47 @@ declare function __VLS_template(): {
|
|
|
1103
448
|
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
1104
449
|
compile: () => void;
|
|
1105
450
|
duplicate: (_options: import('@endge/core').DuplicateOptions) => import('@endge/core').REntity;
|
|
451
|
+
} | {
|
|
452
|
+
type: import('@endge/core').QueryType;
|
|
453
|
+
source: string;
|
|
454
|
+
sourceVersion: number;
|
|
455
|
+
run: (props?: Record<string, unknown>) => Promise<any>;
|
|
456
|
+
id: number;
|
|
457
|
+
identity: string;
|
|
458
|
+
displayName: string;
|
|
459
|
+
name: string;
|
|
460
|
+
description: string | null;
|
|
461
|
+
folderId?: string | number | null | undefined;
|
|
462
|
+
managedBy: import('@endge/core').ManagedBy;
|
|
463
|
+
origin: {
|
|
464
|
+
kind: "storage";
|
|
465
|
+
} | {
|
|
466
|
+
kind: "builtin";
|
|
467
|
+
owner: string;
|
|
468
|
+
} | {
|
|
469
|
+
kind: "local";
|
|
470
|
+
owner: string;
|
|
471
|
+
} | {
|
|
472
|
+
kind: "derived";
|
|
473
|
+
source: {
|
|
474
|
+
type: string;
|
|
475
|
+
identity: string;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
managedById: string | null;
|
|
479
|
+
isTemporary: boolean;
|
|
480
|
+
meta: Record<string, unknown>;
|
|
481
|
+
createdAt?: string | undefined;
|
|
482
|
+
updatedAt?: string | undefined;
|
|
483
|
+
deletedAt?: string | null | undefined;
|
|
484
|
+
author?: string | null | undefined;
|
|
485
|
+
active?: boolean | null | undefined;
|
|
486
|
+
applyEntityMeta: (raw: unknown) => void;
|
|
487
|
+
applyStorageMeta: (raw: any) => void;
|
|
488
|
+
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
489
|
+
getDiagnosticProblems: () => import('@endge/core').DiagnosticsProblemInput[];
|
|
490
|
+
compile: () => void;
|
|
491
|
+
duplicate: (_options: import('@endge/core').DuplicateOptions) => import('@endge/core').REntity;
|
|
1106
492
|
} | {
|
|
1107
493
|
kind: string;
|
|
1108
494
|
type: import("@endge/core").ComponentType.SFC;
|
|
@@ -1152,6 +538,216 @@ declare function __VLS_template(): {
|
|
|
1152
538
|
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
1153
539
|
getDiagnosticProblems: () => import('@endge/core').DiagnosticsProblemInput[];
|
|
1154
540
|
compile: () => void;
|
|
541
|
+
} | {
|
|
542
|
+
definition: {
|
|
543
|
+
version: number;
|
|
544
|
+
entrypoint: string;
|
|
545
|
+
nodes: {
|
|
546
|
+
id: string;
|
|
547
|
+
title: string;
|
|
548
|
+
blockId: string;
|
|
549
|
+
kind: import('@endge/core').EndgeFlowNodeKind;
|
|
550
|
+
params?: import('@endge/core').EndgeFlowNodeParams | undefined;
|
|
551
|
+
meta?: Record<string, unknown> | undefined;
|
|
552
|
+
}[];
|
|
553
|
+
edges: {
|
|
554
|
+
id: string;
|
|
555
|
+
sourceNodeId: string;
|
|
556
|
+
sourcePortId: string;
|
|
557
|
+
targetNodeId: string;
|
|
558
|
+
targetPortId: string;
|
|
559
|
+
label?: string | null | undefined;
|
|
560
|
+
}[];
|
|
561
|
+
};
|
|
562
|
+
input: {
|
|
563
|
+
name: string;
|
|
564
|
+
type: string;
|
|
565
|
+
isArray: boolean;
|
|
566
|
+
optional: boolean;
|
|
567
|
+
params?: (Map<string, /*elided*/ any> & Omit<Map<string, import('@endge/core').RField>, keyof Map<any, any>>) | undefined;
|
|
568
|
+
isMethod: () => boolean;
|
|
569
|
+
} | null;
|
|
570
|
+
output: {
|
|
571
|
+
name: string;
|
|
572
|
+
type: string;
|
|
573
|
+
isArray: boolean;
|
|
574
|
+
optional: boolean;
|
|
575
|
+
params?: (Map<string, /*elided*/ any> & Omit<Map<string, import('@endge/core').RField>, keyof Map<any, any>>) | undefined;
|
|
576
|
+
isMethod: () => boolean;
|
|
577
|
+
} | null;
|
|
578
|
+
target: {
|
|
579
|
+
type: string;
|
|
580
|
+
identity?: string | undefined;
|
|
581
|
+
}[] | null;
|
|
582
|
+
defaultImplementation: {
|
|
583
|
+
kind: "flow";
|
|
584
|
+
} | {
|
|
585
|
+
kind: "provider";
|
|
586
|
+
providerKey: string;
|
|
587
|
+
} | {
|
|
588
|
+
kind: "component-port";
|
|
589
|
+
portName: string;
|
|
590
|
+
};
|
|
591
|
+
owner?: {
|
|
592
|
+
type: string;
|
|
593
|
+
identity: string;
|
|
594
|
+
} | undefined;
|
|
595
|
+
setStepHandler: (runtimeId: string, fn: import('@endge/core').ActionStepHandler | undefined) => void;
|
|
596
|
+
getStepHandler: (runtimeId: string) => import('@endge/core').ActionStepHandler | undefined;
|
|
597
|
+
hasStepHandler: (runtimeId: string) => boolean;
|
|
598
|
+
clearStepHandlers: () => void;
|
|
599
|
+
readonly compiledFlow: {
|
|
600
|
+
flow: {
|
|
601
|
+
version: number;
|
|
602
|
+
entrypoint: string;
|
|
603
|
+
nodes: {
|
|
604
|
+
id: string;
|
|
605
|
+
title: string;
|
|
606
|
+
blockId: string;
|
|
607
|
+
kind: import('@endge/core').EndgeFlowNodeKind;
|
|
608
|
+
params?: import('@endge/core').EndgeFlowNodeParams | undefined;
|
|
609
|
+
meta?: Record<string, unknown> | undefined;
|
|
610
|
+
}[];
|
|
611
|
+
edges: {
|
|
612
|
+
id: string;
|
|
613
|
+
sourceNodeId: string;
|
|
614
|
+
sourcePortId: string;
|
|
615
|
+
targetNodeId: string;
|
|
616
|
+
targetPortId: string;
|
|
617
|
+
label?: string | null | undefined;
|
|
618
|
+
}[];
|
|
619
|
+
};
|
|
620
|
+
nodesById: Map<string, {
|
|
621
|
+
id: string;
|
|
622
|
+
title: string;
|
|
623
|
+
blockId: string;
|
|
624
|
+
kind: import('@endge/core').EndgeFlowNodeKind;
|
|
625
|
+
params?: import('@endge/core').EndgeFlowNodeParams | undefined;
|
|
626
|
+
meta?: Record<string, unknown> | undefined;
|
|
627
|
+
}> & Omit<Map<string, import('@endge/core').EndgeFlowNodeDefinition>, keyof Map<any, any>>;
|
|
628
|
+
nodeIdByBlockId: Map<string, string> & Omit<Map<string, string>, keyof Map<any, any>>;
|
|
629
|
+
outgoingByNodeId: Map<string, {
|
|
630
|
+
id: string;
|
|
631
|
+
sourceNodeId: string;
|
|
632
|
+
sourcePortId: string;
|
|
633
|
+
targetNodeId: string;
|
|
634
|
+
targetPortId: string;
|
|
635
|
+
label?: string | null | undefined;
|
|
636
|
+
}[]> & Omit<Map<string, import('@endge/core').EndgeFlowEdgeDefinition[]>, keyof Map<any, any>>;
|
|
637
|
+
incomingByNodeId: Map<string, {
|
|
638
|
+
id: string;
|
|
639
|
+
sourceNodeId: string;
|
|
640
|
+
sourcePortId: string;
|
|
641
|
+
targetNodeId: string;
|
|
642
|
+
targetPortId: string;
|
|
643
|
+
label?: string | null | undefined;
|
|
644
|
+
}[]> & Omit<Map<string, import('@endge/core').EndgeFlowEdgeDefinition[]>, keyof Map<any, any>>;
|
|
645
|
+
runtimeNodeIdByRuntimeId: Map<string, string> & Omit<Map<string, string>, keyof Map<any, any>>;
|
|
646
|
+
reachableNodeIds: string[];
|
|
647
|
+
issues: {
|
|
648
|
+
code: string;
|
|
649
|
+
message: string;
|
|
650
|
+
nodeId?: string | undefined;
|
|
651
|
+
edgeId?: string | undefined;
|
|
652
|
+
}[];
|
|
653
|
+
} | null;
|
|
654
|
+
getValidationIssues: () => import('@endge/core').FlowValidationIssue[];
|
|
655
|
+
validate: () => import('@endge/core').FlowValidationIssue[];
|
|
656
|
+
getCompiledRuntimeNodeId: (runtimeId: string) => string | null;
|
|
657
|
+
buildCompiledFlow: () => import('@endge/core').ActionCompiledFlow;
|
|
658
|
+
compile: () => void;
|
|
659
|
+
run: () => Promise<unknown>;
|
|
660
|
+
toPlain: () => Record<string, unknown>;
|
|
661
|
+
duplicate: (options: import('@endge/core').DuplicateOptions) => import('@endge/core').RAction;
|
|
662
|
+
id: number;
|
|
663
|
+
identity: string;
|
|
664
|
+
displayName: string;
|
|
665
|
+
name: string;
|
|
666
|
+
description: string | null;
|
|
667
|
+
folderId?: string | number | null | undefined;
|
|
668
|
+
managedBy: import('@endge/core').ManagedBy;
|
|
669
|
+
origin: {
|
|
670
|
+
kind: "storage";
|
|
671
|
+
} | {
|
|
672
|
+
kind: "builtin";
|
|
673
|
+
owner: string;
|
|
674
|
+
} | {
|
|
675
|
+
kind: "local";
|
|
676
|
+
owner: string;
|
|
677
|
+
} | {
|
|
678
|
+
kind: "derived";
|
|
679
|
+
source: {
|
|
680
|
+
type: string;
|
|
681
|
+
identity: string;
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
managedById: string | null;
|
|
685
|
+
isTemporary: boolean;
|
|
686
|
+
meta: Record<string, unknown>;
|
|
687
|
+
createdAt?: string | undefined;
|
|
688
|
+
updatedAt?: string | undefined;
|
|
689
|
+
deletedAt?: string | null | undefined;
|
|
690
|
+
author?: string | null | undefined;
|
|
691
|
+
active?: boolean | null | undefined;
|
|
692
|
+
applyEntityMeta: (raw: unknown) => void;
|
|
693
|
+
applyStorageMeta: (raw: any) => void;
|
|
694
|
+
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
695
|
+
getDiagnosticProblems: () => import('@endge/core').DiagnosticsProblemInput[];
|
|
696
|
+
} | {
|
|
697
|
+
description: string | null;
|
|
698
|
+
routeName: string | null;
|
|
699
|
+
routePath: string | null;
|
|
700
|
+
templateId: number | null;
|
|
701
|
+
enabled: boolean;
|
|
702
|
+
areas: {
|
|
703
|
+
slotId: string;
|
|
704
|
+
blocks?: {
|
|
705
|
+
key: string;
|
|
706
|
+
entityType?: string | null | undefined;
|
|
707
|
+
entityId?: number | null | undefined;
|
|
708
|
+
entityIdentity?: string | null | undefined;
|
|
709
|
+
titleOverride?: string | null | undefined;
|
|
710
|
+
visibleWhen?: string | null | undefined;
|
|
711
|
+
props?: (Record<string, unknown> | null) | undefined;
|
|
712
|
+
}[] | undefined;
|
|
713
|
+
}[];
|
|
714
|
+
readonly type: import('@endge/core').DomainDocumentType;
|
|
715
|
+
toPlain: () => import('@endge/core').RPageSchema;
|
|
716
|
+
duplicate: (options: import('@endge/core').DuplicateOptions) => RPage;
|
|
717
|
+
id: number;
|
|
718
|
+
identity: string;
|
|
719
|
+
displayName: string;
|
|
720
|
+
name: string;
|
|
721
|
+
folderId?: string | number | null | undefined;
|
|
722
|
+
managedBy: import('@endge/core').ManagedBy;
|
|
723
|
+
origin: {
|
|
724
|
+
kind: "storage";
|
|
725
|
+
} | {
|
|
726
|
+
kind: "builtin";
|
|
727
|
+
owner: string;
|
|
728
|
+
} | {
|
|
729
|
+
kind: "local";
|
|
730
|
+
owner: string;
|
|
731
|
+
} | {
|
|
732
|
+
kind: "derived";
|
|
733
|
+
source: {
|
|
734
|
+
type: string;
|
|
735
|
+
identity: string;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
managedById: string | null;
|
|
739
|
+
isTemporary: boolean;
|
|
740
|
+
meta: Record<string, unknown>;
|
|
741
|
+
createdAt?: string | undefined;
|
|
742
|
+
updatedAt?: string | undefined;
|
|
743
|
+
deletedAt?: string | null | undefined;
|
|
744
|
+
author?: string | null | undefined;
|
|
745
|
+
active?: boolean | null | undefined;
|
|
746
|
+
applyEntityMeta: (raw: unknown) => void;
|
|
747
|
+
applyStorageMeta: (raw: any) => void;
|
|
748
|
+
applyManagement: (raw: import('@endge/core').EntityManagement | Record<string, unknown> | null | undefined) => void;
|
|
749
|
+
getDiagnosticProblems: () => import('@endge/core').DiagnosticsProblemInput[];
|
|
750
|
+
compile: () => void;
|
|
1155
751
|
} | {
|
|
1156
752
|
displayName: string;
|
|
1157
753
|
fields: {
|
|
@@ -1448,411 +1044,7 @@ declare function __VLS_template(): {
|
|
|
1448
1044
|
remove: (entityKey: string, section?: string) => void;
|
|
1449
1045
|
clear: () => void;
|
|
1450
1046
|
} | null;
|
|
1451
|
-
readonly node:
|
|
1452
|
-
addChild: (node: import('@endge/raph').RaphNode<any>, options?: {
|
|
1453
|
-
invalidate?: boolean;
|
|
1454
|
-
}) => boolean;
|
|
1455
|
-
remove: () => void;
|
|
1456
|
-
addMeta: (key: string, value: unknown) => void;
|
|
1457
|
-
options: (opts: Partial<import('@endge/raph').RaphProperties> & {
|
|
1458
|
-
id?: string;
|
|
1459
|
-
weight?: number;
|
|
1460
|
-
meta?: Record<string, unknown>;
|
|
1461
|
-
type?: string;
|
|
1462
|
-
}) => import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>;
|
|
1463
|
-
get: <K extends string>(key: K) => import('@endge/raph').RaphProperties[K];
|
|
1464
|
-
set: <K extends string>(key: K, value: import('@endge/raph').RaphProperties[K]) => void;
|
|
1465
|
-
getLocal: <K extends string>(key: K) => import('@endge/raph').RaphProperties[K];
|
|
1466
|
-
setLocal: <K extends string>(key: K, value: import('@endge/raph').RaphProperties[K]) => void;
|
|
1467
|
-
dirty: (phase: import('@endge/raph').PhaseName | string | Array<import('@endge/raph').PhaseName | string>) => void;
|
|
1468
|
-
traverseAll: (cb: (node: import('@endge/raph').RaphNode<any>) => void) => void;
|
|
1469
|
-
dispose: () => void;
|
|
1470
|
-
_attachApp: (app: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1471
|
-
hasDirtyPhase: (bit: number) => boolean;
|
|
1472
|
-
markDirtyPhase: (bit: number) => void;
|
|
1473
|
-
clearDirtyPhase: (bit: number) => void;
|
|
1474
|
-
readonly app: {
|
|
1475
|
-
readonly id: string;
|
|
1476
|
-
options: (opts: Partial<import('@endge/raph').RaphOptions>) => void;
|
|
1477
|
-
derive: <TSource = unknown, TTarget = unknown>(options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
1478
|
-
transaction: (fn: () => void) => void;
|
|
1479
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
1480
|
-
definePhases: (phases: Array<import('@endge/raph').RaphPhase>) => void;
|
|
1481
|
-
addPhase: (phase: import('@endge/raph').RaphPhase) => void;
|
|
1482
|
-
clearPhases: () => void;
|
|
1483
|
-
reinitPhases: () => void;
|
|
1484
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties> | undefined;
|
|
1485
|
-
addNode: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void;
|
|
1486
|
-
registerNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1487
|
-
removeNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1488
|
-
unregisterNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1489
|
-
addDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => boolean;
|
|
1490
|
-
removeDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => void;
|
|
1491
|
-
init: () => void;
|
|
1492
|
-
clear: () => void;
|
|
1493
|
-
destroy: () => void;
|
|
1494
|
-
traverseAll: (cb: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void) => void;
|
|
1495
|
-
addLocalPhase: (phase: import('@endge/raph').RaphLocalPhaseRuntime<import('@endge/raph').RaphProperties>) => void;
|
|
1496
|
-
addLocalProperty: <K extends string>(property: import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K>) => void;
|
|
1497
|
-
getLocalProperty: <K extends string>(key: K) => import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K> | undefined;
|
|
1498
|
-
dirtyLocalNodeDefaults: (node: import('@endge/raph').RaphNode<any>, invalidate?: boolean) => void;
|
|
1499
|
-
setScheduler: (mode: import('@endge/raph').RaphSchedulerType) => void;
|
|
1500
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1501
|
-
invalidate?: boolean;
|
|
1502
|
-
vars?: Record<string, any>;
|
|
1503
|
-
}) => boolean;
|
|
1504
|
-
observeData: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
1505
|
-
enqueueDataObserver: (observer: import('@endge/raph').RaphDataObserver<any>, path: import('@endge/raph').DataPathDef, opts?: {
|
|
1506
|
-
invalidate?: boolean;
|
|
1507
|
-
vars?: Record<string, any>;
|
|
1508
|
-
}) => boolean;
|
|
1509
|
-
dirty: (phase: import('@endge/raph').PhaseName | string, node: import('@endge/raph').RaphNode<any>, opts?: {
|
|
1510
|
-
invalidate: boolean;
|
|
1511
|
-
event?: import('@endge/raph').PhaseEvent;
|
|
1512
|
-
}) => void;
|
|
1513
|
-
run: () => void;
|
|
1514
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1515
|
-
vars?: Record<string, any>;
|
|
1516
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
1517
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1518
|
-
invalidate?: boolean;
|
|
1519
|
-
vars?: Record<string, any>;
|
|
1520
|
-
}) => void;
|
|
1521
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1522
|
-
invalidate?: boolean;
|
|
1523
|
-
vars?: Record<string, any>;
|
|
1524
|
-
}) => void;
|
|
1525
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1526
|
-
invalidate?: boolean;
|
|
1527
|
-
vars?: Record<string, any>;
|
|
1528
|
-
}) => void;
|
|
1529
|
-
startLoop: () => void;
|
|
1530
|
-
acquireLoop: (owner: string) => import('@endge/raph').RaphLoopLease;
|
|
1531
|
-
stopLoop: () => void;
|
|
1532
|
-
invalidate: () => void;
|
|
1533
|
-
reset: () => void;
|
|
1534
|
-
subscribe: (ownerNode: import('@endge/raph').RaphNode<any>, maskOrMasks: import('@endge/raph').DataPathDef | Array<import('@endge/raph').DataPathDef>, callback: import('@endge/raph').ControlFlowCallback, opts?: import('@endge/raph').ControlFlowSubscribeOptions) => () => void;
|
|
1535
|
-
unsubscribe: (subscriptionId: import('@endge/raph').ControlFlowSubscriptionId) => void;
|
|
1536
|
-
unsubscribeOwner: (ownerNode: import('@endge/raph').RaphNode<any>) => void;
|
|
1537
|
-
track: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, opts?: {
|
|
1538
|
-
vars?: Record<string, any>;
|
|
1539
|
-
wildcardDynamic?: boolean;
|
|
1540
|
-
}) => void;
|
|
1541
|
-
untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
|
|
1542
|
-
getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
|
|
1543
|
-
priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
|
|
1544
|
-
readonly data: import('@endge/raph').DataObject;
|
|
1545
|
-
readonly graph: {
|
|
1546
|
-
addNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1547
|
-
removeNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => void;
|
|
1548
|
-
hasNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
1549
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<any> | undefined;
|
|
1550
|
-
size: () => number;
|
|
1551
|
-
addEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
1552
|
-
removeEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => void;
|
|
1553
|
-
parentsOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
1554
|
-
childrenOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
1555
|
-
rootIds: () => ReadonlySet<string>;
|
|
1556
|
-
roots: () => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
1557
|
-
getDepth: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => number;
|
|
1558
|
-
topoOrder: () => import('@endge/raph').RaphNode<any>[];
|
|
1559
|
-
expandByTraversal: (base: Set<import('@endge/raph').RaphNode<any>> | null, traversal: "dirty-only" | "dirty-and-down" | "dirty-and-up" | "all") => Set<import('@endge/raph').RaphNode<any>>;
|
|
1560
|
-
};
|
|
1561
|
-
readonly loopEnabled: boolean;
|
|
1562
|
-
readonly frame: {
|
|
1563
|
-
now: number;
|
|
1564
|
-
delta: number;
|
|
1565
|
-
elapsed: number;
|
|
1566
|
-
frame: number;
|
|
1567
|
-
};
|
|
1568
|
-
readonly ups: number;
|
|
1569
|
-
readonly eps: number;
|
|
1570
|
-
readonly nps: number;
|
|
1571
|
-
readonly maxUps: number;
|
|
1572
|
-
readonly minUpdateInterval: number;
|
|
1573
|
-
readonly dataAdapter: {
|
|
1574
|
-
root: () => import('@endge/raph').DataObject;
|
|
1575
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1576
|
-
vars?: Record<string, any>;
|
|
1577
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
1578
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1579
|
-
vars?: Record<string, any>;
|
|
1580
|
-
}) => void;
|
|
1581
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1582
|
-
vars?: Record<string, any>;
|
|
1583
|
-
}) => void;
|
|
1584
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1585
|
-
vars?: Record<string, any>;
|
|
1586
|
-
}) => void;
|
|
1587
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1588
|
-
vars?: Record<string, any>;
|
|
1589
|
-
}) => number;
|
|
1590
|
-
};
|
|
1591
|
-
readonly kernel: {
|
|
1592
|
-
readonly id: string;
|
|
1593
|
-
createRuntime: <Props extends import('@endge/raph').RaphProperties = import('@endge/raph').RaphProperties>(options?: import('@endge/raph').RaphRuntimeOptions) => import('@endge/raph').RaphRuntime<Props>;
|
|
1594
|
-
registerRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1595
|
-
unregisterRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1596
|
-
registerDerived: <TSource, TTarget>(runtime: import('@endge/raph').RaphRuntime<any>, options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
1597
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
1598
|
-
disposeAllDerived: () => void;
|
|
1599
|
-
disposeRuntimeDerived: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1600
|
-
registerDataObserver: <Props extends import('@endge/raph').RaphProperties>(runtime: import('@endge/raph').RaphRuntime<Props>, node: import('@endge/raph').RaphDataObserver<Props>["node"], mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
1601
|
-
removeDataObserversByRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1602
|
-
removeDataObserversByNode: (runtime: import('@endge/raph').RaphRuntime<any>, node: import('@endge/raph').RaphDataObserver["node"]) => void;
|
|
1603
|
-
transaction: (fn: () => void) => void;
|
|
1604
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1605
|
-
vars?: Record<string, any>;
|
|
1606
|
-
}) => unknown;
|
|
1607
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1608
|
-
invalidate?: boolean;
|
|
1609
|
-
vars?: Record<string, any>;
|
|
1610
|
-
}) => void;
|
|
1611
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1612
|
-
invalidate?: boolean;
|
|
1613
|
-
vars?: Record<string, any>;
|
|
1614
|
-
}) => void;
|
|
1615
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1616
|
-
invalidate?: boolean;
|
|
1617
|
-
vars?: Record<string, any>;
|
|
1618
|
-
}) => void;
|
|
1619
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1620
|
-
invalidate?: boolean;
|
|
1621
|
-
vars?: Record<string, any>;
|
|
1622
|
-
}) => void;
|
|
1623
|
-
setDataAdapter: (adapter: import('@endge/raph').DataAdapter) => void;
|
|
1624
|
-
clear: () => void;
|
|
1625
|
-
readonly dataAdapter: {
|
|
1626
|
-
root: () => import('@endge/raph').DataObject;
|
|
1627
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1628
|
-
vars?: Record<string, any>;
|
|
1629
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
1630
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1631
|
-
vars?: Record<string, any>;
|
|
1632
|
-
}) => void;
|
|
1633
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1634
|
-
vars?: Record<string, any>;
|
|
1635
|
-
}) => void;
|
|
1636
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1637
|
-
vars?: Record<string, any>;
|
|
1638
|
-
}) => void;
|
|
1639
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1640
|
-
vars?: Record<string, any>;
|
|
1641
|
-
}) => number;
|
|
1642
|
-
};
|
|
1643
|
-
readonly data: import('@endge/raph').DataObject;
|
|
1644
|
-
};
|
|
1645
|
-
readonly phases: readonly {
|
|
1646
|
-
name: import('@endge/raph').PhaseName;
|
|
1647
|
-
traversal: import('@endge/raph').Traversal;
|
|
1648
|
-
routes: Array<string>;
|
|
1649
|
-
always?: boolean | undefined;
|
|
1650
|
-
mode?: "dirty" | "all" | undefined;
|
|
1651
|
-
each?: import('@endge/raph').PhaseEachExecutor | undefined;
|
|
1652
|
-
all?: import('@endge/raph').PhaseAllExecutor | undefined;
|
|
1653
|
-
nodes?: (((node: import('@endge/raph').RaphNode<any>) => boolean) | Array<import('@endge/raph').RaphNodeType>) | undefined;
|
|
1654
|
-
}[];
|
|
1655
|
-
getPhase: (name: import('@endge/raph').PhaseName) => import('@endge/raph').RaphPhase | undefined;
|
|
1656
|
-
readonly root: /*elided*/ any;
|
|
1657
|
-
readonly UPS: number;
|
|
1658
|
-
};
|
|
1659
|
-
readonly raph: {
|
|
1660
|
-
readonly id: string;
|
|
1661
|
-
options: (opts: Partial<import('@endge/raph').RaphOptions>) => void;
|
|
1662
|
-
derive: <TSource = unknown, TTarget = unknown>(options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
1663
|
-
transaction: (fn: () => void) => void;
|
|
1664
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
1665
|
-
definePhases: (phases: Array<import('@endge/raph').RaphPhase>) => void;
|
|
1666
|
-
addPhase: (phase: import('@endge/raph').RaphPhase) => void;
|
|
1667
|
-
clearPhases: () => void;
|
|
1668
|
-
reinitPhases: () => void;
|
|
1669
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties> | undefined;
|
|
1670
|
-
addNode: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void;
|
|
1671
|
-
registerNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1672
|
-
removeNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1673
|
-
unregisterNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1674
|
-
addDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => boolean;
|
|
1675
|
-
removeDependency: (parent: import('@endge/raph').RaphNode<any>, child: import('@endge/raph').RaphNode<any>) => void;
|
|
1676
|
-
init: () => void;
|
|
1677
|
-
clear: () => void;
|
|
1678
|
-
destroy: () => void;
|
|
1679
|
-
traverseAll: (cb: (node: import('@endge/raph').RaphNode<import('@endge/raph').RaphProperties>) => void) => void;
|
|
1680
|
-
addLocalPhase: (phase: import('@endge/raph').RaphLocalPhaseRuntime<import('@endge/raph').RaphProperties>) => void;
|
|
1681
|
-
addLocalProperty: <K extends string>(property: import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K>) => void;
|
|
1682
|
-
getLocalProperty: <K extends string>(key: K) => import('@endge/raph').RaphLocalPropertyRuntime<import('@endge/raph').RaphProperties, K> | undefined;
|
|
1683
|
-
dirtyLocalNodeDefaults: (node: import('@endge/raph').RaphNode<any>, invalidate?: boolean) => void;
|
|
1684
|
-
setScheduler: (mode: import('@endge/raph').RaphSchedulerType) => void;
|
|
1685
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1686
|
-
invalidate?: boolean;
|
|
1687
|
-
vars?: Record<string, any>;
|
|
1688
|
-
}) => boolean;
|
|
1689
|
-
observeData: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
1690
|
-
enqueueDataObserver: (observer: import('@endge/raph').RaphDataObserver<any>, path: import('@endge/raph').DataPathDef, opts?: {
|
|
1691
|
-
invalidate?: boolean;
|
|
1692
|
-
vars?: Record<string, any>;
|
|
1693
|
-
}) => boolean;
|
|
1694
|
-
dirty: (phase: import('@endge/raph').PhaseName | string, node: import('@endge/raph').RaphNode<any>, opts?: {
|
|
1695
|
-
invalidate: boolean;
|
|
1696
|
-
event?: import('@endge/raph').PhaseEvent;
|
|
1697
|
-
}) => void;
|
|
1698
|
-
run: () => void;
|
|
1699
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1700
|
-
vars?: Record<string, any>;
|
|
1701
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
1702
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1703
|
-
invalidate?: boolean;
|
|
1704
|
-
vars?: Record<string, any>;
|
|
1705
|
-
}) => void;
|
|
1706
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1707
|
-
invalidate?: boolean;
|
|
1708
|
-
vars?: Record<string, any>;
|
|
1709
|
-
}) => void;
|
|
1710
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1711
|
-
invalidate?: boolean;
|
|
1712
|
-
vars?: Record<string, any>;
|
|
1713
|
-
}) => void;
|
|
1714
|
-
startLoop: () => void;
|
|
1715
|
-
acquireLoop: (owner: string) => import('@endge/raph').RaphLoopLease;
|
|
1716
|
-
stopLoop: () => void;
|
|
1717
|
-
invalidate: () => void;
|
|
1718
|
-
reset: () => void;
|
|
1719
|
-
subscribe: (ownerNode: import('@endge/raph').RaphNode<any>, maskOrMasks: import('@endge/raph').DataPathDef | Array<import('@endge/raph').DataPathDef>, callback: import('@endge/raph').ControlFlowCallback, opts?: import('@endge/raph').ControlFlowSubscribeOptions) => () => void;
|
|
1720
|
-
unsubscribe: (subscriptionId: import('@endge/raph').ControlFlowSubscriptionId) => void;
|
|
1721
|
-
unsubscribeOwner: (ownerNode: import('@endge/raph').RaphNode<any>) => void;
|
|
1722
|
-
track: (node: import('@endge/raph').RaphNode<any>, mask: import('@endge/raph').DataPathDef, opts?: {
|
|
1723
|
-
vars?: Record<string, any>;
|
|
1724
|
-
wildcardDynamic?: boolean;
|
|
1725
|
-
}) => void;
|
|
1726
|
-
untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
|
|
1727
|
-
getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
|
|
1728
|
-
priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
|
|
1729
|
-
readonly data: import('@endge/raph').DataObject;
|
|
1730
|
-
readonly graph: {
|
|
1731
|
-
addNode: (node: import('@endge/raph').RaphNode<any>) => void;
|
|
1732
|
-
removeNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => void;
|
|
1733
|
-
hasNode: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
1734
|
-
getNode: (id: string) => import('@endge/raph').RaphNode<any> | undefined;
|
|
1735
|
-
size: () => number;
|
|
1736
|
-
addEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => boolean;
|
|
1737
|
-
removeEdge: (parent: string | import('@endge/raph').RaphNode<any>, child: string | import('@endge/raph').RaphNode<any>) => void;
|
|
1738
|
-
parentsOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
1739
|
-
childrenOf: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
1740
|
-
rootIds: () => ReadonlySet<string>;
|
|
1741
|
-
roots: () => ReadonlySet<import('@endge/raph').RaphNode<any>>;
|
|
1742
|
-
getDepth: (nodeOrId: string | import('@endge/raph').RaphNode<any>) => number;
|
|
1743
|
-
topoOrder: () => import('@endge/raph').RaphNode<any>[];
|
|
1744
|
-
expandByTraversal: (base: Set<import('@endge/raph').RaphNode<any>> | null, traversal: "dirty-only" | "dirty-and-down" | "dirty-and-up" | "all") => Set<import('@endge/raph').RaphNode<any>>;
|
|
1745
|
-
};
|
|
1746
|
-
readonly loopEnabled: boolean;
|
|
1747
|
-
readonly frame: {
|
|
1748
|
-
now: number;
|
|
1749
|
-
delta: number;
|
|
1750
|
-
elapsed: number;
|
|
1751
|
-
frame: number;
|
|
1752
|
-
};
|
|
1753
|
-
readonly ups: number;
|
|
1754
|
-
readonly eps: number;
|
|
1755
|
-
readonly nps: number;
|
|
1756
|
-
readonly maxUps: number;
|
|
1757
|
-
readonly minUpdateInterval: number;
|
|
1758
|
-
readonly dataAdapter: {
|
|
1759
|
-
root: () => import('@endge/raph').DataObject;
|
|
1760
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1761
|
-
vars?: Record<string, any>;
|
|
1762
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
1763
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1764
|
-
vars?: Record<string, any>;
|
|
1765
|
-
}) => void;
|
|
1766
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1767
|
-
vars?: Record<string, any>;
|
|
1768
|
-
}) => void;
|
|
1769
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1770
|
-
vars?: Record<string, any>;
|
|
1771
|
-
}) => void;
|
|
1772
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1773
|
-
vars?: Record<string, any>;
|
|
1774
|
-
}) => number;
|
|
1775
|
-
};
|
|
1776
|
-
readonly kernel: {
|
|
1777
|
-
readonly id: string;
|
|
1778
|
-
createRuntime: <Props extends import('@endge/raph').RaphProperties = import('@endge/raph').RaphProperties>(options?: import('@endge/raph').RaphRuntimeOptions) => import('@endge/raph').RaphRuntime<Props>;
|
|
1779
|
-
registerRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1780
|
-
unregisterRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1781
|
-
registerDerived: <TSource, TTarget>(runtime: import('@endge/raph').RaphRuntime<any>, options: import('@endge/raph').RaphDerivedOptions<TSource, TTarget>) => import('@endge/raph').RaphDerivedHandle;
|
|
1782
|
-
getDerivedSnapshot: () => import('@endge/raph').RaphDerivedManagerSnapshot;
|
|
1783
|
-
disposeAllDerived: () => void;
|
|
1784
|
-
disposeRuntimeDerived: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1785
|
-
registerDataObserver: <Props extends import('@endge/raph').RaphProperties>(runtime: import('@endge/raph').RaphRuntime<Props>, node: import('@endge/raph').RaphDataObserver<Props>["node"], mask: import('@endge/raph').DataPathDef, options: import('@endge/raph').RaphObserveDataOptions) => () => void;
|
|
1786
|
-
removeDataObserversByRuntime: (runtime: import('@endge/raph').RaphRuntime<any>) => void;
|
|
1787
|
-
removeDataObserversByNode: (runtime: import('@endge/raph').RaphRuntime<any>, node: import('@endge/raph').RaphDataObserver["node"]) => void;
|
|
1788
|
-
transaction: (fn: () => void) => void;
|
|
1789
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1790
|
-
vars?: Record<string, any>;
|
|
1791
|
-
}) => unknown;
|
|
1792
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1793
|
-
invalidate?: boolean;
|
|
1794
|
-
vars?: Record<string, any>;
|
|
1795
|
-
}) => void;
|
|
1796
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1797
|
-
invalidate?: boolean;
|
|
1798
|
-
vars?: Record<string, any>;
|
|
1799
|
-
}) => void;
|
|
1800
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1801
|
-
invalidate?: boolean;
|
|
1802
|
-
vars?: Record<string, any>;
|
|
1803
|
-
}) => void;
|
|
1804
|
-
notify: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1805
|
-
invalidate?: boolean;
|
|
1806
|
-
vars?: Record<string, any>;
|
|
1807
|
-
}) => void;
|
|
1808
|
-
setDataAdapter: (adapter: import('@endge/raph').DataAdapter) => void;
|
|
1809
|
-
clear: () => void;
|
|
1810
|
-
readonly dataAdapter: {
|
|
1811
|
-
root: () => import('@endge/raph').DataObject;
|
|
1812
|
-
get: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1813
|
-
vars?: Record<string, any>;
|
|
1814
|
-
}) => import('@endge/raph').Undefinable<unknown>;
|
|
1815
|
-
set: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1816
|
-
vars?: Record<string, any>;
|
|
1817
|
-
}) => void;
|
|
1818
|
-
delete: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1819
|
-
vars?: Record<string, any>;
|
|
1820
|
-
}) => void;
|
|
1821
|
-
merge: (path: import('@endge/raph').DataPathDef, value: unknown, opts?: {
|
|
1822
|
-
vars?: Record<string, any>;
|
|
1823
|
-
}) => void;
|
|
1824
|
-
indexOf: (path: import('@endge/raph').DataPathDef, opts?: {
|
|
1825
|
-
vars?: Record<string, any>;
|
|
1826
|
-
}) => number;
|
|
1827
|
-
};
|
|
1828
|
-
readonly data: import('@endge/raph').DataObject;
|
|
1829
|
-
};
|
|
1830
|
-
readonly phases: readonly {
|
|
1831
|
-
name: import('@endge/raph').PhaseName;
|
|
1832
|
-
traversal: import('@endge/raph').Traversal;
|
|
1833
|
-
routes: Array<string>;
|
|
1834
|
-
always?: boolean | undefined;
|
|
1835
|
-
mode?: "dirty" | "all" | undefined;
|
|
1836
|
-
each?: import('@endge/raph').PhaseEachExecutor | undefined;
|
|
1837
|
-
all?: import('@endge/raph').PhaseAllExecutor | undefined;
|
|
1838
|
-
nodes?: (((node: import('@endge/raph').RaphNode<any>) => boolean) | Array<import('@endge/raph').RaphNodeType>) | undefined;
|
|
1839
|
-
}[];
|
|
1840
|
-
getPhase: (name: import('@endge/raph').PhaseName) => import('@endge/raph').RaphPhase | undefined;
|
|
1841
|
-
readonly root: /*elided*/ any;
|
|
1842
|
-
readonly UPS: number;
|
|
1843
|
-
};
|
|
1844
|
-
readonly id: string;
|
|
1845
|
-
readonly weight: number;
|
|
1846
|
-
readonly computedWeight: number;
|
|
1847
|
-
readonly meta: Record<string, unknown>;
|
|
1848
|
-
readonly type: string;
|
|
1849
|
-
readonly parent: /*elided*/ any | null;
|
|
1850
|
-
readonly children: /*elided*/ any[];
|
|
1851
|
-
readonly local: {
|
|
1852
|
-
get: <K extends string>(key: K) => import('@endge/raph').RaphProperties[K];
|
|
1853
|
-
set: <K extends string>(key: K, value: import('@endge/raph').RaphProperties[K]) => void;
|
|
1854
|
-
};
|
|
1855
|
-
} | null;
|
|
1047
|
+
readonly node: RaphNode | null;
|
|
1856
1048
|
readonly basePath: string;
|
|
1857
1049
|
statePath: (path?: string) => string;
|
|
1858
1050
|
outputPath: (name: string) => string;
|