@elyx-code/project-logic-tree 0.0.59 → 0.0.592

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.
@@ -16,5 +16,4 @@ export declare class ParallelExecutionOperation extends ActionDescriptorState {
16
16
  readonly dynamicReturnTypes: DataTypeState | null;
17
17
  project: ProjectState;
18
18
  constructor(parentProjectState: ProjectState);
19
- implementation: () => Promise<void>;
20
19
  }
@@ -1,6 +1,5 @@
1
1
  import { EntityType, IActionDescriptorTransfer, ExecutionOperations, IActionDescriptor } from '../../../../definitions';
2
2
  import { ActionDescriptorState } from '../../../state/action-descriptor';
3
- import { FunctionDeclarationState } from '../../../state/function-declaration';
4
3
  import { ValueDescriptorState, ProjectState, DataTypeState } from '../../../state';
5
4
 
6
5
  export declare class SequentialExecutionOperation extends ActionDescriptorState {
@@ -18,5 +17,4 @@ export declare class SequentialExecutionOperation extends ActionDescriptorState
18
17
  readonly dynamicReturnTypes: DataTypeState | null;
19
18
  project: ProjectState;
20
19
  constructor(parentProjectState: ProjectState);
21
- implementation: (_?: [FunctionDeclarationState[]]) => Promise<any[]>;
22
20
  }
@@ -16,5 +16,4 @@ export declare class WaitOperation extends ActionDescriptorState {
16
16
  readonly dynamicReturnTypes: DataTypeState | null;
17
17
  project: ProjectState;
18
18
  constructor(parentProjectState: ProjectState);
19
- implementation: (inputs?: [number]) => Promise<any[]>;
20
19
  }
@@ -13,6 +13,10 @@ import { LoopState } from '../loop';
13
13
  import { OperationState } from '../operation';
14
14
  import { ConditionState } from '../condition';
15
15
 
16
+ export interface IPrimitiveExecutionResult {
17
+ value: 'success' | 'error';
18
+ results: any[];
19
+ }
16
20
  export declare class ActionDescriptorState implements IActionDescriptor, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
17
21
  initialData: IActionDescriptorTransfer | IActionDescriptor;
18
22
  readonly id: EntityId;
@@ -27,7 +31,7 @@ export declare class ActionDescriptorState implements IActionDescriptor, UserMan
27
31
  error: ValueDescriptorState | null;
28
32
  dynamicArgumentTypes: DataTypeState | null;
29
33
  dynamicReturnTypes: DataTypeState | null;
30
- implementation: Function | null;
34
+ implementation: ((...inputs: any[]) => IPrimitiveExecutionResult) | null;
31
35
  parent: CustomEntityState | PrimitiveEntityState | BuiltInBaseEntityState | DataTypeState | null;
32
36
  errors: EntityError[];
33
37
  project: ProjectState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.59",
3
+ "version": "0.0.592",
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",