@elyx-code/project-logic-tree 0.0.6189 → 0.0.6191

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.
Files changed (45) hide show
  1. package/dist/definitions/types/base.d.ts +7 -10
  2. package/dist/definitions/types/condition.d.ts +3 -3
  3. package/dist/definitions/types/data-type.d.ts +6 -1
  4. package/dist/definitions/types/definition-entity.d.ts +4 -1
  5. package/dist/definitions/types/event.d.ts +9 -9
  6. package/dist/definitions/types/function.d.ts +6 -2
  7. package/dist/definitions/types/index.d.ts +39 -16
  8. package/dist/definitions/types/loop.d.ts +7 -4
  9. package/dist/definitions/types/operation.d.ts +6 -3
  10. package/dist/definitions/types/property.d.ts +2 -2
  11. package/dist/definitions/types/return.d.ts +24 -14
  12. package/dist/definitions/types/search.d.ts +4 -4
  13. package/dist/definitions/types/variable.d.ts +18 -10
  14. package/dist/index.js +8478 -7274
  15. package/dist/index.umd.cjs +178 -178
  16. package/dist/tree/state/action-descriptor/action-descriptor.d.ts +3 -2
  17. package/dist/tree/state/argument-declaration/argument-declaration.d.ts +3 -2
  18. package/dist/tree/state/base.d.ts +3 -2
  19. package/dist/tree/state/break-statement/break-statement.d.ts +3 -2
  20. package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +2 -1
  21. package/dist/tree/state/change-set.d.ts +1 -0
  22. package/dist/tree/state/condition/condition.d.ts +3 -2
  23. package/dist/tree/state/continue-statement/continue-statement.d.ts +3 -2
  24. package/dist/tree/state/data-type/data-type.d.ts +5 -4
  25. package/dist/tree/state/definition-entity/definition-entity.d.ts +3 -2
  26. package/dist/tree/state/function-call/function-call.d.ts +3 -2
  27. package/dist/tree/state/function-declaration/function-declaration.d.ts +3 -2
  28. package/dist/tree/state/global-event/global-event.d.ts +3 -2
  29. package/dist/tree/state/input-map/input-map.d.ts +3 -2
  30. package/dist/tree/state/installed-project/installed-project.d.ts +3 -2
  31. package/dist/tree/state/internal-call/internal-call.d.ts +3 -2
  32. package/dist/tree/state/literal-value/literal-value.d.ts +3 -2
  33. package/dist/tree/state/loop/loop.d.ts +3 -2
  34. package/dist/tree/state/operation/operation.d.ts +3 -2
  35. package/dist/tree/state/output-map/output-map.d.ts +3 -2
  36. package/dist/tree/state/primitive-entity/primitive-entity.d.ts +2 -1
  37. package/dist/tree/state/project/project.d.ts +8 -2
  38. package/dist/tree/state/property/property.d.ts +3 -2
  39. package/dist/tree/state/return-declaration/return-declaration.d.ts +3 -2
  40. package/dist/tree/state/return-statement/return-statement.d.ts +3 -2
  41. package/dist/tree/state/search/search.d.ts +3 -2
  42. package/dist/tree/state/value-descriptor/value-descriptor.d.ts +3 -2
  43. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +3 -2
  44. package/dist/tree/state/variable-instance/variable-instance.d.ts +3 -2
  45. package/package.json +1 -1
@@ -1,8 +1,11 @@
1
- import { EntityWithLogicScope, EntityWithLogicScopeReference, IProject, IProjectReference, IVariableInputMap, IVariableInputMapTransfer, IVariableOutputMap, IVariableOutputMapTransfer, EntityType, IBaseCanvasDraggable, IBaseVariable, IBaseVariableTransfer, IChildEntity, IChildEntityTransfer, IValueReadingEntity, IValueReadingEntityTransfer, IValueWritingEntity, IValueWritingEntityTransfer, CallableEntity, CallableEntityTransfer, IVariableDeclarationReference, IBaseActionCallTransfer, IFunctionDeclaration, IActionInputMap, IActionOutputMap, IVariableInstanceReference, IInternalCallReference, IFunctionDeclarationReference, IFunctionDeclarationTransfer, IBaseActionCallShallowTransfer, IValueWritingEntityShallowTransfer, IBaseVariableShallowTransfer, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer, IInputMapReference, IOutputMapReference, CallableEntityReference, IChildEntityGenerationTarget, IValueReadingEntityGenerationTarget, IValueWritingEntityGenerationTarget, IBaseVariableGenerationTarget, IBaseActionCallGenerationTarget, EntityId, PassThroughCallableEntity, EntryPointEntity, PassThroughCallableEntityReference, EntryPointEntityReference, PassThroughCallableEntityTransfer, EntryPointEntityTransfer, ILiteralValue, ILiteralValueTransfer, ILiteralValueReference } from '.';
1
+ import { EntityWithLogicScope, EntityWithLogicScopeReference, IProject, IProjectReference, IVariableInputMap, IVariableInputMapTransfer, IVariableOutputMap, IVariableOutputMapTransfer, EntityType, IBaseCanvasDraggable, IBaseVariable, IBaseVariableTransfer, IChildEntity, IChildEntityTransfer, IValueReadingEntity, IValueReadingEntityTransfer, IValueWritingEntity, IValueWritingEntityTransfer, CallableEntity, CallableEntityTransfer, IVariableDeclarationReference, IBaseActionCallTransfer, IFunctionDeclaration, IActionInputMap, IActionOutputMap, IVariableInstanceReference, IInternalCallReference, IFunctionDeclarationReference, IFunctionDeclarationTransfer, IBaseActionCallShallowTransfer, IValueWritingEntityShallowTransfer, IBaseVariableShallowTransfer, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer, IInputMapReference, IOutputMapReference, CallableEntityReference, IChildEntityGenerationTarget, IValueReadingEntityGenerationTarget, IValueWritingEntityGenerationTarget, IBaseVariableGenerationTarget, IBaseActionCallGenerationTarget, EntityId, PassThroughCallableEntity, EntryPointEntity, PassThroughCallableEntityReference, EntryPointEntityReference, PassThroughCallableEntityTransfer, EntryPointEntityTransfer, ILiteralValue, ILiteralValueTransfer, ILiteralValueReference, IBaseActionCall_meta, IBaseVariable_meta } from '.';
2
2
 
3
- export interface IInternalCallTransfer extends IBaseActionCallTransfer {
3
+ export interface IInternalCall_meta extends IBaseActionCall_meta {
4
4
  type: EntityType.InternalCall;
5
5
  index: number;
6
+ }
7
+ export interface IInternalCallTransfer extends IBaseActionCallTransfer, IInternalCall_meta {
8
+ type: EntityType.InternalCall;
6
9
  declaration: IFunctionDeclarationTransfer | IFunctionDeclarationReference;
7
10
  parent: IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationReference | IVariableInstance | IVariableInstanceTransfer | IVariableInstanceReference;
8
11
  }
@@ -12,9 +15,8 @@ export interface IInternalCallGenerationTarget extends IBaseActionCallGeneration
12
15
  declaration: EntityId;
13
16
  parent: EntityId;
14
17
  }
15
- export interface IInternalCallShallowTransfer extends IBaseActionCallShallowTransfer {
18
+ export interface IInternalCallShallowTransfer extends IInternalCall_meta, IBaseActionCallShallowTransfer {
16
19
  type: EntityType.InternalCall;
17
- index: number;
18
20
  declaration: IFunctionDeclarationReference;
19
21
  parent: IVariableDeclarationReference | IVariableInstanceReference;
20
22
  }
@@ -31,7 +33,10 @@ export interface IInternalCall extends IInternalCallTransfer {
31
33
  parent: IVariableDeclaration | IVariableInstance;
32
34
  error: IActionOutputMap | null;
33
35
  }
34
- export interface IVariableDeclarationTransfer extends IBaseCanvasDraggable, IBaseVariableTransfer, IChildEntityTransfer, IValueReadingEntityTransfer, IValueWritingEntityTransfer {
36
+ export interface IVariableDeclaration_meta extends IBaseCanvasDraggable, IBaseVariable_meta {
37
+ type: EntityType.VariableDeclaration;
38
+ }
39
+ export interface IVariableDeclarationTransfer extends IVariableDeclaration_meta, IBaseVariableTransfer, IChildEntityTransfer, IValueReadingEntityTransfer, IValueWritingEntityTransfer {
35
40
  type: EntityType.VariableDeclaration;
36
41
  inputs: IVariableInputMapTransfer[];
37
42
  outputs: IVariableOutputMapTransfer[];
@@ -51,7 +56,7 @@ export interface IVariableDeclarationGenerationTarget extends IBaseVariableGener
51
56
  calledByEntry: EntityId[];
52
57
  parent?: EntityId;
53
58
  }
54
- export interface IVariableDeclarationShallowTransfer extends IBaseCanvasDraggable, IBaseVariableShallowTransfer, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer, IValueWritingEntityShallowTransfer {
59
+ export interface IVariableDeclarationShallowTransfer extends IVariableDeclaration_meta, IBaseVariableShallowTransfer, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer, IValueWritingEntityShallowTransfer {
55
60
  type: EntityType.VariableDeclaration;
56
61
  inputs: IInputMapReference[];
57
62
  outputs: IOutputMapReference[];
@@ -63,7 +68,7 @@ export interface IVariableDeclarationShallowTransfer extends IBaseCanvasDraggabl
63
68
  calledByEntry: EntryPointEntityReference[];
64
69
  parent: EntityWithLogicScopeReference | IProjectReference;
65
70
  }
66
- export interface IVariableDeclaration extends IChildEntity, IBaseCanvasDraggable, IBaseVariable, IValueReadingEntity, IValueWritingEntity {
71
+ export interface IVariableDeclaration extends IChildEntity, IVariableDeclaration_meta, IBaseVariable, IValueReadingEntity, IValueWritingEntity {
67
72
  type: EntityType.VariableDeclaration;
68
73
  inputs: IVariableInputMap[];
69
74
  outputs: IVariableOutputMap[];
@@ -75,7 +80,10 @@ export interface IVariableDeclaration extends IChildEntity, IBaseCanvasDraggable
75
80
  calledByEntry: EntryPointEntity[];
76
81
  parent: EntityWithLogicScope | IProject;
77
82
  }
78
- export interface IVariableInstanceTransfer extends IBaseCanvasDraggable, IChildEntityTransfer, IValueReadingEntityTransfer, IValueWritingEntityTransfer {
83
+ export interface IVariableInstance_meta extends IBaseCanvasDraggable {
84
+ type: EntityType.VariableInstance;
85
+ }
86
+ export interface IVariableInstanceTransfer extends IVariableInstance_meta, IChildEntityTransfer, IValueReadingEntityTransfer, IValueWritingEntityTransfer {
79
87
  type: EntityType.VariableInstance;
80
88
  defaultValue: ILiteralValue | ILiteralValueTransfer | null;
81
89
  declaration: IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationReference;
@@ -98,7 +106,7 @@ export interface IVariableInstanceGenerationTarget extends IChildEntityGeneratio
98
106
  calledByEntry: EntityId[];
99
107
  parent?: EntityId;
100
108
  }
101
- export interface IVariableInstanceShallowTransfer extends IBaseCanvasDraggable, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer, IValueWritingEntityShallowTransfer {
109
+ export interface IVariableInstanceShallowTransfer extends IVariableInstance_meta, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer, IValueWritingEntityShallowTransfer {
102
110
  type: EntityType.VariableInstance;
103
111
  defaultValue: ILiteralValueReference | null;
104
112
  declaration: IVariableDeclarationReference;
@@ -112,7 +120,7 @@ export interface IVariableInstanceShallowTransfer extends IBaseCanvasDraggable,
112
120
  calledByEntry: EntryPointEntityReference[];
113
121
  parent: EntityWithLogicScopeReference | IProjectReference;
114
122
  }
115
- export interface IVariableInstance extends IChildEntity, IBaseCanvasDraggable, IValueReadingEntity, IValueWritingEntity {
123
+ export interface IVariableInstance extends IChildEntity, IVariableInstance_meta, IValueReadingEntity, IValueWritingEntity {
116
124
  type: EntityType.VariableInstance;
117
125
  defaultValue: ILiteralValue | null;
118
126
  inputs: IVariableInputMap[];