@elyx-code/project-logic-tree 0.0.6113 → 0.0.6114

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 (63) hide show
  1. package/dist/definitions/built-in-base-entities/conditions/index.d.ts +1 -0
  2. package/dist/definitions/built-in-base-entities/entities/execution/index.d.ts +1 -1
  3. package/dist/definitions/built-in-base-entities/entities/index.d.ts +3 -0
  4. package/dist/definitions/built-in-base-entities/global-events/index.d.ts +1 -0
  5. package/dist/definitions/built-in-base-entities/index.d.ts +2 -0
  6. package/dist/definitions/built-in-base-entities/loops/index.d.ts +3 -0
  7. package/dist/definitions/built-in-base-entities/operations/index.d.ts +1 -0
  8. package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +1 -0
  9. package/dist/definitions/built-in-base-entities/value-descriptors/index.d.ts +3 -0
  10. package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +2 -2
  11. package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +2 -2
  12. package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +3 -3
  13. package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/get-bitcoin-price-http-call.d.ts +2 -2
  14. package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/wait.d.ts +2 -2
  15. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/break-statement.d.ts +1 -2
  16. package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop.d.ts +2 -2
  17. package/dist/definitions/types/index.d.ts +4 -0
  18. package/dist/definitions/types/variable.d.ts +2 -2
  19. package/dist/index.js +25215 -21575
  20. package/dist/index.umd.cjs +253 -253
  21. package/dist/tree/state/action-descriptor/action-descriptor.d.ts +18 -14
  22. package/dist/tree/state/argument-declaration/argument-declaration.d.ts +16 -12
  23. package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +4 -4
  24. package/dist/tree/state/base.d.ts +34 -8
  25. package/dist/tree/state/break-statement/break-statement.d.ts +17 -14
  26. package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +10 -10
  27. package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +10 -10
  28. package/dist/tree/state/condition/condition.d.ts +18 -13
  29. package/dist/tree/state/continue-statement/continue-statement.d.ts +17 -14
  30. package/dist/tree/state/custom-entity/custom-entity.d.ts +21 -13
  31. package/dist/tree/state/custom-entity/validation/validation-schema.d.ts +12 -12
  32. package/dist/tree/state/data-type/data-type.d.ts +16 -12
  33. package/dist/tree/state/function-call/function-call.d.ts +18 -13
  34. package/dist/tree/state/function-declaration/function-declaration.d.ts +17 -13
  35. package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +4 -4
  36. package/dist/tree/state/global-event/global-event.d.ts +18 -13
  37. package/dist/tree/state/input-map/input-map.d.ts +19 -15
  38. package/dist/tree/state/installed-project/installed-project.d.ts +17 -13
  39. package/dist/tree/state/internal-call/internal-call.d.ts +22 -13
  40. package/dist/tree/state/literal-value/literal-value.d.ts +16 -12
  41. package/dist/tree/state/loop/loop.d.ts +18 -13
  42. package/dist/tree/state/operation/operation.d.ts +18 -13
  43. package/dist/tree/state/output-map/output-map.d.ts +20 -16
  44. package/dist/tree/state/primitive-entity/primitive-entity.d.ts +10 -10
  45. package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +10 -10
  46. package/dist/tree/state/project/project.d.ts +17 -12
  47. package/dist/tree/state/project/project.test.d.ts +1 -0
  48. package/dist/tree/state/property/property.d.ts +17 -12
  49. package/dist/tree/state/property/validation/validation-schema.d.ts +12 -12
  50. package/dist/tree/state/return-declaration/return-declaration.d.ts +16 -12
  51. package/dist/tree/state/return-statement/return-statement.d.ts +17 -14
  52. package/dist/tree/state/search/search.d.ts +17 -13
  53. package/dist/tree/state/store.d.ts +1 -0
  54. package/dist/tree/state/value-descriptor/value-descriptor.d.ts +17 -13
  55. package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +4 -4
  56. package/dist/tree/state/variable-declaration/variable-declaration.d.ts +17 -13
  57. package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +4 -4
  58. package/dist/tree/state/variable-instance/variable-instance.d.ts +17 -13
  59. package/dist/tree/utils/index.d.ts +96 -4
  60. package/dist/tree/utils/traverser.d.ts +17 -0
  61. package/dist/tree/utils/traverser.test.d.ts +1 -0
  62. package/dist/tree/utils/uuid.d.ts +2 -0
  63. package/package.json +1 -1
@@ -5,3 +5,4 @@ export * from './comparison';
5
5
  export declare const CONDITIONS: {
6
6
  [key: string]: IActionDescriptorTransfer;
7
7
  };
8
+ export declare const ALL_BUILT_IN_CONDITION_ENTITIES: IActionDescriptorTransfer[];
@@ -2,4 +2,4 @@ import { IBuiltInBaseEntityReference, IBuiltInBaseEntityTransfer, IFunctionDecla
2
2
 
3
3
  export declare const executionBuiltInEntityAbortMethodParentRef: IBuiltInBaseEntityReference;
4
4
  export declare const executionBuiltInEntityAbortMethod: IFunctionDeclarationTransfer;
5
- export declare const executionBuiltInEntity: IBuiltInBaseEntityTransfer;
5
+ export declare const executionBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
@@ -1,5 +1,8 @@
1
+ import { IBuiltInBaseEntityTransfer } from '../../types';
2
+
1
3
  export * from './endpoint';
2
4
  export * from './relational-database';
3
5
  export * from './persisted';
4
6
  export * from './cron';
5
7
  export * from './execution';
8
+ export declare const ALL_BUILT_IN_BASE_ENTITIES: IBuiltInBaseEntityTransfer[];
@@ -4,3 +4,4 @@ export * from './project-published';
4
4
  export declare const GLOBAL_EVENT_DECLARATIONS: {
5
5
  [key: string]: IActionDescriptorTransfer;
6
6
  };
7
+ export declare const ALL_BUILT_IN_GLOBAL_EVENT_ENTITIES: IActionDescriptorTransfer[];
@@ -1,3 +1,4 @@
1
+ import { ElementTransfer } from '../types';
1
2
  export * from './primitive-entities';
2
3
  export * from './operations';
3
4
  export * from './loops';
@@ -6,3 +7,4 @@ export * from './conditions';
6
7
  export * from './global-events';
7
8
  export * from './ids';
8
9
  export * from './value-descriptors';
10
+ export declare const ALL_BUILT_IN_TOP_LEVEL_ENTITIES: ElementTransfer[];
@@ -1,6 +1,9 @@
1
+ import { IActionDescriptorTransfer } from '../../types';
2
+
1
3
  export * from './manual-flow';
2
4
  export * from './list';
3
5
  export * from './string';
4
6
  export * from './object-keys-loop';
5
7
  export * from './object-values-loop';
6
8
  export * from './counted';
9
+ export declare const ALL_BUILT_IN_LOOP_ENTITIES: IActionDescriptorTransfer[];
@@ -9,3 +9,4 @@ export * from './http-request';
9
9
  export declare const OPERATION_DECLARATIONS: {
10
10
  [key: string]: IActionDescriptorTransfer;
11
11
  };
12
+ export declare const ALL_BUILT_IN_OPERATION_ENTITIES: IActionDescriptorTransfer[];
@@ -14,3 +14,4 @@ export declare const enumPrototype: IPrimitiveEntityTransfer;
14
14
  export declare const datePrototype: IPrimitiveEntity;
15
15
  export declare const uuidPrototype: IPrimitiveEntity;
16
16
  export declare const keyValuePrototype: IPrimitiveEntity;
17
+ export declare const ALL_BUILT_IN_PRIMITIVE_ENTITIES: IPrimitiveEntityTransfer[];
@@ -1 +1,4 @@
1
+ import { IValueDescriptorTransfer } from '../../types';
2
+
1
3
  export * from './process-output';
4
+ export declare const ALL_BUILT_IN_VALUE_DESCRIPTORS: IValueDescriptorTransfer[];
@@ -1,8 +1,8 @@
1
- import { IBuiltInBaseEntityReference, IValueDescriptorReference, IDataTypeTransfer, IPropertyReference, IPropertyTransfer } from '../../../../types';
1
+ import { ICustomEntityReference, IValueDescriptorReference, IDataTypeTransfer, IPropertyReference, IPropertyTransfer } from '../../../../types';
2
2
 
3
3
  export declare const alternativeRelationalDatabaseEntityIdentifierPropertyDataTypeRef: IValueDescriptorReference;
4
4
  export declare const alternativeRelationalDatabaseEntityIdentifierPropertyRef: IPropertyReference;
5
- export declare const alternativeRelationalDatabaseEntityRef: IBuiltInBaseEntityReference;
5
+ export declare const alternativeRelationalDatabaseEntityRef: ICustomEntityReference;
6
6
  export declare const alternativeRelationalDatabaseEntityIdentifierProperty: IPropertyTransfer;
7
7
  export declare const alternativeRelationalDatabaseEntityUsernamePropertyDataTypeRef: IValueDescriptorReference;
8
8
  export declare const alternativeRelationalDatabaseEntityUsernamePropertyRef: IPropertyReference;
@@ -1,9 +1,9 @@
1
- import { IBuiltInBaseEntityReference, IPropertyReference, IDataTypeTransfer, IPropertyTransfer } from '../../../../types';
1
+ import { IPropertyReference, IDataTypeTransfer, IPropertyTransfer, ICustomEntityReference } from '../../../../types';
2
2
 
3
3
  export declare const defaultRelationalDatabaseEntityIdentifierPropertyDataTypeRef: IPropertyReference;
4
4
  export declare const defaultRelationalDatabaseEntityIdentifierPropertyRef: IPropertyReference;
5
5
  export declare const defaultRelationalDatabaseEntityIdentifierPropertyDataType: IDataTypeTransfer;
6
- export declare const defaultRelationalDatabaseEntityRef: IBuiltInBaseEntityReference;
6
+ export declare const defaultRelationalDatabaseEntityRef: ICustomEntityReference;
7
7
  export declare const defaultRelationalDatabaseEntityIdentifierProperty: IPropertyTransfer;
8
8
  export declare const defaultRelationalDatabaseEntityUsernamePropertyDataTypeRef: IPropertyReference;
9
9
  export declare const defaultRelationalDatabaseEntityUsernamePropertyRef: IPropertyReference;
@@ -1,12 +1,12 @@
1
- import { IBuiltInBaseEntityReference, IPropertyReference, IDataTypeTransfer, IPropertyTransfer } from '../../../..';
1
+ import { IPropertyReference, IDataTypeTransfer, IPropertyTransfer, ICustomEntityReference } from '../../../..';
2
2
 
3
3
  export declare const getCompanyByIdEndpointPathPropertyDataTypeRef: IPropertyReference;
4
4
  export declare const getCompanyByIdEndpointPathPropertyRef: IPropertyReference;
5
5
  export declare const getCompanyByIdEndpointPathPropertyDataType: IDataTypeTransfer;
6
- export declare const getCompanyByIdEndpointBaseEntityRefTwo: IBuiltInBaseEntityReference;
6
+ export declare const getCompanyByIdEndpointBaseEntityRefTwo: ICustomEntityReference;
7
7
  export declare const getCompanyByIdEndpointPathProperty: IPropertyTransfer;
8
8
  export declare const getCompanyByIdEndpointMethodPropertyDataTypeRef: IPropertyReference;
9
9
  export declare const getCompanyByIdEndpointMethodPropertyRef: IPropertyReference;
10
10
  export declare const getCompanyByIdEndpointMethodPropertyDataType: IDataTypeTransfer;
11
- export declare const getCompanyByIdEndpointBaseEntityRefThree: IBuiltInBaseEntityReference;
11
+ export declare const getCompanyByIdEndpointBaseEntityRefThree: ICustomEntityReference;
12
12
  export declare const getCompanyByIdEndpointMethodProperty: IPropertyTransfer;
@@ -1,4 +1,4 @@
1
- import { IFunctionCallReference, IFunctionDeclarationReference, IGlobalEventReference, IActionOutputMapTransfer, IInputMapReference, IActionInputMapTransfer, IOperationTransfer } from '../../../../..';
1
+ import { IFunctionCallReference, IGlobalEventReference, IActionOutputMapTransfer, IInputMapReference, IActionInputMapTransfer, IOperationTransfer, IOperationReference } from '../../../../..';
2
2
 
3
3
  export declare const getBitcoinPriceHTTPCallRefTwo: IFunctionCallReference;
4
4
  export declare const getBitcoinPriceRequestMethodArgument: IActionInputMapTransfer;
@@ -15,6 +15,6 @@ export declare const getBitcoinPriceHTTPCallRefSeven: IFunctionCallReference;
15
15
  export declare const getBitcoinPriceCallCodeReturn: IActionOutputMapTransfer;
16
16
  export declare const getBitcoinPriceHTTPCallRefEight: IFunctionCallReference;
17
17
  export declare const getBitcoinPriceHttpCallResponseReturn: IActionOutputMapTransfer;
18
- export declare const getBitcoinPriceHTTPCallRef: IFunctionDeclarationReference;
18
+ export declare const getBitcoinPriceHTTPCallRef: IOperationReference;
19
19
  export declare const globalProjectEventRefTwo: IGlobalEventReference;
20
20
  export declare const getBitcoinPriceHTTPCall: IOperationTransfer;
@@ -4,6 +4,6 @@ export declare const waitFor2SecondsArgumentDefaultValueParentRef: IInputMapRefe
4
4
  export declare const waitFor2SecondsArgumentMapParentRef: IOperationReference;
5
5
  export declare const waitFor2SecondsArgumentMap: IActionInputMapTransfer;
6
6
  export declare const waitFor2SecondsParentRef: IFunctionDeclarationReference;
7
- export declare const waitFor2SecondsCalledByRefOne: IFunctionDeclarationReference;
8
- export declare const waitFor2SecondsCalledByRefTwo: IFunctionDeclarationReference;
7
+ export declare const waitFor2SecondsCalledByRefOne: IOperationReference;
8
+ export declare const waitFor2SecondsCalledByRefTwo: IOperationReference;
9
9
  export declare const waitFor2Seconds: IOperationTransfer;
@@ -1,7 +1,6 @@
1
- import { IReturnDeclarationTransfer, IBreakStatementReference, IBreakStatementTransfer, ILoopReference, IConditionReference, IOutputMapReference, IArgumentDeclarationReference } from '../../../../..';
1
+ import { IReturnDeclarationTransfer, IBreakStatementReference, IBreakStatementTransfer, ILoopReference, IConditionReference, IArgumentDeclarationReference } from '../../../../..';
2
2
 
3
3
  export declare const helloWorldLoopBreakStatementOutputDeclarationParentRef: IBreakStatementReference;
4
- export declare const helloWorldLoopContinueStatementOutputReadsValueRef: IOutputMapReference;
5
4
  export declare const helloWorldLoopBreakStatementOutputDeclaration: IReturnDeclarationTransfer;
6
5
  export declare const helloWorldLoopBreakStatementCounterOutputReadsValueRef: IArgumentDeclarationReference;
7
6
  export declare const helloWorldLoopBreakStatementCounterOutputDeclarationParentRef: IBreakStatementReference;
@@ -1,9 +1,9 @@
1
- import { IActionOutputMapTransfer, IFunctionDeclarationReference, ILoopReference, ILoopTransfer, IProjectReference, IValueDescriptorTransfer } from '../../../../..';
1
+ import { IActionOutputMapTransfer, IFunctionDeclarationReference, ILoopReference, ILoopTransfer, IValueDescriptorTransfer } from '../../../../..';
2
2
 
3
3
  export declare const helloWorldLoopIterationResultInlineOutputDeclarationParentRef: ILoopReference;
4
4
  export declare const helloWorldLoopIterationResultInlineOutputDeclaration: IValueDescriptorTransfer;
5
5
  export declare const helloWorldLoopOutputMapParentRef: ILoopReference;
6
6
  export declare const helloWorldLoopOutputMap: IActionOutputMapTransfer;
7
- export declare const manualHelloWorldLoopParentRef: IProjectReference;
7
+ export declare const manualHelloWorldLoopParentRef: IFunctionDeclarationReference;
8
8
  export declare const manualHelloWorldLoopCalledByRef: IFunctionDeclarationReference;
9
9
  export declare const manualHelloWorldLoop: ILoopTransfer;
@@ -72,6 +72,10 @@ export declare const VALUE_READING_TYPES: EntityType[];
72
72
  export declare const VALUE_WRITING_TYPES: EntityType[];
73
73
  export declare const ENTITY_WITH_VALUE_TYPES: EntityType[];
74
74
  export declare const VARIABLE_TYPES: EntityType[];
75
+ export declare const ENTITY_WITH_PARENT_TYPES: EntityType[];
76
+ export declare const ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES: EntityType[];
77
+ export declare const ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES: EntityType[];
78
+ export declare const ENTITY_WITH_DECLARATION_TYPES: EntityType[];
75
79
  export type TerminationEntity = IReturnStatement | IBreakStatement | IContinueStatement;
76
80
  export type TerminationEntityTransfer = IReturnStatementTransfer | IBreakStatementTransfer | IContinueStatementTransfer;
77
81
  export type TerminationEntityReference = IReturnStatementReference | IBreakStatementReference | IContinueStatementReference;
@@ -1,4 +1,4 @@
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 } 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 } from '.';
2
2
 
3
3
  export interface IInternalCallTransfer extends IBaseActionCallTransfer {
4
4
  type: EntityType.InternalCall;
@@ -100,7 +100,7 @@ export interface IVariableInstanceGenerationTarget extends IChildEntityGeneratio
100
100
  }
101
101
  export interface IVariableInstanceShallowTransfer extends IBaseCanvasDraggable, IChildEntityShallowTransfer, IValueReadingEntityShallowTransfer, IValueWritingEntityShallowTransfer {
102
102
  type: EntityType.VariableInstance;
103
- defaultValue: ILiteralValueTransfer | null;
103
+ defaultValue: ILiteralValueReference | null;
104
104
  declaration: IVariableDeclarationReference;
105
105
  inputs: IInputMapReference[];
106
106
  outputs: IOutputMapReference[];