@elyx-code/project-logic-tree 0.0.6382 → 0.0.6384
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 +7 -7
- package/dist/index.js +1250 -1295
- package/dist/index.umd.cjs +31 -31
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3320,7 +3320,7 @@ export declare type ExecutableEntityTypesUnion = ExecutableEntity | ExecutableEn
|
|
|
3320
3320
|
|
|
3321
3321
|
export declare class Execution extends Events {
|
|
3322
3322
|
project: ProjectState;
|
|
3323
|
-
entryPoint:
|
|
3323
|
+
entryPoint: TestableEntityState;
|
|
3324
3324
|
state: ExecutionState;
|
|
3325
3325
|
events: Events;
|
|
3326
3326
|
entities: TestableEntityState[];
|
|
@@ -3346,7 +3346,7 @@ export declare class Execution extends Events {
|
|
|
3346
3346
|
error: string | null;
|
|
3347
3347
|
}>;
|
|
3348
3348
|
static builtInFunctionImplementations: Record<BuiltInFunctionIds, (entity: InternalCallState, inputs: IDynamicValue[]) => Promise<IExecutionResult>>;
|
|
3349
|
-
constructor(project: ProjectState, entities: TestableEntityState[], entryPoint:
|
|
3349
|
+
constructor(project: ProjectState, entities: TestableEntityState[], entryPoint: TestableEntityState, parentExecution?: Execution | null);
|
|
3350
3350
|
get valueResolutionContext(): IValueResolutionContext;
|
|
3351
3351
|
static injectSearchImplementation(implementation: (entity: SearchState, inputs: IDynamicValue[]) => Promise<{
|
|
3352
3352
|
data: {
|
|
@@ -9372,13 +9372,13 @@ export declare interface IExecutionCallbackContext {
|
|
|
9372
9372
|
}
|
|
9373
9373
|
|
|
9374
9374
|
export declare interface IExecutionClient {
|
|
9375
|
-
onBeforeEntityExecution?: (entity:
|
|
9376
|
-
onEntityExecuted?: (entity:
|
|
9375
|
+
onBeforeEntityExecution?: (entity: TestableEntityState, inputs: IDynamicValue[], context: IExecutionCallbackContext) => Promise<any>;
|
|
9376
|
+
onEntityExecuted?: (entity: TestableEntityState, result: IExecutionResult, context: IExecutionCallbackContext) => Promise<any>;
|
|
9377
9377
|
}
|
|
9378
9378
|
|
|
9379
9379
|
export declare interface IExecutionResult {
|
|
9380
9380
|
value: ExecutionTerminationType;
|
|
9381
|
-
entity:
|
|
9381
|
+
entity: TestableEntityState;
|
|
9382
9382
|
error: IDynamicValue | null;
|
|
9383
9383
|
results: IDynamicValue[];
|
|
9384
9384
|
}
|
|
@@ -11005,7 +11005,7 @@ export declare interface ITerminationStatementTransfer extends ITerminationState
|
|
|
11005
11005
|
export declare interface ITest extends Execution {
|
|
11006
11006
|
editor: IEditor;
|
|
11007
11007
|
entitiesRelatedToExecution: TestableEntityState[];
|
|
11008
|
-
validation:
|
|
11008
|
+
validation: EntityError[];
|
|
11009
11009
|
persistExecutionValues: boolean;
|
|
11010
11010
|
initExecutionValueStores(): void;
|
|
11011
11011
|
pause(): Promise<void>;
|
|
@@ -11025,7 +11025,7 @@ export declare interface ITest extends Execution {
|
|
|
11025
11025
|
removeFromCanBeAddedToTest(entity: TestableEntityState): void;
|
|
11026
11026
|
addToCanBeAddedToTest(entity: TestableEntityState): void;
|
|
11027
11027
|
getCanBeRemovedFromTest(entity: TestableEntityState): boolean;
|
|
11028
|
-
validateLogic():
|
|
11028
|
+
validateLogic(): EntityError[];
|
|
11029
11029
|
validate(): void;
|
|
11030
11030
|
onBeforeEntityExecution(entity: TestableEntityState, values: IDynamicValue[], context: IExecutionCallbackContext): Promise<void>;
|
|
11031
11031
|
onEntityExecuted(entity: TestableEntityState, result: IExecutionResult, context: IExecutionCallbackContext): Promise<void>;
|