@elyx-code/project-logic-tree 0.0.6412 → 0.0.6414

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
@@ -1785,7 +1785,7 @@ export declare function checkImplementsBaseEntity(entity: DefinitionEntityState
1785
1785
 
1786
1786
  export declare function checkIsBranchDependentButNotDirectlyOnBranch(branchA: CanvasEntityState, branchB: CanvasEntityState): boolean;
1787
1787
 
1788
- export declare function checkIsBranchDependentOnBranch(branchA: CanvasEntityState, branchB: CanvasEntityState): boolean;
1788
+ export declare function checkIsBranchDependentOnBranch(descendant: CanvasEntityState, ancestor: CanvasEntityState): boolean;
1789
1789
 
1790
1790
  export declare function checkIsBuiltIn(entity: UserManagedEntityState, project: ProjectState): boolean;
1791
1791
 
@@ -3908,6 +3908,12 @@ export declare function flattenBuiltInBaseEntity(entity: IBuiltInBaseEntity | IB
3908
3908
  ignoreBuiltInBaseEntities?: boolean;
3909
3909
  }): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
3910
3910
 
3911
+ export declare function flattenCallerAncestorsUntil(entity: CallableEntityState, until: CallerEntityState): {
3912
+ list: CallerEntityState[];
3913
+ last: CallerEntityState | null;
3914
+ callType: 'success' | 'error' | 'entry' | null;
3915
+ };
3916
+
3911
3917
  export declare function flattenCalls(entities: CallableEntityState[]): CallableEntityState[];
3912
3918
 
3913
3919
  export declare function flattenCanvasAncestorsUntil(entity: CanvasEntityState, until: CanvasEntityState): {
@@ -5454,6 +5460,14 @@ export declare function getColumnProperties(entity: DefinitionEntityState): Prop
5454
5460
 
5455
5461
  export declare function getCommonAncestor(entityA: EntityState, entityB: EntityState): EntityState | null;
5456
5462
 
5463
+ export declare function getCommonAncestorOfAllCallers(entity: CallableEntityState): {
5464
+ ancestor: CallerEntityState;
5465
+ callType: 'success' | 'error' | 'entry';
5466
+ } | {
5467
+ ancestor: null;
5468
+ callType: null;
5469
+ };
5470
+
5457
5471
  export declare function getCommonChildren(entityA: CanvasEntityState, entityB: CanvasEntityState, seenEntities?: Set<EntityId>): CanvasEntityState[];
5458
5472
 
5459
5473
  export declare function getDatabaseEntities(project: ProjectState): DefinitionEntityState[];
@@ -7632,6 +7646,8 @@ export declare function getExtendedDefinitionEntity(entity: DefinitionEntityStat
7632
7646
 
7633
7647
  export declare function getFirstNonLoopScopeOwner(entity: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState, _initialEntity?: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer | null): EntryPointEntityState | ProjectState | null;
7634
7648
 
7649
+ export declare function getFirstParentExecutableEntity(entity: EntityState): ExecutableEntityState | null;
7650
+
7635
7651
  declare function getFromClauseFromSelectStatement(selectStatement: SelectStmt): FromClause | null;
7636
7652
 
7637
7653
  export declare function getGenerationTargetSchemaBasedOnType(entity: {