@elyx-code/project-logic-tree 0.0.6702 → 0.0.6705
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.cjs +213 -213
- package/dist/index.d.ts +92 -22
- package/dist/index.js +39309 -39238
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -299,7 +299,7 @@ export declare function afterLiteralValueDeleteSideEffects(entity: EntityWithVal
|
|
|
299
299
|
|
|
300
300
|
export declare function aggregateVariableInputsNextValues(objectData: UntypedObjectValue, entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): UntypedObjectValue;
|
|
301
301
|
|
|
302
|
-
export declare function aggregateVariableInputsValues(objectData: UntypedObjectValue, entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): UntypedObjectValue;
|
|
302
|
+
export declare function aggregateVariableInputsValues(objectData: UntypedObjectValue, entity: VariableDeclarationState | TerminationEntityState, context: IValueResolutionContext, onlyDefault?: boolean): UntypedObjectValue;
|
|
303
303
|
|
|
304
304
|
declare class AggregationStatement implements ISearchNode {
|
|
305
305
|
owner: SearchStatementState;
|
|
@@ -11430,12 +11430,17 @@ export declare class DefaultEditorContext extends ExtensionContextBase<Extension
|
|
|
11430
11430
|
removeValue(dynamicValue: IDynamicValue): void;
|
|
11431
11431
|
undo(): Promise<void>;
|
|
11432
11432
|
redo(): Promise<void>;
|
|
11433
|
-
initTest(entryPoint: TestableEntityState,
|
|
11434
|
-
|
|
11433
|
+
initTest(entryPoint: TestableEntityState, options: YieldOptions & {
|
|
11434
|
+
autoExecute?: boolean;
|
|
11435
|
+
}): Promise<ITest>;
|
|
11436
|
+
removeTest(options: YieldOptions & {
|
|
11437
|
+
skipValidate?: boolean;
|
|
11438
|
+
}): Promise<ITest>;
|
|
11435
11439
|
copyEntities(entities: CanvasEntityState[]): Promise<ChangeSet>;
|
|
11436
11440
|
resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
|
|
11437
11441
|
publish(): Promise<void>;
|
|
11438
11442
|
loadGivenPublication(publicationId: string): Promise<IPublication>;
|
|
11443
|
+
validateProjectState(options?: YieldOptions): Promise<void>;
|
|
11439
11444
|
requestActiveDynamicValue(valueOwner: EntityWithValueState, onlyDefault?: boolean): IDynamicValue | null;
|
|
11440
11445
|
getValueTypePreference(valueOwnerId: EntityId): DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
|
|
11441
11446
|
setValueTypePreference(valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null): void;
|
|
@@ -12572,11 +12577,31 @@ export declare class Execution extends Events {
|
|
|
12572
12577
|
resolvedValues: EfimeralValueStore;
|
|
12573
12578
|
persistedExecutionResults: EfimeralValueStore;
|
|
12574
12579
|
lastExecutionResults: EfimeralValueStore;
|
|
12575
|
-
onAddToSkippedListCallback: null | ((entity: TestableEntityState
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
+
onAddToSkippedListCallback: null | ((entity: TestableEntityState, options?: YieldOptions & {
|
|
12581
|
+
skipValidate?: boolean;
|
|
12582
|
+
skipRender?: boolean;
|
|
12583
|
+
skipNotify?: boolean;
|
|
12584
|
+
}) => Promise<void> | void);
|
|
12585
|
+
onRemoveFromSkippedListCallback: null | ((entity: TestableEntityState, options?: YieldOptions & {
|
|
12586
|
+
skipValidate?: boolean;
|
|
12587
|
+
skipRender?: boolean;
|
|
12588
|
+
skipNotify?: boolean;
|
|
12589
|
+
}) => Promise<void> | void);
|
|
12590
|
+
onAddEntityCallback: null | ((entity: TestableEntityState, options?: YieldOptions & {
|
|
12591
|
+
skipValidate?: boolean;
|
|
12592
|
+
skipRender?: boolean;
|
|
12593
|
+
skipNotify?: boolean;
|
|
12594
|
+
}) => Promise<void> | void);
|
|
12595
|
+
onRemoveEntityCallback: null | ((entity: TestableEntityState, options?: YieldOptions & {
|
|
12596
|
+
skipValidate?: boolean;
|
|
12597
|
+
skipRender?: boolean;
|
|
12598
|
+
skipNotify?: boolean;
|
|
12599
|
+
}) => Promise<void> | void);
|
|
12600
|
+
onAbortExecutionCallback: null | ((entity: TestableEntityState, options?: YieldOptions & {
|
|
12601
|
+
skipValidate?: boolean;
|
|
12602
|
+
skipRender?: boolean;
|
|
12603
|
+
skipNotify?: boolean;
|
|
12604
|
+
}) => Promise<void> | void);
|
|
12580
12605
|
constructor(project: ProjectState, entities: TestableEntityState[], entryPoint: TestableEntityState, parentExecution?: Execution | null, parentContext?: IExecutionInstanceParentContext);
|
|
12581
12606
|
get valueResolutionContext(): IValueResolutionContext;
|
|
12582
12607
|
skip(entity: TestableEntityState): void;
|
|
@@ -12602,7 +12627,17 @@ export declare class Execution extends Events {
|
|
|
12602
12627
|
executeBranch(localEntryPoint: TestableEntityState, client?: IExecutionClient, values?: IDynamicValue[]): Promise<IExecutionResult | null>;
|
|
12603
12628
|
execute(client?: IExecutionClient, values?: IDynamicValue[]): Promise<IExecutionResult>;
|
|
12604
12629
|
addEntity(entity: TestableEntityState): void;
|
|
12630
|
+
addEntityAsync(entity: TestableEntityState, options?: YieldOptions & {
|
|
12631
|
+
skipValidate?: boolean;
|
|
12632
|
+
skipRender?: boolean;
|
|
12633
|
+
skipNotify?: boolean;
|
|
12634
|
+
}): Promise<void>;
|
|
12605
12635
|
addEntities(entities: TestableEntityState[]): void;
|
|
12636
|
+
addEntitiesAsync(entities: TestableEntityState[], options?: YieldOptions & {
|
|
12637
|
+
skipValidate?: boolean;
|
|
12638
|
+
skipRender?: boolean;
|
|
12639
|
+
skipNotify?: boolean;
|
|
12640
|
+
}): Promise<void>;
|
|
12606
12641
|
removeEntity(entity: TestableEntityState): void;
|
|
12607
12642
|
hasEntity(entity: EntityState): boolean;
|
|
12608
12643
|
removeScheduled(entity: TestableEntityState): void;
|
|
@@ -12610,11 +12645,31 @@ export declare class Execution extends Events {
|
|
|
12610
12645
|
hasSkipped(entity: TestableEntityState): boolean;
|
|
12611
12646
|
hasExecuted(entity: TestableEntityState): boolean;
|
|
12612
12647
|
hasEntityWithId(id: string): boolean;
|
|
12613
|
-
onAddToSkippedList(callback: (entity: TestableEntityState
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12648
|
+
onAddToSkippedList(callback: (entity: TestableEntityState, options?: YieldOptions & {
|
|
12649
|
+
skipValidate?: boolean;
|
|
12650
|
+
skipRender?: boolean;
|
|
12651
|
+
skipNotify?: boolean;
|
|
12652
|
+
}) => Promise<void> | void): void;
|
|
12653
|
+
onAbortExecution(callback: (entity: TestableEntityState, options?: YieldOptions & {
|
|
12654
|
+
skipValidate?: boolean;
|
|
12655
|
+
skipRender?: boolean;
|
|
12656
|
+
skipNotify?: boolean;
|
|
12657
|
+
}) => Promise<void> | void): void;
|
|
12658
|
+
onAddEntity(callback: (entity: TestableEntityState, options?: YieldOptions & {
|
|
12659
|
+
skipValidate?: boolean;
|
|
12660
|
+
skipRender?: boolean;
|
|
12661
|
+
skipNotify?: boolean;
|
|
12662
|
+
}) => Promise<void> | void): void;
|
|
12663
|
+
onRemoveFromSkippedList(callback: (entity: TestableEntityState, options?: YieldOptions & {
|
|
12664
|
+
skipValidate?: boolean;
|
|
12665
|
+
skipRender?: boolean;
|
|
12666
|
+
skipNotify?: boolean;
|
|
12667
|
+
}) => Promise<void> | void): void;
|
|
12668
|
+
onRemoveEntity(callback: (entity: TestableEntityState, options?: YieldOptions & {
|
|
12669
|
+
skipValidate?: boolean;
|
|
12670
|
+
skipRender?: boolean;
|
|
12671
|
+
skipNotify?: boolean;
|
|
12672
|
+
}) => Promise<void> | void): void;
|
|
12618
12673
|
addToExecutingList(entity: TestableEntityState): void;
|
|
12619
12674
|
addToScheduledList(entity: TestableEntityState): void;
|
|
12620
12675
|
removeFromScheduledList(entity: TestableEntityState): void;
|
|
@@ -20947,6 +21002,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
20947
21002
|
onProjectSetupError(callback: (error: any) => void): void;
|
|
20948
21003
|
removeValueByOwnerId(entityId: EntityId): void;
|
|
20949
21004
|
removeValue(dynamicValue: IDynamicValue): void;
|
|
21005
|
+
validateProjectState(options?: YieldOptions): Promise<void>;
|
|
20950
21006
|
handleIncommingWebsocketMessage(message: ILiveMessageDTO): Promise<void>;
|
|
20951
21007
|
handleNotificationChannelsMessage(message: ILiveMessageDTO<DTOAction.SubscribeChannelsV1, string, {
|
|
20952
21008
|
channels: IChannelConnections[];
|
|
@@ -20962,13 +21018,18 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
20962
21018
|
on: Events['on'];
|
|
20963
21019
|
emit: Events['emit'];
|
|
20964
21020
|
off: Events['off'];
|
|
21021
|
+
emitAsync: Events['emitAsync'];
|
|
20965
21022
|
registerNonDefaultLocalImplementationsOfModules(): Promise<void>;
|
|
20966
21023
|
setup(options: {
|
|
20967
21024
|
mockLogic?: ProjectState;
|
|
20968
21025
|
}): Promise<void>;
|
|
20969
21026
|
destroy(): Promise<void>;
|
|
20970
|
-
initTest(entryPoint: TestableEntityState,
|
|
20971
|
-
|
|
21027
|
+
initTest(entryPoint: TestableEntityState, options: YieldOptions & {
|
|
21028
|
+
autoExecute?: boolean;
|
|
21029
|
+
}): Promise<ITest>;
|
|
21030
|
+
removeTest(options: YieldOptions & {
|
|
21031
|
+
skipValidate?: boolean;
|
|
21032
|
+
}): Promise<ITest>;
|
|
20972
21033
|
copyEntities(entities: CanvasEntityState[]): Promise<ChangeSet>;
|
|
20973
21034
|
resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
|
|
20974
21035
|
publish(): Promise<void>;
|
|
@@ -22824,16 +22885,20 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22824
22885
|
validation: EntityError[];
|
|
22825
22886
|
persistExecutionValues: boolean;
|
|
22826
22887
|
initExecutionValueStores(): void;
|
|
22827
|
-
pause(): Promise<void>;
|
|
22828
|
-
stop(): Promise<void>;
|
|
22829
|
-
resume(): Promise<void>;
|
|
22830
|
-
restart(): Promise<void>;
|
|
22888
|
+
pause(options?: YieldOptions): Promise<void>;
|
|
22889
|
+
stop(options?: YieldOptions): Promise<void>;
|
|
22890
|
+
resume(options?: YieldOptions): Promise<void>;
|
|
22891
|
+
restart(options?: YieldOptions): Promise<void>;
|
|
22892
|
+
start(options?: YieldOptions): Promise<void>;
|
|
22831
22893
|
onValueWritten(owner: EntityWithValueState, value: IDynamicValue): void;
|
|
22832
22894
|
onValueRemoved(owner: EntityWithValueState): void;
|
|
22833
|
-
init(
|
|
22895
|
+
init(options: YieldOptions & {
|
|
22896
|
+
autoExecute?: boolean;
|
|
22897
|
+
}): Promise<void>;
|
|
22834
22898
|
clear(): Promise<void>;
|
|
22835
22899
|
resolveIsContinuationOfSelectedLogic(entity: TestableEntityState): boolean;
|
|
22836
22900
|
recalculateEntitiesRelatedToTest(): void;
|
|
22901
|
+
recalculateEntitiesRelatedToTestAsync(options?: YieldOptions): Promise<void>;
|
|
22837
22902
|
removeIfUnconnected(entity: TestableEntityState): boolean;
|
|
22838
22903
|
removeEntity(entity: TestableEntityState): void;
|
|
22839
22904
|
addEntity(entity: TestableEntityState): void;
|
|
@@ -22842,11 +22907,16 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22842
22907
|
addToCanBeAddedToTest(entity: TestableEntityState): void;
|
|
22843
22908
|
getCanBeRemovedFromTest(entity: TestableEntityState): boolean;
|
|
22844
22909
|
validateLogic(): EntityError[];
|
|
22910
|
+
validateLogicAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
22845
22911
|
validate(): void;
|
|
22912
|
+
validateAsync(options?: YieldOptions): Promise<void>;
|
|
22846
22913
|
onBeforeEntityExecution(entity: TestableEntityState, values: IDynamicValue[], context: IExecutionCallbackContext): Promise<void>;
|
|
22847
22914
|
onEntityExecuted(entity: TestableEntityState, result: IExecutionResult, context: IExecutionCallbackContext): Promise<void>;
|
|
22848
|
-
start(): Promise<void>;
|
|
22849
22915
|
handleInvalidLogic(): Promise<void>;
|
|
22916
|
+
notifyEntity(entity: TestableEntityState): void;
|
|
22917
|
+
notifyEntityAsync(entity: TestableEntityState, options: YieldOptions): Promise<void>;
|
|
22918
|
+
notifyAllEntities(): void;
|
|
22919
|
+
notifyAllEntitiesAsync(options: YieldOptions): Promise<void>;
|
|
22850
22920
|
}
|
|
22851
22921
|
|
|
22852
22922
|
export declare interface IUndoableInterface {
|
|
@@ -30309,7 +30379,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30309
30379
|
|
|
30310
30380
|
export declare function resolveValueDescriptorValue(entity: ValueDescriptorState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
|
|
30311
30381
|
|
|
30312
|
-
export declare function resolveVarDeclarationAggregateObjectValue(entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
|
|
30382
|
+
export declare function resolveVarDeclarationAggregateObjectValue(entity: VariableDeclarationState | TerminationEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
|
|
30313
30383
|
|
|
30314
30384
|
export declare function resolveVarDeclarationNextAggregateObjectValue(entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
|
|
30315
30385
|
|