@elyx-code/project-logic-tree 0.0.6144 → 0.0.6146
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.js +3939 -3914
- package/dist/index.umd.cjs +163 -163
- package/dist/tree/utils/index.d.ts +8 -2
- package/dist/tree/utils/traverser.d.ts +1 -0
- package/package.json +1 -1
|
@@ -67,7 +67,10 @@ export declare function flattenProjectElements(project: ProjectState): EntitySta
|
|
|
67
67
|
export declare function findReferenceToSelfInList(element: EntityState, elements: EntityState[]): EntityState[];
|
|
68
68
|
export declare function findReferencesToSelfInProject(element: EntityState): EntityState[];
|
|
69
69
|
export declare function enrichFromKnownEntities(entity: ElementTransfer | Element | ElementShallowTransfer | IGenericReference | EntityId, allKnownEntities: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>): Element | ElementTransfer | ElementShallowTransfer | null;
|
|
70
|
-
export declare function getReferencedIds(entity: ElementTransfer | Element | ElementShallowTransfer | EntityState
|
|
70
|
+
export declare function getReferencedIds(entity: ElementTransfer | Element | ElementShallowTransfer | EntityState, allKnownEntities?: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>): {
|
|
71
|
+
upstream: Record<EntityId, EntityId>;
|
|
72
|
+
downstream: Record<EntityId, EntityId>;
|
|
73
|
+
};
|
|
71
74
|
export declare function getRelatedCanvasElementsOnTheLeftFromTransfer(entity: DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer, allKnownEntities: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>): (DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer)[];
|
|
72
75
|
export declare function getRelatedCanvasElementsOnTheLeft(entity: CanvasEntityState): CanvasEntityState[];
|
|
73
76
|
export declare function getCalledBy(entity: CallableEntityState | CallableEntity | CallableEntityTransfer | CallableEntityShallowTransfer): (CallerEntityState | CallerEntity | CallerEntityTransfer)[];
|
|
@@ -156,7 +159,10 @@ export declare function getAllBuiltInEntityIds(): EntityId[];
|
|
|
156
159
|
export declare function flattenEntity(entity: Element | ElementTransfer | ElementShallowTransfer | Reference, seenEntities?: Set<EntityId>, options?: {
|
|
157
160
|
ignoreBuiltInBaseEntities?: boolean;
|
|
158
161
|
}): (Element | ElementTransfer | ElementShallowTransfer)[];
|
|
159
|
-
export declare function getUpstreamDependencyIds(element: Element | ElementTransfer | ElementShallowTransfer, allKnownEntities: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer
|
|
162
|
+
export declare function getUpstreamDependencyIds(element: Element | ElementTransfer | ElementShallowTransfer, allKnownEntities: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer>, options?: {
|
|
163
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
164
|
+
allBuiltInEntityIds?: EntityId[];
|
|
165
|
+
}): Set<EntityId>;
|
|
160
166
|
export declare function getEntityArgumentDeclarations(entity: ExecutableEntityState): (ArgumentDeclarationState | ValueDescriptorState)[];
|
|
161
167
|
export declare function getUsedArgFromDeclaration(argumentDeclaration: ArgumentDeclarationState, entity: ConditionState | FunctionCallState | OperationState): InputMapState | null;
|
|
162
168
|
export declare function getEntityInputMaps(entity: DraggablePassThroughCallableEntityState): InputMapState[];
|
|
@@ -5,6 +5,7 @@ export declare function isPromise(obj: any): obj is Promise<any>;
|
|
|
5
5
|
export declare class Traverser {
|
|
6
6
|
order: EntityId[];
|
|
7
7
|
flatRecord: Record<EntityId, Element | ElementTransfer | EntityState | ElementShallowTransfer>;
|
|
8
|
+
allBuiltInEntityIds: string[];
|
|
8
9
|
private onGoingVisits;
|
|
9
10
|
constructor(root: Element | ElementTransfer | EntityState | ElementShallowTransfer);
|
|
10
11
|
flatten(entity: Element | ElementTransfer | EntityState | ElementShallowTransfer): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6146",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|