@elyx-code/project-logic-tree 0.0.6674 → 0.0.6676
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/index.cjs +186 -186
- package/dist/index.d.ts +28 -2
- package/dist/index.js +12997 -12283
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -174,6 +174,7 @@ export declare class ActionDescriptorState extends UserManagedVersionedState imp
|
|
|
174
174
|
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | PrimitiveEntityState | BuiltInBaseEntityState | DataTypeState | null, newId?: string | null, subscribe?: boolean): ActionDescriptorState;
|
|
175
175
|
addInput(argument: ValueDescriptorState, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
176
176
|
removeInput(argument: ValueDescriptorState, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
177
|
+
setError(error: ValueDescriptorState | null, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
177
178
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
178
179
|
removeDataType(changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
179
180
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
@@ -399,6 +400,18 @@ export declare function appendToList(list: unknown, value: unknown, ...values: u
|
|
|
399
400
|
|
|
400
401
|
export declare function applyNewScope(self: CallableEntityState, changeSet: ChangeSet | null): void;
|
|
401
402
|
|
|
403
|
+
export declare function applyQueuedToCached(opts: {
|
|
404
|
+
projectId: EntityId;
|
|
405
|
+
projectRecord: Record<EntityId, UserManagedElementShallowTransfer>;
|
|
406
|
+
chain: IRecordChangeSet<UserManagedElementShallowTransfer, UserManagedElementShallowTransfer>[];
|
|
407
|
+
sort?: boolean;
|
|
408
|
+
order?: boolean;
|
|
409
|
+
}): {
|
|
410
|
+
project: UserManagedElementShallowTransfer;
|
|
411
|
+
record: Record<EntityId, UserManagedElementShallowTransfer>;
|
|
412
|
+
order: EntityId[] | null;
|
|
413
|
+
};
|
|
414
|
+
|
|
402
415
|
export declare class Area {
|
|
403
416
|
ids: string[];
|
|
404
417
|
entity: CanvasEntityState | ProjectState;
|
|
@@ -14172,6 +14185,7 @@ export declare class FunctionCallState extends UserManagedVersionedState impleme
|
|
|
14172
14185
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
14173
14186
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
14174
14187
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
14188
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): FunctionCallState;
|
|
14175
14189
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
14176
14190
|
setDeclaration(declaration: FunctionDeclarationState): FunctionCallState;
|
|
14177
14191
|
initChildren(changeSet?: ChangeSet | null): FunctionCallState;
|
|
@@ -21526,6 +21540,10 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21526
21540
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
21527
21541
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
21528
21542
|
setParent(parent: ProjectState, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
21543
|
+
addFunction(func: FunctionDeclarationState, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
21544
|
+
removeFunction(func: FunctionDeclarationState, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
21545
|
+
addEvent(event: GlobalEventState, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
21546
|
+
removeEvent(event: GlobalEventState, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
21529
21547
|
initChildren(changeSet?: ChangeSet | null): InstalledProjectState;
|
|
21530
21548
|
subscribe(): InstalledProjectState;
|
|
21531
21549
|
unsubscribe(): InstalledProjectState;
|
|
@@ -21666,6 +21684,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21666
21684
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
21667
21685
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
21668
21686
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
21687
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): InternalCallState;
|
|
21669
21688
|
setParent(parent: VariableState, changeSet?: ChangeSet | null): InternalCallState;
|
|
21670
21689
|
setDeclaration(declaration: FunctionDeclarationState | ActionDescriptorState): InternalCallState;
|
|
21671
21690
|
initChildren(changeSet?: ChangeSet | null): InternalCallState;
|
|
@@ -23966,7 +23985,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
23966
23985
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
23967
23986
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
23968
23987
|
setParent(parent: DataTypeState | InputMapState | PropertyState | ArgumentDeclarationState | ReturnStatementState | BreakStatementState | ContinueStatementState | VariableDeclarationState | VariableInstanceState | ValueDescriptorState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23969
|
-
setStandaloneParent(parent: EntityWithValueState): LiteralValueState;
|
|
23988
|
+
setStandaloneParent(parent: EntityWithValueState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23970
23989
|
setValueAsTypeSingle(valueAsTypeSingle: ValueAsTypeState | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23971
23990
|
setValueAsTypeList(valueAsTypeList: ValueAsTypeState[] | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23972
23991
|
setValueAsType(valueAsTypeSingle: ValueAsTypeState | ValueAsTypeState[] | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
@@ -24131,6 +24150,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24131
24150
|
replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): LoopState;
|
|
24132
24151
|
subscribeDetachedChild(child: CanvasEntityState): LoopState;
|
|
24133
24152
|
unsubscribeDetachedChild(child: CanvasEntityState): LoopState;
|
|
24153
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): LoopState;
|
|
24134
24154
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): LoopState;
|
|
24135
24155
|
setDeclaration(declaration: ActionDescriptorState): LoopState;
|
|
24136
24156
|
initChildren(changeSet?: ChangeSet | null): LoopState;
|
|
@@ -28385,6 +28405,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28385
28405
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
28386
28406
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
28387
28407
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
28408
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): OperationState;
|
|
28388
28409
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): OperationState;
|
|
28389
28410
|
setDeclaration(declaration: ActionDescriptorState): OperationState;
|
|
28390
28411
|
initChildren(changeSet?: ChangeSet | null): OperationState;
|
|
@@ -30327,6 +30348,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30327
30348
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
30328
30349
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
30329
30350
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
30351
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): SearchState;
|
|
30330
30352
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): SearchState;
|
|
30331
30353
|
initChildren(changeSet?: ChangeSet | null): SearchState;
|
|
30332
30354
|
subscribe(): SearchState;
|
|
@@ -31289,6 +31311,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31289
31311
|
AddErrorCall = "add-error-call",
|
|
31290
31312
|
AddCall = "add-call",
|
|
31291
31313
|
SetParent = "set-parent",
|
|
31314
|
+
SetStandaloneParent = "set-standalone-parent",
|
|
31292
31315
|
AfterAllChildrenInitialized = "after-all-children-initialized",
|
|
31293
31316
|
UpdateWithShallowTransfer = "update-with-shallow-transfer",
|
|
31294
31317
|
RemoveFromParent = "remove-from-parent",
|
|
@@ -31340,7 +31363,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31340
31363
|
RemoveAllErrorCalls = "remove-all-error-calls",
|
|
31341
31364
|
SetDataTypeEntityValue = "set-data-type-entity-value",
|
|
31342
31365
|
MergeDataTypes = "merge-data-types",
|
|
31343
|
-
SetDataTypeForeignKeyRef = "set-data-type-foreign-key-ref"
|
|
31366
|
+
SetDataTypeForeignKeyRef = "set-data-type-foreign-key-ref",
|
|
31367
|
+
SetErrorEntity = "set-error-entity"
|
|
31344
31368
|
}
|
|
31345
31369
|
|
|
31346
31370
|
export declare enum StateMutationErrorCode {
|
|
@@ -33600,6 +33624,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33600
33624
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
33601
33625
|
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33602
33626
|
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33627
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33603
33628
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33604
33629
|
initChildren(changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33605
33630
|
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
@@ -33802,6 +33827,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33802
33827
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
33803
33828
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
33804
33829
|
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33830
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33805
33831
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33806
33832
|
initChildren(changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33807
33833
|
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|