@elyx-code/project-logic-tree 0.0.6413 → 0.0.6415
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 +36 -2
- package/dist/index.js +22216 -21721
- package/dist/index.umd.cjs +186 -186
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1798,6 +1798,8 @@ export declare function checkIsCallableEntityReachable(entity: CallableEntitySta
|
|
|
1798
1798
|
}[];
|
|
1799
1799
|
};
|
|
1800
1800
|
|
|
1801
|
+
export declare function checkIsCallerBranchDependentOnBranch(descendant: CallableEntityState, ancestor: CallerEntityState): boolean;
|
|
1802
|
+
|
|
1801
1803
|
export declare function checkIsCanvasEntity(entity: EntityState): boolean;
|
|
1802
1804
|
|
|
1803
1805
|
export declare function checkIsDefEntityInlineDeclaredForSearchOutputType(entity: DefinitionEntityState | null): boolean;
|
|
@@ -3883,6 +3885,11 @@ export declare function filterOutDuplicateErrors(errors: (EntityGenerationError
|
|
|
3883
3885
|
|
|
3884
3886
|
export declare function findEntityFromKeys(keys: string[], project: ProjectState): DefinitionEntityState | null;
|
|
3885
3887
|
|
|
3888
|
+
export declare function findNextIndividualCommonCallerAncestorFromGiven(entityA: ExecutableEntityState, entityB: ExecutableEntityState, from: CallerEntityState, ignoreCommonAncestorsFromDifferentCallTypes?: boolean): {
|
|
3889
|
+
ancestor: CallerEntityState | null;
|
|
3890
|
+
callType: 'success' | 'error' | 'entry' | 'loop-body' | null;
|
|
3891
|
+
};
|
|
3892
|
+
|
|
3886
3893
|
export declare function findReferencesToSelfInProject(element: EntityState): EntityState[];
|
|
3887
3894
|
|
|
3888
3895
|
export declare function findReferenceToSelfInList(element: EntityState, elements: EntityState[]): EntityState[];
|
|
@@ -3908,6 +3915,12 @@ export declare function flattenBuiltInBaseEntity(entity: IBuiltInBaseEntity | IB
|
|
|
3908
3915
|
ignoreBuiltInBaseEntities?: boolean;
|
|
3909
3916
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
3910
3917
|
|
|
3918
|
+
export declare function flattenCallerAncestorsUntil(entity: CallableEntityState, until: CallerEntityState): {
|
|
3919
|
+
list: CallerEntityState[];
|
|
3920
|
+
last: CallerEntityState | null;
|
|
3921
|
+
callType: 'success' | 'error' | 'entry' | 'loop-body' | null;
|
|
3922
|
+
};
|
|
3923
|
+
|
|
3911
3924
|
export declare function flattenCalls(entities: CallableEntityState[]): CallableEntityState[];
|
|
3912
3925
|
|
|
3913
3926
|
export declare function flattenCanvasAncestorsUntil(entity: CanvasEntityState, until: CanvasEntityState): {
|
|
@@ -3949,6 +3962,11 @@ export declare function flattenElementCalls(element: CallerEntityState): Callabl
|
|
|
3949
3962
|
|
|
3950
3963
|
export declare function flattenElementCallsOnTheSameScope(element: CallerEntityState): CallableEntityState[];
|
|
3951
3964
|
|
|
3965
|
+
export declare function flattenElementCallsWithCallType(element: CallerEntityState): {
|
|
3966
|
+
callee: CallableEntityState;
|
|
3967
|
+
callType: 'success' | 'error' | 'entry' | 'loop-body';
|
|
3968
|
+
}[];
|
|
3969
|
+
|
|
3952
3970
|
export declare function flattenEntity(entity: Element_2 | ElementTransfer | ElementShallowTransfer | Reference, seenEntities?: Set<EntityId>, options?: {
|
|
3953
3971
|
ignoreBuiltInBaseEntities?: boolean;
|
|
3954
3972
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
@@ -5454,8 +5472,6 @@ export declare function getColumnProperties(entity: DefinitionEntityState): Prop
|
|
|
5454
5472
|
|
|
5455
5473
|
export declare function getCommonAncestor(entityA: EntityState, entityB: EntityState): EntityState | null;
|
|
5456
5474
|
|
|
5457
|
-
export declare function getCommonAncestorOfAllCallers(entity: CallableEntityState): CallerEntityState | null;
|
|
5458
|
-
|
|
5459
5475
|
export declare function getCommonChildren(entityA: CanvasEntityState, entityB: CanvasEntityState, seenEntities?: Set<EntityId>): CanvasEntityState[];
|
|
5460
5476
|
|
|
5461
5477
|
export declare function getDatabaseEntities(project: ProjectState): DefinitionEntityState[];
|
|
@@ -6477,6 +6493,24 @@ export declare function getDraggablePlayableEntityTypeSchema(): z_2.ZodUnion<[z_
|
|
|
6477
6493
|
type: import("../../..").EntityType.GlobalEvent;
|
|
6478
6494
|
}>, z_2.ZodRecord<z_2.ZodString, z_2.ZodAny>]>]>]>;
|
|
6479
6495
|
|
|
6496
|
+
export declare function getEarliestCommonAncestorOfAllCallers(entity: CallableEntityState): {
|
|
6497
|
+
ancestor: CallerEntityState;
|
|
6498
|
+
callType: 'success' | 'error' | 'entry' | 'loop-body';
|
|
6499
|
+
} | {
|
|
6500
|
+
ancestor: null;
|
|
6501
|
+
callType: null;
|
|
6502
|
+
};
|
|
6503
|
+
|
|
6504
|
+
export declare function getEarliestCommonCallerAncestor(entityA: ExecutableEntityState, entityB: ExecutableEntityState, ignoreCommonAncestorsFromDifferentCallTypes?: boolean): {
|
|
6505
|
+
ancestor: CallerEntityState | null;
|
|
6506
|
+
callType: 'success' | 'error' | 'entry' | 'loop-body' | 'same-entity' | null;
|
|
6507
|
+
};
|
|
6508
|
+
|
|
6509
|
+
export declare function getEarliestIndividualCommonCallerAncestor(entityA: ExecutableEntityState, entityB: ExecutableEntityState, ignoreCommonAncestorsFromDifferentCallTypes?: boolean): {
|
|
6510
|
+
ancestor: CallerEntityState | null;
|
|
6511
|
+
callType: 'success' | 'error' | 'entry' | 'loop-body' | 'same-entity' | null;
|
|
6512
|
+
};
|
|
6513
|
+
|
|
6480
6514
|
export declare function getEntitiesCreatedSinceInitialization(projectState: ProjectState, preInitDate: string): UserManagedEntityState[];
|
|
6481
6515
|
|
|
6482
6516
|
export declare function getEntitiesToPropagateValuesTo(entity: EntityWithValueState, project: ProjectState, seenInRecursion?: Set<EntityId>): EntityWithValueState[];
|