@elyx-code/project-logic-tree 0.0.7028 → 0.0.7029

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
@@ -31338,6 +31338,7 @@ export declare enum BaseValueDescriptorIds {
31338
31338
 
31339
31339
  export declare class Traverser {
31340
31340
  order: EntityId[];
31341
+ private cachedEntityDependencies;
31341
31342
  flatRecord: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>;
31342
31343
  allBuiltInEntityIds: Set<EntityId>;
31343
31344
  private onGoingVisits;
@@ -31345,6 +31346,7 @@ export declare enum BaseValueDescriptorIds {
31345
31346
  upstream: Record<EntityId, true>;
31346
31347
  downstream: Record<EntityId, true>;
31347
31348
  }>;
31349
+ static MAX_ORDERING_ITERATIONS: number;
31348
31350
  constructor(root?: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, options?: {
31349
31351
  asyncInitial?: boolean;
31350
31352
  onOrdered?: () => void;
@@ -31352,9 +31354,13 @@ export declare enum BaseValueDescriptorIds {
31352
31354
  } & YieldOptions);
31353
31355
  flatten(entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer): void;
31354
31356
  flattenAsync(entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, options?: YieldOptions): Promise<void>;
31357
+ private getEntityDependencies;
31358
+ private getDirectDependencies;
31355
31359
  private moveEntityAfterDependencies;
31356
- orderEntities(): void;
31357
- orderEntitiesAsync(options?: YieldOptions): Promise<void>;
31360
+ orderEntities(iterations?: number): void;
31361
+ orderEntitiesAsync(options?: YieldOptions & {
31362
+ iterations?: number;
31363
+ }): Promise<void>;
31358
31364
  getUpstreamOngoingDependenciesVisits(entityId: EntityId, taskId: string): Record<EntityId, Promise<any>>;
31359
31365
  getDownstreamOngoingDependenciesVisits(entityId: EntityId, taskId: string): Record<EntityId, Promise<any>>;
31360
31366
  settlePromises(promises: Record<EntityId, Promise<any>>, taskId: string): Promise<void>;