@elyx-code/project-logic-tree 0.0.6673 → 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 +190 -190
- package/dist/index.d.ts +29 -2
- package/dist/index.js +13009 -12284
- 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;
|
|
@@ -12226,6 +12239,7 @@ export declare type EntityId = string;
|
|
|
12226
12239
|
|
|
12227
12240
|
export declare enum EntityInstanceErrorCode {
|
|
12228
12241
|
NoPrimaryKeyProperty = "no-primary-key-property",
|
|
12242
|
+
MissingEnumOptions = "missing-enum-options",
|
|
12229
12243
|
ScopeWithoutLogic = "scope-without-logic",
|
|
12230
12244
|
AbstractEntityImplements = "abstract-entity-implements",
|
|
12231
12245
|
ImplementsIncompatibleEntities = "implements-incompatible-entities",
|
|
@@ -14171,6 +14185,7 @@ export declare class FunctionCallState extends UserManagedVersionedState impleme
|
|
|
14171
14185
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
14172
14186
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
14173
14187
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
14188
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): FunctionCallState;
|
|
14174
14189
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
14175
14190
|
setDeclaration(declaration: FunctionDeclarationState): FunctionCallState;
|
|
14176
14191
|
initChildren(changeSet?: ChangeSet | null): FunctionCallState;
|
|
@@ -21525,6 +21540,10 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21525
21540
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
21526
21541
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
21527
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;
|
|
21528
21547
|
initChildren(changeSet?: ChangeSet | null): InstalledProjectState;
|
|
21529
21548
|
subscribe(): InstalledProjectState;
|
|
21530
21549
|
unsubscribe(): InstalledProjectState;
|
|
@@ -21665,6 +21684,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21665
21684
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
21666
21685
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
21667
21686
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
21687
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): InternalCallState;
|
|
21668
21688
|
setParent(parent: VariableState, changeSet?: ChangeSet | null): InternalCallState;
|
|
21669
21689
|
setDeclaration(declaration: FunctionDeclarationState | ActionDescriptorState): InternalCallState;
|
|
21670
21690
|
initChildren(changeSet?: ChangeSet | null): InternalCallState;
|
|
@@ -23965,7 +23985,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
23965
23985
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
23966
23986
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
23967
23987
|
setParent(parent: DataTypeState | InputMapState | PropertyState | ArgumentDeclarationState | ReturnStatementState | BreakStatementState | ContinueStatementState | VariableDeclarationState | VariableInstanceState | ValueDescriptorState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23968
|
-
setStandaloneParent(parent: EntityWithValueState): LiteralValueState;
|
|
23988
|
+
setStandaloneParent(parent: EntityWithValueState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23969
23989
|
setValueAsTypeSingle(valueAsTypeSingle: ValueAsTypeState | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23970
23990
|
setValueAsTypeList(valueAsTypeList: ValueAsTypeState[] | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23971
23991
|
setValueAsType(valueAsTypeSingle: ValueAsTypeState | ValueAsTypeState[] | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
@@ -24130,6 +24150,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24130
24150
|
replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): LoopState;
|
|
24131
24151
|
subscribeDetachedChild(child: CanvasEntityState): LoopState;
|
|
24132
24152
|
unsubscribeDetachedChild(child: CanvasEntityState): LoopState;
|
|
24153
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): LoopState;
|
|
24133
24154
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): LoopState;
|
|
24134
24155
|
setDeclaration(declaration: ActionDescriptorState): LoopState;
|
|
24135
24156
|
initChildren(changeSet?: ChangeSet | null): LoopState;
|
|
@@ -28384,6 +28405,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28384
28405
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
28385
28406
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
28386
28407
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
28408
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): OperationState;
|
|
28387
28409
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): OperationState;
|
|
28388
28410
|
setDeclaration(declaration: ActionDescriptorState): OperationState;
|
|
28389
28411
|
initChildren(changeSet?: ChangeSet | null): OperationState;
|
|
@@ -30326,6 +30348,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30326
30348
|
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
30327
30349
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
30328
30350
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
30351
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): SearchState;
|
|
30329
30352
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): SearchState;
|
|
30330
30353
|
initChildren(changeSet?: ChangeSet | null): SearchState;
|
|
30331
30354
|
subscribe(): SearchState;
|
|
@@ -31288,6 +31311,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31288
31311
|
AddErrorCall = "add-error-call",
|
|
31289
31312
|
AddCall = "add-call",
|
|
31290
31313
|
SetParent = "set-parent",
|
|
31314
|
+
SetStandaloneParent = "set-standalone-parent",
|
|
31291
31315
|
AfterAllChildrenInitialized = "after-all-children-initialized",
|
|
31292
31316
|
UpdateWithShallowTransfer = "update-with-shallow-transfer",
|
|
31293
31317
|
RemoveFromParent = "remove-from-parent",
|
|
@@ -31339,7 +31363,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31339
31363
|
RemoveAllErrorCalls = "remove-all-error-calls",
|
|
31340
31364
|
SetDataTypeEntityValue = "set-data-type-entity-value",
|
|
31341
31365
|
MergeDataTypes = "merge-data-types",
|
|
31342
|
-
SetDataTypeForeignKeyRef = "set-data-type-foreign-key-ref"
|
|
31366
|
+
SetDataTypeForeignKeyRef = "set-data-type-foreign-key-ref",
|
|
31367
|
+
SetErrorEntity = "set-error-entity"
|
|
31343
31368
|
}
|
|
31344
31369
|
|
|
31345
31370
|
export declare enum StateMutationErrorCode {
|
|
@@ -33599,6 +33624,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33599
33624
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
33600
33625
|
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33601
33626
|
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33627
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33602
33628
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33603
33629
|
initChildren(changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
33604
33630
|
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
@@ -33801,6 +33827,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33801
33827
|
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
33802
33828
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
33803
33829
|
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33830
|
+
setError(error: ActionOutputMapState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33804
33831
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33805
33832
|
initChildren(changeSet?: ChangeSet | null): VariableInstanceState;
|
|
33806
33833
|
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|