@elyx-code/project-logic-tree 0.0.6112 → 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.
- package/dist/definitions/built-in-base-entities/conditions/index.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/entities/execution/index.d.ts +1 -1
- package/dist/definitions/built-in-base-entities/entities/index.d.ts +3 -0
- package/dist/definitions/built-in-base-entities/global-events/index.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/index.d.ts +2 -0
- package/dist/definitions/built-in-base-entities/loops/index.d.ts +3 -0
- package/dist/definitions/built-in-base-entities/operations/index.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/value-descriptors/index.d.ts +3 -0
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +3 -3
- package/dist/definitions/mock/default-mock/events/project-loaded/get-bitcoin-price/get-bitcoin-price-http-call.d.ts +2 -2
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/wait.d.ts +2 -2
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/break-statement.d.ts +1 -2
- package/dist/definitions/mock/default-mock/functions/manual-hello-world-loop/loop/loop.d.ts +2 -2
- package/dist/definitions/types/base.d.ts +1 -1
- package/dist/definitions/types/index.d.ts +4 -0
- package/dist/definitions/types/variable.d.ts +2 -2
- package/dist/index.js +25222 -21582
- package/dist/index.umd.cjs +257 -257
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +18 -14
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +16 -12
- package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/base.d.ts +34 -8
- package/dist/tree/state/break-statement/break-statement.d.ts +17 -14
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +10 -10
- package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +10 -10
- package/dist/tree/state/condition/condition.d.ts +18 -13
- package/dist/tree/state/continue-statement/continue-statement.d.ts +17 -14
- package/dist/tree/state/custom-entity/custom-entity.d.ts +21 -13
- package/dist/tree/state/custom-entity/validation/validation-schema.d.ts +12 -12
- package/dist/tree/state/data-type/data-type.d.ts +16 -12
- package/dist/tree/state/function-call/function-call.d.ts +18 -13
- package/dist/tree/state/function-declaration/function-declaration.d.ts +17 -13
- package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/global-event/global-event.d.ts +18 -13
- package/dist/tree/state/input-map/input-map.d.ts +19 -15
- package/dist/tree/state/installed-project/installed-project.d.ts +17 -13
- package/dist/tree/state/internal-call/internal-call.d.ts +22 -13
- package/dist/tree/state/literal-value/literal-value.d.ts +16 -12
- package/dist/tree/state/loop/loop.d.ts +18 -13
- package/dist/tree/state/operation/operation.d.ts +18 -13
- package/dist/tree/state/output-map/output-map.d.ts +20 -16
- package/dist/tree/state/primitive-entity/primitive-entity.d.ts +10 -10
- package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +10 -10
- package/dist/tree/state/project/project.d.ts +17 -12
- package/dist/tree/state/project/project.test.d.ts +1 -0
- package/dist/tree/state/property/property.d.ts +17 -12
- package/dist/tree/state/property/validation/validation-schema.d.ts +12 -12
- package/dist/tree/state/return-declaration/return-declaration.d.ts +16 -12
- package/dist/tree/state/return-statement/return-statement.d.ts +17 -14
- package/dist/tree/state/search/search.d.ts +17 -13
- package/dist/tree/state/store.d.ts +1 -0
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +17 -13
- package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +17 -13
- package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/variable-instance/variable-instance.d.ts +17 -13
- package/dist/tree/utils/index.d.ts +96 -4
- package/dist/tree/utils/traverser.d.ts +17 -0
- package/dist/tree/utils/traverser.test.d.ts +1 -0
- package/dist/tree/utils/uuid.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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
|
|
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[];
|
|
@@ -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[];
|
|
@@ -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,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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:
|
|
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;
|
package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
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:
|
|
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;
|
package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
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:
|
|
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:
|
|
11
|
+
export declare const getCompanyByIdEndpointBaseEntityRefThree: ICustomEntityReference;
|
|
12
12
|
export declare const getCompanyByIdEndpointMethodProperty: IPropertyTransfer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFunctionCallReference,
|
|
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:
|
|
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:
|
|
8
|
-
export declare const waitFor2SecondsCalledByRefTwo:
|
|
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,
|
|
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,
|
|
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:
|
|
7
|
+
export declare const manualHelloWorldLoopParentRef: IFunctionDeclarationReference;
|
|
8
8
|
export declare const manualHelloWorldLoopCalledByRef: IFunctionDeclarationReference;
|
|
9
9
|
export declare const manualHelloWorldLoop: ILoopTransfer;
|
|
@@ -21,7 +21,7 @@ export declare enum EntityType {
|
|
|
21
21
|
ReturnDeclaration = "return-declaration",
|
|
22
22
|
OutputMap = "output-map",
|
|
23
23
|
PrimitiveEntity = "primitive-entity",
|
|
24
|
-
LiteralValue = "
|
|
24
|
+
LiteralValue = "literal-value",
|
|
25
25
|
Property = "property",
|
|
26
26
|
Operation = "operation",
|
|
27
27
|
Condition = "condition",
|
|
@@ -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:
|
|
103
|
+
defaultValue: ILiteralValueReference | null;
|
|
104
104
|
declaration: IVariableDeclarationReference;
|
|
105
105
|
inputs: IInputMapReference[];
|
|
106
106
|
outputs: IOutputMapReference[];
|