@elyx-code/project-logic-tree 0.0.6425 → 0.0.6427

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.d.ts CHANGED
@@ -1935,9 +1935,11 @@ export declare class ConditionState extends VersionedState implements ICondition
1935
1935
  calledBySuccess: PassThroughCallableEntityState[];
1936
1936
  calledByError: PassThroughCallableEntityState[];
1937
1937
  calledByEntry: EntryPointEntityState[];
1938
+ andChildrenGroup: ConditionState[] | null;
1939
+ orChildrenGroup: ConditionState[] | null;
1938
1940
  project: ProjectState;
1939
1941
  errors: EntityError[];
1940
- parent: EntityWithLogicScopeState | ProjectState;
1942
+ parent: EntityWithLogicScopeState | ProjectState | ConditionState;
1941
1943
  detachedDependents: Record<EntityId, {
1942
1944
  entity: UserManagedEntityState;
1943
1945
  field: string;
@@ -2007,7 +2009,8 @@ export declare class ConditionState extends VersionedState implements ICondition
2007
2009
  addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
2008
2010
  removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
2009
2011
  removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
2010
- setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): ConditionState;
2012
+ setParent(parent: EntityWithLogicScopeState | ProjectState | ConditionState, changeSet?: ChangeSet | null): ConditionState;
2013
+ removeChildGroup(child: ConditionState, changeSet?: ChangeSet | null): ConditionState;
2011
2014
  setDeclaration(declaration: ActionDescriptorState): ConditionState;
2012
2015
  initChildren(changeSet?: ChangeSet | null): ConditionState;
2013
2016
  subscribe(): ConditionState;
@@ -2040,7 +2043,9 @@ export declare class ConditionState extends VersionedState implements ICondition
2040
2043
  };
2041
2044
  getErrors(): EntityError[];
2042
2045
  getShallowErrors(): EntityError[];
2043
- clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): ConditionState;
2046
+ clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | ConditionState | null, newId?: string | null, subscribe?: boolean): ConditionState;
2047
+ addToAndGroup(child: ConditionState): ConditionState;
2048
+ addToOrGroup(child: ConditionState): ConditionState;
2044
2049
  removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
2045
2050
  syncInputs(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
2046
2051
  getUnusedInputs(): ActionInputMapState[];
@@ -2467,7 +2472,7 @@ export declare class DataTypeState extends VersionedState implements IDataType,
2467
2472
  afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
2468
2473
  addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
2469
2474
  setParent(parent: PropertyState | ArgumentDeclarationState | ReturnDeclarationState | VariableDeclarationState | ValueDescriptorState | InputMapState | OutputMapState | DataTypeState, changeSet?: ChangeSet | null): DataTypeState;
2470
- removeChildGroup(child: DataTypeState): DataTypeState;
2475
+ removeChildGroup(child: DataTypeState, changeSet?: ChangeSet | null): DataTypeState;
2471
2476
  initChildren(changeSet?: ChangeSet | null): DataTypeState;
2472
2477
  subscribe(): DataTypeState;
2473
2478
  unsubscribe(): DataTypeState;
@@ -9520,12 +9525,14 @@ export declare interface ICompilerContext extends ExtensionContextBase<Extension
9520
9525
  export declare interface ICondition extends IConditionTransfer, IChildEntity, ICalledEntity {
9521
9526
  inputs: IActionInputMap[];
9522
9527
  declaration: IActionDescriptor;
9528
+ andChildrenGroup: ICondition[] | null;
9529
+ orChildrenGroup: ICondition[] | null;
9523
9530
  successCalls: CallableEntity[];
9524
9531
  errorCalls: CallableEntity[];
9525
9532
  calledBySuccess: PassThroughCallableEntity[];
9526
9533
  calledByError: PassThroughCallableEntity[];
9527
9534
  calledByEntry: EntryPointEntity[];
9528
- parent: EntityWithLogicScope | IProject;
9535
+ parent: EntityWithLogicScope | IProject | ICondition;
9529
9536
  }
9530
9537
 
9531
9538
  export declare interface ICondition_meta extends IGenericBase, IBaseCanvasDraggable {
@@ -9536,6 +9543,8 @@ export declare interface IConditionGenerationTarget extends IChildEntityGenerati
9536
9543
  id: EntityId;
9537
9544
  type: EntityType.Condition;
9538
9545
  declaration: EntityId;
9546
+ andChildrenGroup?: EntityId[];
9547
+ orChildrenGroup?: EntityId[];
9539
9548
  calledBySuccess: EntityId[];
9540
9549
  calledByError: EntityId[];
9541
9550
  calledByEntry: EntityId[];
@@ -9551,22 +9560,26 @@ export declare interface IConditionShallowTransfer extends ICondition_meta, IChi
9551
9560
  declaration: IActionDescriptorReference;
9552
9561
  successCalls: CallableEntityReference[];
9553
9562
  errorCalls: CallableEntityReference[];
9563
+ andChildrenGroup: IConditionReference[] | null;
9564
+ orChildrenGroup: IConditionReference[] | null;
9554
9565
  calledBySuccess: PassThroughCallableEntityReference[];
9555
9566
  calledByError: PassThroughCallableEntityReference[];
9556
9567
  calledByEntry: EntryPointEntityReference[];
9557
- parent: EntityWithLogicScopeReference | IProjectReference;
9568
+ parent: EntityWithLogicScopeReference | IProjectReference | IConditionReference;
9558
9569
  }
9559
9570
 
9560
9571
  export declare interface IConditionTransfer extends ICondition_meta, IChildEntityTransfer, ICalledEntityTransfer {
9561
9572
  type: EntityType.Condition;
9562
9573
  declaration: IActionDescriptor | IActionDescriptorTransfer;
9574
+ andChildrenGroup: (ICondition | IConditionTransfer)[] | null;
9575
+ orChildrenGroup: (ICondition | IConditionTransfer)[] | null;
9563
9576
  inputs: (IActionInputMap | IActionInputMapTransfer)[];
9564
9577
  successCalls: (CallableEntity | CallableEntityTransfer)[];
9565
9578
  errorCalls: (CallableEntity | CallableEntityTransfer)[];
9566
9579
  calledBySuccess: (PassThroughCallableEntity | PassThroughCallableEntityTransfer | PassThroughCallableEntityReference)[];
9567
9580
  calledByError: (PassThroughCallableEntity | PassThroughCallableEntityTransfer | PassThroughCallableEntityReference)[];
9568
9581
  calledByEntry: (EntryPointEntity | EntryPointEntityTransfer | EntryPointEntityReference)[];
9569
- parent: EntityWithLogicScope | EntityWithLogicScopeReference | IProject | IProjectReference;
9582
+ parent: EntityWithLogicScope | EntityWithLogicScopeReference | IProject | IProjectReference | ICondition | IConditionReference;
9570
9583
  }
9571
9584
 
9572
9585
  export declare interface IContinueStatement extends ITerminationStatement, IContinueStatement_meta {