@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.
Files changed (39) hide show
  1. package/dist/definitions/types/base.d.ts +9 -3
  2. package/dist/definitions/types/generic-reference.d.ts +4 -3
  3. package/dist/definitions/types/index.d.ts +3 -1
  4. package/dist/index.js +35262 -29593
  5. package/dist/index.umd.cjs +267 -267
  6. package/dist/tree/built-in/operations/function-execution/parallel.d.ts +1 -1
  7. package/dist/tree/built-in/operations/function-execution/sequential.d.ts +1 -1
  8. package/dist/tree/built-in/operations/function-execution/wait.d.ts +1 -1
  9. package/dist/tree/state/action-descriptor/action-descriptor.d.ts +7 -4
  10. package/dist/tree/state/argument-declaration/argument-declaration.d.ts +7 -4
  11. package/dist/tree/state/base.d.ts +4 -0
  12. package/dist/tree/state/break-statement/break-statement.d.ts +7 -4
  13. package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +3 -2
  14. package/dist/tree/state/condition/condition.d.ts +7 -4
  15. package/dist/tree/state/continue-statement/continue-statement.d.ts +7 -4
  16. package/dist/tree/state/data-type/data-type.d.ts +7 -4
  17. package/dist/tree/state/definition-entity/definition-entity.d.ts +7 -4
  18. package/dist/tree/state/function-call/function-call.d.ts +7 -4
  19. package/dist/tree/state/function-declaration/function-declaration.d.ts +7 -4
  20. package/dist/tree/state/global-event/global-event.d.ts +7 -4
  21. package/dist/tree/state/input-map/input-map.d.ts +7 -4
  22. package/dist/tree/state/installed-project/installed-project.d.ts +7 -4
  23. package/dist/tree/state/internal-call/internal-call.d.ts +7 -4
  24. package/dist/tree/state/literal-value/literal-value.d.ts +7 -4
  25. package/dist/tree/state/loop/loop.d.ts +7 -4
  26. package/dist/tree/state/operation/operation.d.ts +7 -4
  27. package/dist/tree/state/output-map/output-map.d.ts +7 -4
  28. package/dist/tree/state/primitive-entity/primitive-entity.d.ts +4 -4
  29. package/dist/tree/state/project/project.d.ts +7 -4
  30. package/dist/tree/state/property/property.d.ts +7 -4
  31. package/dist/tree/state/return-declaration/return-declaration.d.ts +7 -4
  32. package/dist/tree/state/return-statement/return-statement.d.ts +7 -4
  33. package/dist/tree/state/search/search.d.ts +7 -4
  34. package/dist/tree/state/value-descriptor/value-descriptor.d.ts +7 -4
  35. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +7 -4
  36. package/dist/tree/state/variable-instance/variable-instance.d.ts +7 -4
  37. package/dist/tree/state/version.d.ts +11 -0
  38. package/dist/tree/utils/index.d.ts +1 -0
  39. package/package.json +2 -1
@@ -1,7 +1,7 @@
1
1
  import { Element, EntryPointEntity, EntryPointEntityReference, IBuiltInBaseEntity, IDefinitionEntityReference, IProject, IProjectReference, IReturnStatementReference, PassThroughCallableEntityReference, Reference, ValueReadingEntity, ValueReadingEntityReference, ValueReadingEntityTransfer, ValueWritingEntity, ValueWritingEntityReference, ValueWritingEntityTransfer, IBuiltInBaseEntityReference, IActionDescriptorReference, IPrimitiveEntityReference, IDataType, IDataTypeTransfer, IDefinitionEntity, IPrimitiveEntity, IReturnStatement, IActionInputMapTransfer, IActionInputMap, IActionOutputMap, IActionOutputMapTransfer, CallableEntity, CallableEntityTransfer, EntityWithLogicScope, EntityWithLogicScopeReference, IFunctionDeclarationTransfer, IFunctionDeclarationReference, IFunctionDeclaration, IVariableDeclaration, IVariableInstance, IVariableInstanceReference, IVariableDeclarationReference, PassThroughCallableEntity, IBreakStatement, IBreakStatementReference, IContinueStatement, IContinueStatementReference, ILoop, ILoopReference, IActionDescriptorTransfer, IVariableDeclarationTransfer, IVariableInstanceTransfer, ElementTransfer, IDataTypeReference, IInputMapReference, IOutputMapReference, CallableEntityReference, PassThroughCallableEntityTransfer, EntryPointEntityTransfer, IActionDescriptor, ILiteralValue, ILiteralValueReference, ILiteralValueTransfer } from '.';
2
2
 
3
3
  export type EntityId = string;
4
- export type EntityVersion = number;
4
+ export type EntityVersion = string;
5
5
  export declare enum EntityType {
6
6
  DefinitionEntity = "definition-entity",
7
7
  BuiltInBaseEntity = "built-in-base-entity",
@@ -32,9 +32,15 @@ export declare enum EntityType {
32
32
  InternalCall = "internal-call",
33
33
  GenericReference = "generic-reference"
34
34
  }
35
- export interface IGenericBase {
36
- id: EntityId;
35
+ export interface IVersionMetadata {
37
36
  version: EntityVersion;
37
+ author: string;
38
+ createdAt: string | Date;
39
+ previousVersion: EntityVersion | null;
40
+ deleted: boolean;
41
+ }
42
+ export interface IGenericBase extends IVersionMetadata {
43
+ id: EntityId;
38
44
  type: EntityType;
39
45
  }
40
46
  export interface IChildEntityTransfer {
@@ -1,10 +1,11 @@
1
- import { EntityType } from '.';
1
+ import { EntityId, EntityType, EntityVersion } from '.';
2
2
 
3
3
  export interface IGenericReference {
4
- id: string;
4
+ id: EntityId;
5
5
  type: EntityType.GenericReference;
6
6
  entityType: EntityType;
7
- entityId: string;
7
+ version: EntityVersion;
8
+ entityId: EntityId;
8
9
  }
9
10
  export interface IFunctionDeclarationReference extends IGenericReference {
10
11
  entityType: EntityType.FunctionDeclaration;
@@ -171,8 +171,10 @@ export type EntityWithLogicScopeTypesUnion = EntityWithLogicScope | EntityWithLo
171
171
  export type PlayableEntityTypesUnion = PlayableEntity | PlayableEntityTransfer | PlayableEntityShallowTransfer | PlayableEntityGenerationTarget;
172
172
  export type DraggablePlayableEntityTypesUnion = DraggablePlayableEntity | DraggablePlayableEntityTransfer | DraggablePlayableEntityShallowTransfer | DraggablePlayableEntityGenerationTarget;
173
173
  export declare const EVENT_TYPES: EntityType[];
174
- export declare const PASS_THROUGH_CALLABLE_TYPES: EntityType[];
174
+ export declare const DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS: EntityType[];
175
+ export declare const PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS: EntityType[];
175
176
  export declare const DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES: EntityType[];
177
+ export declare const PASS_THROUGH_CALLABLE_TYPES: EntityType[];
176
178
  export declare const ENTRY_POINT_TYPES: EntityType[];
177
179
  export declare const CALLABLE_TYPES: EntityType[];
178
180
  export declare const DRAGGABLE_CALLABLE_TYPES: EntityType[];