@elyx-code/project-logic-tree 0.0.6140 → 0.0.6142
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/definitions/types/base.d.ts +9 -3
- package/dist/definitions/types/generic-reference.d.ts +4 -3
- package/dist/definitions/types/index.d.ts +3 -1
- package/dist/index.js +35262 -29593
- package/dist/index.umd.cjs +267 -267
- package/dist/tree/built-in/operations/function-execution/parallel.d.ts +1 -1
- package/dist/tree/built-in/operations/function-execution/sequential.d.ts +1 -1
- package/dist/tree/built-in/operations/function-execution/wait.d.ts +1 -1
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +7 -4
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +7 -4
- package/dist/tree/state/base.d.ts +4 -0
- package/dist/tree/state/break-statement/break-statement.d.ts +7 -4
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +3 -2
- package/dist/tree/state/condition/condition.d.ts +7 -4
- package/dist/tree/state/continue-statement/continue-statement.d.ts +7 -4
- package/dist/tree/state/data-type/data-type.d.ts +7 -4
- package/dist/tree/state/definition-entity/definition-entity.d.ts +7 -4
- package/dist/tree/state/function-call/function-call.d.ts +7 -4
- package/dist/tree/state/function-declaration/function-declaration.d.ts +7 -4
- package/dist/tree/state/global-event/global-event.d.ts +7 -4
- package/dist/tree/state/input-map/input-map.d.ts +7 -4
- package/dist/tree/state/installed-project/installed-project.d.ts +7 -4
- package/dist/tree/state/internal-call/internal-call.d.ts +7 -4
- package/dist/tree/state/literal-value/literal-value.d.ts +7 -4
- package/dist/tree/state/loop/loop.d.ts +7 -4
- package/dist/tree/state/operation/operation.d.ts +7 -4
- package/dist/tree/state/output-map/output-map.d.ts +7 -4
- package/dist/tree/state/primitive-entity/primitive-entity.d.ts +4 -4
- package/dist/tree/state/project/project.d.ts +7 -4
- package/dist/tree/state/property/property.d.ts +7 -4
- package/dist/tree/state/return-declaration/return-declaration.d.ts +7 -4
- package/dist/tree/state/return-statement/return-statement.d.ts +7 -4
- package/dist/tree/state/search/search.d.ts +7 -4
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +7 -4
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +7 -4
- package/dist/tree/state/variable-instance/variable-instance.d.ts +7 -4
- package/dist/tree/state/version.d.ts +11 -0
- package/dist/tree/utils/index.d.ts +1 -0
- package/package.json +2 -1
|
@@ -5,7 +5,7 @@ export declare class ParallelExecutionOperation extends ActionDescriptorState {
|
|
|
5
5
|
readonly id = ExecutionOperations.Parallel;
|
|
6
6
|
readonly name = ExecutionOperations.Parallel;
|
|
7
7
|
readonly description = "Execute a list of actions one after the other";
|
|
8
|
-
readonly version = 1;
|
|
8
|
+
readonly version = "1";
|
|
9
9
|
readonly autoexecutable = true;
|
|
10
10
|
initialData: IActionDescriptor | IActionDescriptorTransfer;
|
|
11
11
|
readonly type: EntityType.ActionDescriptor;
|
|
@@ -6,7 +6,7 @@ export declare class SequentialExecutionOperation extends ActionDescriptorState
|
|
|
6
6
|
readonly id = ExecutionOperations.Sequential;
|
|
7
7
|
readonly name = ExecutionOperations.Sequential;
|
|
8
8
|
readonly description = "Execute a list of actions one after the other";
|
|
9
|
-
readonly version = 1;
|
|
9
|
+
readonly version = "1";
|
|
10
10
|
readonly autoexecutable = true;
|
|
11
11
|
initialData: IActionDescriptor | IActionDescriptorTransfer;
|
|
12
12
|
readonly type: EntityType.ActionDescriptor;
|
|
@@ -5,7 +5,7 @@ export declare class WaitOperation extends ActionDescriptorState {
|
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly name: string;
|
|
7
7
|
readonly description: string | null;
|
|
8
|
-
readonly version:
|
|
8
|
+
readonly version: string;
|
|
9
9
|
readonly autoexecutable = false;
|
|
10
10
|
initialData: IActionDescriptor | IActionDescriptorTransfer;
|
|
11
11
|
readonly type: EntityType.ActionDescriptor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IActionDescriptor, IActionDescriptorGenerationTarget, IActionDescriptorReference, IActionDescriptorShallowTransfer, IActionDescriptorTransfer, IFunctionDeclarationTransfer, ActionDescriptorTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseState, ChildEntityState, IEntityPersistanceOptions, IEditableEntityPersistanceRepository, UserManagedEntityStateFunctionality, IEntityJSONCloneOptions, IEntityRecursionOptions } from '../base';
|
|
4
4
|
import { ProjectState } from '../project/project';
|
|
@@ -14,6 +14,7 @@ import { OperationState } from '../operation';
|
|
|
14
14
|
import { ConditionState } from '../condition';
|
|
15
15
|
import { InputMapState } from '../input-map';
|
|
16
16
|
import { OutputMapState } from '../output-map';
|
|
17
|
+
import { VersionedState } from '../version';
|
|
17
18
|
|
|
18
19
|
export declare enum ExecutionTerminationType {
|
|
19
20
|
Success = "success",
|
|
@@ -27,10 +28,9 @@ export interface IPrimitiveExecutionResult {
|
|
|
27
28
|
results: any[];
|
|
28
29
|
error: any | null;
|
|
29
30
|
}
|
|
30
|
-
export declare class ActionDescriptorState implements IActionDescriptor, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
|
|
31
|
+
export declare class ActionDescriptorState extends VersionedState implements IActionDescriptor, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
|
|
31
32
|
initialData: IActionDescriptorTransfer | IActionDescriptor;
|
|
32
33
|
readonly id: EntityId;
|
|
33
|
-
version: EntityVersion;
|
|
34
34
|
name: string;
|
|
35
35
|
description: string | null;
|
|
36
36
|
readonly type: EntityType.ActionDescriptor;
|
|
@@ -43,8 +43,11 @@ export declare class ActionDescriptorState implements IActionDescriptor, UserMan
|
|
|
43
43
|
project: ProjectState;
|
|
44
44
|
initialized: boolean;
|
|
45
45
|
autoexecutable: boolean;
|
|
46
|
-
constructor(
|
|
46
|
+
constructor(initialData: IActionDescriptor | IActionDescriptorTransfer, parentProjectState: ProjectState);
|
|
47
47
|
static repository: IEditableEntityPersistanceRepository;
|
|
48
|
+
static type: EntityType.ActionDescriptor;
|
|
49
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
50
|
+
static PARENT_TYPES: EntityType[];
|
|
48
51
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
49
52
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
50
53
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IArgumentDeclaration, IArgumentDeclarationGenerationTarget, IArgumentDeclarationReference, IArgumentDeclarationShallowTransfer, IArgumentDeclarationTransfer, ArgumentDeclarationTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseState, ChildEntityState, EntityWithValueClass, IEntityPersistanceOptions, IEditableEntityPersistanceRepository, UserManagedEntityStateFunctionality, ValueWritingEntityClass, IEntityJSONCloneOptions, IEntityRecursionOptions } from '../base';
|
|
4
4
|
import { EntityState, EntryPointEntityState, IChangeSet, ValueReadingEntityState } from '../types';
|
|
@@ -7,11 +7,11 @@ import { ProjectState } from '../project/project';
|
|
|
7
7
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
8
8
|
import { LiteralValueState } from '../literal-value';
|
|
9
9
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
10
|
+
import { VersionedState } from '../version';
|
|
10
11
|
|
|
11
|
-
export declare class ArgumentDeclarationState implements IArgumentDeclaration, UserManagedEntityStateFunctionality, ValueWritingEntityClass, BaseState, ChildEntityState, EntityWithValueClass {
|
|
12
|
+
export declare class ArgumentDeclarationState extends VersionedState implements IArgumentDeclaration, UserManagedEntityStateFunctionality, ValueWritingEntityClass, BaseState, ChildEntityState, EntityWithValueClass {
|
|
12
13
|
initialData: IArgumentDeclaration | IArgumentDeclarationTransfer;
|
|
13
14
|
readonly id: EntityId;
|
|
14
|
-
version: EntityVersion;
|
|
15
15
|
name: string;
|
|
16
16
|
description: string | null;
|
|
17
17
|
index: number;
|
|
@@ -27,8 +27,11 @@ export declare class ArgumentDeclarationState implements IArgumentDeclaration, U
|
|
|
27
27
|
parent: EntryPointEntityState;
|
|
28
28
|
initialized: boolean;
|
|
29
29
|
suggestion: boolean;
|
|
30
|
-
constructor(
|
|
30
|
+
constructor(initialData: IArgumentDeclaration | IArgumentDeclarationTransfer, parentProjectState: ProjectState);
|
|
31
31
|
static repository: IEditableEntityPersistanceRepository;
|
|
32
|
+
static type: EntityType.ArgumentDeclaration;
|
|
33
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
34
|
+
static PARENT_TYPES: EntityType[];
|
|
32
35
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
33
36
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
34
37
|
static BASE_PROPERTIES: string[];
|
|
@@ -80,6 +80,10 @@ export declare abstract class BaseState extends SharedStateFunctionality impleme
|
|
|
80
80
|
abstract id: EntityId;
|
|
81
81
|
abstract version: EntityVersion;
|
|
82
82
|
abstract type: EntityType;
|
|
83
|
+
abstract previousVersion: string | null;
|
|
84
|
+
abstract createdAt: string | Date;
|
|
85
|
+
abstract deleted: boolean;
|
|
86
|
+
abstract author: string;
|
|
83
87
|
}
|
|
84
88
|
export declare abstract class BaseCanvasDraggableState {
|
|
85
89
|
abstract x: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BreakStatementTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { BreakStatementTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IBreakStatement, IBreakStatementGenerationTarget, IBreakStatementReference, IBreakStatementShallowTransfer, IBreakStatementTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, IEntityPersistanceOptions, IEditableEntityPersistanceRepository, UserManagedEntityStateFunctionality, IEntityJSONCloneOptions, IEntityRecursionOptions } from '../base';
|
|
4
4
|
import { ReturnDeclarationState } from '../return-declaration';
|
|
@@ -6,11 +6,11 @@ import { CallerEntityState, EntityState, EntryPointEntityState, IChangeSet, Pass
|
|
|
6
6
|
import { ProjectState } from '../project/project';
|
|
7
7
|
import { LoopState } from '../loop';
|
|
8
8
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
9
|
+
import { VersionedState } from '../version';
|
|
9
10
|
|
|
10
|
-
export declare class BreakStatementState implements IBreakStatement, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState {
|
|
11
|
+
export declare class BreakStatementState extends VersionedState implements IBreakStatement, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState {
|
|
11
12
|
initialData: IBreakStatement | IBreakStatementTransfer;
|
|
12
13
|
readonly id: EntityId;
|
|
13
|
-
version: EntityVersion;
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
16
|
readonly type: EntityType.BreakStatement;
|
|
@@ -24,8 +24,11 @@ export declare class BreakStatementState implements IBreakStatement, UserManaged
|
|
|
24
24
|
parent: LoopState;
|
|
25
25
|
initialized: boolean;
|
|
26
26
|
suggestion: boolean;
|
|
27
|
-
constructor(
|
|
27
|
+
constructor(initialData: IBreakStatement | IBreakStatementTransfer, parentProjectState: ProjectState);
|
|
28
28
|
static repository: IEditableEntityPersistanceRepository;
|
|
29
|
+
static type: EntityType.BreakStatement;
|
|
30
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
31
|
+
static PARENT_TYPES: EntityType[];
|
|
29
32
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
30
33
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
31
34
|
static BASE_PROPERTIES: string[];
|
|
@@ -9,8 +9,9 @@ import { ActionDescriptorState } from '../action-descriptor';
|
|
|
9
9
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
10
10
|
import { EntityState } from '../types';
|
|
11
11
|
import { DefinitionEntityState } from '../definition-entity';
|
|
12
|
+
import { VersionedState } from '../version';
|
|
12
13
|
|
|
13
|
-
export declare class BuiltInBaseEntityState implements BaseState, IBuiltInBaseEntity {
|
|
14
|
+
export declare class BuiltInBaseEntityState extends VersionedState implements BaseState, IBuiltInBaseEntity {
|
|
14
15
|
initialData: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer;
|
|
15
16
|
readonly id: BaseEntityNames;
|
|
16
17
|
readonly version: EntityVersion;
|
|
@@ -26,7 +27,7 @@ export declare class BuiltInBaseEntityState implements BaseState, IBuiltInBaseEn
|
|
|
26
27
|
readonly interactive: boolean;
|
|
27
28
|
errors: EntityError[];
|
|
28
29
|
project: ProjectState;
|
|
29
|
-
constructor(
|
|
30
|
+
constructor(initialData: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer, parentProjectState: ProjectState);
|
|
30
31
|
static repository: IReadOnlyEntityPersistanceRepository;
|
|
31
32
|
get allBasePropertiesFromExtendedAndImplementedEntities(): PropertyState[];
|
|
32
33
|
get extendedPropertiesFromOriginalParents(): PropertyState[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId, EntityType,
|
|
1
|
+
import { EntityId, EntityType, ICondition, IConditionTransfer, IConditionReference, IConditionShallowTransfer, ElementShallowTransfer, IConditionGenerationTarget, ElementGenerationTarget, ConditionTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, PassThroughCallableEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { CallableEntityState, CallerEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, IChangeSet, PassThroughCallableEntityState } from '../types';
|
|
@@ -7,11 +7,11 @@ import { ProjectState } from '../project/project';
|
|
|
7
7
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
8
8
|
import { ActionOutputMapState } from '../output-map';
|
|
9
9
|
import { ActionDescriptorState } from '../action-descriptor';
|
|
10
|
+
import { VersionedState } from '../version';
|
|
10
11
|
|
|
11
|
-
export declare class ConditionState implements ICondition, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
|
+
export declare class ConditionState extends VersionedState implements ICondition, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
13
|
initialData: ICondition | IConditionTransfer;
|
|
13
14
|
readonly id: EntityId;
|
|
14
|
-
version: EntityVersion;
|
|
15
15
|
x: number;
|
|
16
16
|
y: number;
|
|
17
17
|
readonly type: EntityType.Condition;
|
|
@@ -26,8 +26,11 @@ export declare class ConditionState implements ICondition, UserManagedEntityStat
|
|
|
26
26
|
errors: EntityError[];
|
|
27
27
|
parent: EntityWithLogicScopeState | ProjectState;
|
|
28
28
|
initialized: boolean;
|
|
29
|
-
constructor(
|
|
29
|
+
constructor(initialData: ICondition | IConditionTransfer, parentProjectState: ProjectState);
|
|
30
30
|
static repository: IEditableEntityPersistanceRepository;
|
|
31
|
+
static type: EntityType.Condition;
|
|
32
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
33
|
+
static PARENT_TYPES: EntityType[];
|
|
31
34
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
32
35
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
33
36
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContinueStatementTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ContinueStatementTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IContinueStatement, IContinueStatementGenerationTarget, IContinueStatementReference, IContinueStatementShallowTransfer, IContinueStatementTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ReturnDeclarationState } from '../return-declaration';
|
|
@@ -6,11 +6,11 @@ import { CallerEntityState, EntityState, EntryPointEntityState, IChangeSet, Pass
|
|
|
6
6
|
import { ProjectState } from '../project/project';
|
|
7
7
|
import { LoopState } from '../loop';
|
|
8
8
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
9
|
+
import { VersionedState } from '../version';
|
|
9
10
|
|
|
10
|
-
export declare class ContinueStatementState implements IContinueStatement, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState {
|
|
11
|
+
export declare class ContinueStatementState extends VersionedState implements IContinueStatement, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState {
|
|
11
12
|
initialData: IContinueStatement | IContinueStatementTransfer;
|
|
12
13
|
readonly id: EntityId;
|
|
13
|
-
version: EntityVersion;
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
16
|
readonly type: EntityType.ContinueStatement;
|
|
@@ -24,8 +24,11 @@ export declare class ContinueStatementState implements IContinueStatement, UserM
|
|
|
24
24
|
parent: LoopState;
|
|
25
25
|
initialized: boolean;
|
|
26
26
|
suggestion: boolean;
|
|
27
|
-
constructor(
|
|
27
|
+
constructor(initialData: IContinueStatement | IContinueStatementTransfer, parentProjectState: ProjectState);
|
|
28
28
|
static repository: IEditableEntityPersistanceRepository;
|
|
29
|
+
static type: EntityType.ContinueStatement;
|
|
30
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
31
|
+
static PARENT_TYPES: EntityType[];
|
|
29
32
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
30
33
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
31
34
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId, EntityType,
|
|
1
|
+
import { EntityId, EntityType, IDataType, IDataTypeTransfer, IDataTypeReference, IDataTypeShallowTransfer, ElementShallowTransfer, IDataTypeGenerationTarget, ElementGenerationTarget, DataTypeParentChildRelation, DataTypeTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseState, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { DefinitionEntityState } from '../definition-entity';
|
|
@@ -16,12 +16,12 @@ import { LiteralValueState } from '../literal-value/literal-value';
|
|
|
16
16
|
import { EntityError, EntityGenerationError } from '../error';
|
|
17
17
|
import { InputMapState, VariableInputMapState } from '../input-map';
|
|
18
18
|
import { OutputMapState } from '../output-map';
|
|
19
|
+
import { VersionedState } from '../version';
|
|
19
20
|
|
|
20
21
|
export type DataTypeStateEntityOption = DefinitionEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | LiteralValueState;
|
|
21
|
-
export declare class DataTypeState implements IDataType, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
|
|
22
|
+
export declare class DataTypeState extends VersionedState implements IDataType, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
|
|
22
23
|
initialData: IDataType | IDataTypeTransfer;
|
|
23
24
|
readonly id: EntityId;
|
|
24
|
-
version: EntityVersion;
|
|
25
25
|
isList: boolean | null;
|
|
26
26
|
asType: boolean | null;
|
|
27
27
|
readonly type: EntityType.DataType;
|
|
@@ -37,8 +37,11 @@ export declare class DataTypeState implements IDataType, UserManagedEntityStateF
|
|
|
37
37
|
errors: EntityError[];
|
|
38
38
|
parent: PropertyState | ArgumentDeclarationState | ReturnDeclarationState | VariableDeclarationState | ValueDescriptorState | InputMapState | OutputMapState | DataTypeState;
|
|
39
39
|
initialized: boolean;
|
|
40
|
-
constructor(
|
|
40
|
+
constructor(initialData: IDataType | IDataTypeTransfer, parentProjectState: ProjectState);
|
|
41
41
|
static repository: IEditableEntityPersistanceRepository;
|
|
42
|
+
static type: EntityType.DataType;
|
|
43
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
44
|
+
static PARENT_TYPES: EntityType[];
|
|
42
45
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
43
46
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
44
47
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefinitionEntityTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { DefinitionEntityTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IDefinitionEntity, IDefinitionEntityGenerationTarget, IDefinitionEntityReference, IDefinitionEntityShallowTransfer, IDefinitionEntityTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { PropertyState } from '../property';
|
|
@@ -10,11 +10,11 @@ import { EntityError, EntityGenerationError } from '../error';
|
|
|
10
10
|
import { EntityState, IChangeSet } from '../types';
|
|
11
11
|
import { DataTypeState } from '../data-type';
|
|
12
12
|
import { VariableInputMapState } from '../input-map';
|
|
13
|
+
import { VersionedState } from '../version';
|
|
13
14
|
|
|
14
|
-
export declare class DefinitionEntityState implements BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, IDefinitionEntity, ChildEntityState {
|
|
15
|
+
export declare class DefinitionEntityState extends VersionedState implements BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, IDefinitionEntity, ChildEntityState {
|
|
15
16
|
initialData: IDefinitionEntity | IDefinitionEntityTransfer;
|
|
16
17
|
readonly id: EntityId;
|
|
17
|
-
version: EntityVersion;
|
|
18
18
|
name: string;
|
|
19
19
|
description: string | null;
|
|
20
20
|
x: number;
|
|
@@ -33,8 +33,11 @@ export declare class DefinitionEntityState implements BaseState, UserManagedEnti
|
|
|
33
33
|
initialized: boolean;
|
|
34
34
|
suggestedProperties: PropertyState[];
|
|
35
35
|
suggestedMethods: FunctionDeclarationState[];
|
|
36
|
-
constructor(
|
|
36
|
+
constructor(initialData: IDefinitionEntity | IDefinitionEntityTransfer, parentProjectState: ProjectState);
|
|
37
37
|
static repository: IEditableEntityPersistanceRepository;
|
|
38
|
+
static type: EntityType.DefinitionEntity;
|
|
39
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
40
|
+
static PARENT_TYPES: EntityType[];
|
|
38
41
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
39
42
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
40
43
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId, EntityType,
|
|
1
|
+
import { EntityId, EntityType, IFunctionCall, IFunctionCallTransfer, IFunctionCallReference, IFunctionCallShallowTransfer, ElementShallowTransfer, IFunctionCallGenerationTarget, ElementGenerationTarget, FunctionCallTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, PassThroughCallableEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { CallableEntityState, CallerEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, IChangeSet, PassThroughCallableEntityState, ValueReadingEntityState } from '../types';
|
|
@@ -7,11 +7,11 @@ import { ActionInputMapState } from '../input-map';
|
|
|
7
7
|
import { ActionOutputMapState } from '../output-map';
|
|
8
8
|
import { ProjectState } from '../project/project';
|
|
9
9
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
10
|
+
import { VersionedState } from '../version';
|
|
10
11
|
|
|
11
|
-
export declare class FunctionCallState implements IFunctionCall, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
|
+
export declare class FunctionCallState extends VersionedState implements IFunctionCall, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
13
|
initialData: IFunctionCall | IFunctionCallTransfer;
|
|
13
14
|
readonly id: EntityId;
|
|
14
|
-
version: EntityVersion;
|
|
15
15
|
x: number;
|
|
16
16
|
y: number;
|
|
17
17
|
readonly type: EntityType.FunctionCall;
|
|
@@ -29,8 +29,11 @@ export declare class FunctionCallState implements IFunctionCall, BaseState, User
|
|
|
29
29
|
errors: EntityError[];
|
|
30
30
|
project: ProjectState;
|
|
31
31
|
initialized: boolean;
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(initialData: IFunctionCall | IFunctionCallTransfer, parentProjectState: ProjectState);
|
|
33
33
|
static repository: IEditableEntityPersistanceRepository;
|
|
34
|
+
static type: EntityType.FunctionCall;
|
|
35
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
36
|
+
static PARENT_TYPES: EntityType[];
|
|
34
37
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
35
38
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
36
39
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, FunctionDeclarationTypesUnion, IFunctionCallTransfer, IFunctionDeclaration, IFunctionDeclarationGenerationTarget, IFunctionDeclarationReference, IFunctionDeclarationShallowTransfer, IFunctionDeclarationTransfer, IInternalCallTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ArgumentDeclarationState } from '../argument-declaration';
|
|
@@ -16,11 +16,11 @@ import { EntityError, EntityGenerationError } from '../error';
|
|
|
16
16
|
import { FunctionCallState } from '../function-call';
|
|
17
17
|
import { InternalCallState } from '../internal-call';
|
|
18
18
|
import { ReturnDeclarationState } from '../return-declaration';
|
|
19
|
+
import { VersionedState } from '../version';
|
|
19
20
|
|
|
20
|
-
export declare class FunctionDeclarationState implements IFunctionDeclaration, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass {
|
|
21
|
+
export declare class FunctionDeclarationState extends VersionedState implements IFunctionDeclaration, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass {
|
|
21
22
|
initialData: IFunctionDeclarationTransfer | IFunctionDeclaration;
|
|
22
23
|
readonly id: EntityId;
|
|
23
|
-
version: EntityVersion;
|
|
24
24
|
name: string;
|
|
25
25
|
description: string | null;
|
|
26
26
|
x: number;
|
|
@@ -39,8 +39,11 @@ export declare class FunctionDeclarationState implements IFunctionDeclaration, B
|
|
|
39
39
|
project: ProjectState;
|
|
40
40
|
initialized: boolean;
|
|
41
41
|
suggestion: boolean;
|
|
42
|
-
constructor(
|
|
42
|
+
constructor(initialData: IFunctionDeclaration | IFunctionDeclarationTransfer, parentProjectState: ProjectState);
|
|
43
43
|
static repository: IEditableEntityPersistanceRepository;
|
|
44
|
+
static type: EntityType.FunctionDeclaration;
|
|
45
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
46
|
+
static PARENT_TYPES: EntityType[];
|
|
44
47
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
45
48
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
46
49
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, GlobalEventNames, GlobalEventTypesUnion, IGlobalEvent, IGlobalEventGenerationTarget, IGlobalEventReference, IGlobalEventShallowTransfer, IGlobalEventTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ArgumentDeclarationState } from '../argument-declaration';
|
|
@@ -9,11 +9,11 @@ import { InstalledProjectState } from '../installed-project';
|
|
|
9
9
|
import { VariableInstanceState } from '../variable-instance';
|
|
10
10
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
11
11
|
import { ActionDescriptorState } from '../action-descriptor';
|
|
12
|
+
import { VersionedState } from '../version';
|
|
12
13
|
|
|
13
|
-
export declare class GlobalEventState implements IGlobalEvent, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass {
|
|
14
|
+
export declare class GlobalEventState extends VersionedState implements IGlobalEvent, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass {
|
|
14
15
|
initialData: IGlobalEvent | IGlobalEventTransfer;
|
|
15
16
|
readonly id: EntityId;
|
|
16
|
-
version: EntityVersion;
|
|
17
17
|
name: GlobalEventNames;
|
|
18
18
|
description: string | null;
|
|
19
19
|
x: number;
|
|
@@ -29,8 +29,11 @@ export declare class GlobalEventState implements IGlobalEvent, UserManagedEntity
|
|
|
29
29
|
errors: EntityError[];
|
|
30
30
|
project: ProjectState;
|
|
31
31
|
initialized: boolean;
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(initialData: IGlobalEvent | IGlobalEventTransfer, parentProjectState: ProjectState);
|
|
33
33
|
static repository: IEditableEntityPersistanceRepository;
|
|
34
|
+
static type: EntityType.GlobalEvent;
|
|
35
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
36
|
+
static PARENT_TYPES: EntityType[];
|
|
34
37
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
35
38
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
36
39
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId, EntityType,
|
|
1
|
+
import { EntityId, EntityType, IInputMap, IInputMapTransfer, IActionInputMap, IActionInputMapTransfer, IInputMapReference, IVariableInputMap, IVariableInputMapTransfer, IInputMapShallowTransfer, ElementShallowTransfer, IInputMapGenerationTarget, ElementGenerationTarget, InputMapTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseState, ChildEntityState, EntityWithValueClass, IEntityPersistanceOptions, IEditableEntityPersistanceRepository, UserManagedEntityStateFunctionality, ValueReadingEntityClass, IEntityJSONCloneOptions, IEntityRecursionOptions } from '../base';
|
|
4
4
|
import { ArgumentDeclarationState } from '../argument-declaration';
|
|
@@ -17,11 +17,11 @@ import { SearchState } from '../search';
|
|
|
17
17
|
import { EntityError, EntityGenerationError } from '../error';
|
|
18
18
|
import { DataTypeState } from '../data-type';
|
|
19
19
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
20
|
+
import { VersionedState } from '../version';
|
|
20
21
|
|
|
21
|
-
export declare class InputMapState implements IInputMap, ValueReadingEntityClass, UserManagedEntityStateFunctionality, BaseState, ChildEntityState, EntityWithValueClass {
|
|
22
|
+
export declare class InputMapState extends VersionedState implements IInputMap, ValueReadingEntityClass, UserManagedEntityStateFunctionality, BaseState, ChildEntityState, EntityWithValueClass {
|
|
22
23
|
initialData: IInputMap | IInputMapTransfer;
|
|
23
24
|
readonly id: EntityId;
|
|
24
|
-
version: EntityVersion;
|
|
25
25
|
index: number;
|
|
26
26
|
name: string | null;
|
|
27
27
|
description: string | null;
|
|
@@ -35,8 +35,11 @@ export declare class InputMapState implements IInputMap, ValueReadingEntityClass
|
|
|
35
35
|
parent: PassThroughCallableEntityState;
|
|
36
36
|
initialized: boolean;
|
|
37
37
|
suggestion: boolean;
|
|
38
|
-
constructor(
|
|
38
|
+
constructor(initialData: IInputMap | IInputMapTransfer, parentProjectState: ProjectState);
|
|
39
39
|
static repository: IEditableEntityPersistanceRepository;
|
|
40
|
+
static type: EntityType.InputMap;
|
|
41
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
42
|
+
static PARENT_TYPES: EntityType[];
|
|
40
43
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
41
44
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
42
45
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IInstalledProject, IInstalledProjectGenerationTarget, IInstalledProjectReference, IInstalledProjectShallowTransfer, IInstalledProjectTransfer, IProjectReference, InstalledProjectTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { FunctionDeclarationState } from '../function-declaration';
|
|
@@ -6,11 +6,11 @@ import { GlobalEventState } from '../global-event';
|
|
|
6
6
|
import { ProjectState } from '../project/project';
|
|
7
7
|
import { EntityError, EntityGenerationError } from '../error';
|
|
8
8
|
import { EntityState, IChangeSet } from '../types';
|
|
9
|
+
import { VersionedState } from '../version';
|
|
9
10
|
|
|
10
|
-
export declare class InstalledProjectState implements IInstalledProject, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, ChildEntityState {
|
|
11
|
+
export declare class InstalledProjectState extends VersionedState implements IInstalledProject, UserManagedEntityStateFunctionality, BaseState, BaseCanvasDraggableState, ChildEntityState {
|
|
11
12
|
initialData: IInstalledProject | IInstalledProjectTransfer;
|
|
12
13
|
readonly id: EntityId;
|
|
13
|
-
readonly version: EntityVersion;
|
|
14
14
|
readonly name: string;
|
|
15
15
|
readonly description: string | null;
|
|
16
16
|
x: number;
|
|
@@ -23,8 +23,11 @@ export declare class InstalledProjectState implements IInstalledProject, UserMan
|
|
|
23
23
|
errors: EntityError[];
|
|
24
24
|
project: ProjectState;
|
|
25
25
|
initialized: boolean;
|
|
26
|
-
constructor(
|
|
26
|
+
constructor(initialData: IInstalledProject | IInstalledProjectTransfer, parentProjectState: ProjectState);
|
|
27
27
|
static repository: IEditableEntityPersistanceRepository;
|
|
28
|
+
static type: EntityType.InstalledProject;
|
|
29
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
30
|
+
static PARENT_TYPES: EntityType[];
|
|
28
31
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
29
32
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
30
33
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IInternalCall, IInternalCallGenerationTarget, IInternalCallReference, IInternalCallShallowTransfer, IInternalCallTransfer, InternalCallTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseState, CallableEntityClass, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, PassThroughCallableEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ActionInputMapState } from '../input-map';
|
|
@@ -7,11 +7,11 @@ import { CallableEntityState, CallerEntityState, EntityState, EntryPointEntitySt
|
|
|
7
7
|
import { ProjectState } from '../project/project';
|
|
8
8
|
import { FunctionDeclarationState } from '../function-declaration';
|
|
9
9
|
import { EntityError, EntityGenerationError } from '../error';
|
|
10
|
+
import { VersionedState } from '../version';
|
|
10
11
|
|
|
11
|
-
export declare class InternalCallState implements IInternalCall, UserManagedEntityStateFunctionality, BaseState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
|
+
export declare class InternalCallState extends VersionedState implements IInternalCall, UserManagedEntityStateFunctionality, BaseState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
13
|
initialData: IInternalCall | IInternalCallTransfer;
|
|
13
14
|
readonly id: EntityId;
|
|
14
|
-
version: EntityVersion;
|
|
15
15
|
index: number;
|
|
16
16
|
readonly type: EntityType.InternalCall;
|
|
17
17
|
declaration: FunctionDeclarationState;
|
|
@@ -29,8 +29,11 @@ export declare class InternalCallState implements IInternalCall, UserManagedEnti
|
|
|
29
29
|
errors: EntityError[];
|
|
30
30
|
initialized: boolean;
|
|
31
31
|
suggestion: boolean;
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(initialData: IInternalCall | IInternalCallTransfer, parentProjectState: ProjectState);
|
|
33
33
|
static repository: IEditableEntityPersistanceRepository;
|
|
34
|
+
static type: EntityType.InternalCall;
|
|
35
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
36
|
+
static PARENT_TYPES: EntityType[];
|
|
34
37
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
35
38
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
36
39
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ILiteralValue, ILiteralValueTransfer, EntityId, EntityType,
|
|
1
|
+
import { ILiteralValue, ILiteralValueTransfer, EntityId, EntityType, PrimitiveTypes, ILiteralValueReference, ValueAutogenerationOptions, LiteralValueType, ILiteralValueShallowTransfer, ElementShallowTransfer, ILiteralValueGenerationTarget, ElementGenerationTarget, LiteralValueTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ProjectState } from '../project';
|
|
3
3
|
import { DefinitionEntityState } from '../definition-entity';
|
|
4
4
|
import { DataTypeState } from '../data-type';
|
|
@@ -16,13 +16,13 @@ import { VariableDeclarationState } from '../variable-declaration';
|
|
|
16
16
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
17
17
|
import { OutputMapState } from '../output-map';
|
|
18
18
|
import { VariableInstanceState } from '../variable-instance';
|
|
19
|
+
import { VersionedState } from '../version';
|
|
19
20
|
|
|
20
21
|
export type ValueAsTypeState = DefinitionEntityState | FunctionDeclarationState | OperationState;
|
|
21
|
-
export declare class LiteralValueState implements BaseState, UserManagedEntityStateFunctionality, ChildEntityState, ILiteralValue {
|
|
22
|
+
export declare class LiteralValueState extends VersionedState implements BaseState, UserManagedEntityStateFunctionality, ChildEntityState, ILiteralValue {
|
|
22
23
|
initialData: ILiteralValue | ILiteralValueTransfer;
|
|
23
24
|
readonly type: EntityType.LiteralValue;
|
|
24
25
|
id: EntityId;
|
|
25
|
-
version: EntityVersion;
|
|
26
26
|
name: PrimitiveTypes;
|
|
27
27
|
autogeneration: ValueAutogenerationOptions | null;
|
|
28
28
|
value: LiteralValueType;
|
|
@@ -33,8 +33,11 @@ export declare class LiteralValueState implements BaseState, UserManagedEntitySt
|
|
|
33
33
|
project: ProjectState;
|
|
34
34
|
initialized: boolean;
|
|
35
35
|
standalone: boolean;
|
|
36
|
-
constructor(
|
|
36
|
+
constructor(initialData: ILiteralValue | ILiteralValueTransfer, parentProjectState: ProjectState);
|
|
37
37
|
static repository: IEditableEntityPersistanceRepository;
|
|
38
|
+
static type: EntityType.LiteralValue;
|
|
39
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
40
|
+
static PARENT_TYPES: EntityType[];
|
|
38
41
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
39
42
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
40
43
|
static BASE_PROPERTIES: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZodError } from 'zod';
|
|
2
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
2
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, ILoop, ILoopGenerationTarget, ILoopReference, ILoopShallowTransfer, ILoopTransfer, LoopTypesUnion } from '../../../definitions';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, EntityWithLogicScopeClass, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, PassThroughCallableEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ActionInputMapState } from '../input-map';
|
|
5
5
|
import { ActionOutputMapState } from '../output-map';
|
|
@@ -15,11 +15,11 @@ import { ActionDescriptorState } from '../action-descriptor';
|
|
|
15
15
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
16
16
|
import { ReturnDeclarationState } from '../return-declaration';
|
|
17
17
|
import { ArgumentDeclarationState } from '../argument-declaration';
|
|
18
|
+
import { VersionedState } from '../version';
|
|
18
19
|
|
|
19
|
-
export declare class LoopState implements ILoop, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, EntityWithLogicScopeClass, PassThroughCallableEntityClass {
|
|
20
|
+
export declare class LoopState extends VersionedState implements ILoop, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, EntityWithLogicScopeClass, PassThroughCallableEntityClass {
|
|
20
21
|
initialData: ILoop | ILoopTransfer;
|
|
21
22
|
readonly id: EntityId;
|
|
22
|
-
version: EntityVersion;
|
|
23
23
|
x: number;
|
|
24
24
|
y: number;
|
|
25
25
|
readonly type: EntityType.Loop;
|
|
@@ -44,8 +44,11 @@ export declare class LoopState implements ILoop, BaseState, UserManagedEntitySta
|
|
|
44
44
|
errors: EntityError[];
|
|
45
45
|
project: ProjectState;
|
|
46
46
|
initialized: boolean;
|
|
47
|
-
constructor(
|
|
47
|
+
constructor(initialData: ILoop | ILoopTransfer, parentProjectState: ProjectState);
|
|
48
48
|
static repository: IEditableEntityPersistanceRepository;
|
|
49
|
+
static type: EntityType.Loop;
|
|
50
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
51
|
+
static PARENT_TYPES: EntityType[];
|
|
49
52
|
static CURRENT_ITERATION_NUMBER_ARG_NAME: string;
|
|
50
53
|
static CURRENT_VALUE_ARG_NAME: string;
|
|
51
54
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType,
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, IOperation, IOperationGenerationTarget, IOperationReference, IOperationShallowTransfer, IOperationTransfer, OperationTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, PassThroughCallableEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ActionDescriptorState } from '../action-descriptor/action-descriptor';
|
|
@@ -7,11 +7,11 @@ import { ActionOutputMapState } from '../output-map';
|
|
|
7
7
|
import { CallableEntityState, CallerEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, IChangeSet, PassThroughCallableEntityState, ValueReadingEntityState } from '../types';
|
|
8
8
|
import { ProjectState } from '../project/project';
|
|
9
9
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
10
|
+
import { VersionedState } from '../version';
|
|
10
11
|
|
|
11
|
-
export declare class OperationState implements IOperation, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
|
+
export declare class OperationState extends VersionedState implements IOperation, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass {
|
|
12
13
|
initialData: IOperation | IOperationTransfer;
|
|
13
14
|
readonly id: EntityId;
|
|
14
|
-
version: EntityVersion;
|
|
15
15
|
x: number;
|
|
16
16
|
y: number;
|
|
17
17
|
readonly type: EntityType.Operation;
|
|
@@ -29,8 +29,11 @@ export declare class OperationState implements IOperation, BaseState, UserManage
|
|
|
29
29
|
errors: EntityError[];
|
|
30
30
|
project: ProjectState;
|
|
31
31
|
initialized: boolean;
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(initialData: IOperation | IOperationTransfer, parentProjectState: ProjectState);
|
|
33
33
|
static repository: IEditableEntityPersistanceRepository;
|
|
34
|
+
static type: EntityType.Operation;
|
|
35
|
+
static USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
36
|
+
static PARENT_TYPES: EntityType[];
|
|
34
37
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
35
38
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
36
39
|
static BASE_PROPERTIES: string[];
|