@elyx-code/project-logic-tree 0.0.6141 → 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 (38) 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/index.js +27217 -22021
  4. package/dist/index.umd.cjs +268 -268
  5. package/dist/tree/built-in/operations/function-execution/parallel.d.ts +1 -1
  6. package/dist/tree/built-in/operations/function-execution/sequential.d.ts +1 -1
  7. package/dist/tree/built-in/operations/function-execution/wait.d.ts +1 -1
  8. package/dist/tree/state/action-descriptor/action-descriptor.d.ts +4 -4
  9. package/dist/tree/state/argument-declaration/argument-declaration.d.ts +4 -4
  10. package/dist/tree/state/base.d.ts +4 -0
  11. package/dist/tree/state/break-statement/break-statement.d.ts +4 -4
  12. package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +3 -2
  13. package/dist/tree/state/condition/condition.d.ts +4 -4
  14. package/dist/tree/state/continue-statement/continue-statement.d.ts +4 -4
  15. package/dist/tree/state/data-type/data-type.d.ts +4 -4
  16. package/dist/tree/state/definition-entity/definition-entity.d.ts +4 -4
  17. package/dist/tree/state/function-call/function-call.d.ts +4 -4
  18. package/dist/tree/state/function-declaration/function-declaration.d.ts +4 -4
  19. package/dist/tree/state/global-event/global-event.d.ts +4 -4
  20. package/dist/tree/state/input-map/input-map.d.ts +4 -4
  21. package/dist/tree/state/installed-project/installed-project.d.ts +4 -4
  22. package/dist/tree/state/internal-call/internal-call.d.ts +4 -4
  23. package/dist/tree/state/literal-value/literal-value.d.ts +4 -4
  24. package/dist/tree/state/loop/loop.d.ts +4 -4
  25. package/dist/tree/state/operation/operation.d.ts +4 -4
  26. package/dist/tree/state/output-map/output-map.d.ts +4 -4
  27. package/dist/tree/state/primitive-entity/primitive-entity.d.ts +4 -4
  28. package/dist/tree/state/project/project.d.ts +4 -4
  29. package/dist/tree/state/property/property.d.ts +4 -4
  30. package/dist/tree/state/return-declaration/return-declaration.d.ts +4 -4
  31. package/dist/tree/state/return-statement/return-statement.d.ts +4 -4
  32. package/dist/tree/state/search/search.d.ts +4 -4
  33. package/dist/tree/state/value-descriptor/value-descriptor.d.ts +4 -4
  34. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +4 -4
  35. package/dist/tree/state/variable-instance/variable-instance.d.ts +4 -4
  36. package/dist/tree/state/version.d.ts +11 -0
  37. package/dist/tree/utils/index.d.ts +1 -0
  38. 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;