@elyx-code/project-logic-tree 0.0.6023 → 0.0.6025
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/ids.d.ts +157 -39
- package/dist/index.js +9825 -9513
- package/dist/index.umd.cjs +188 -189
- package/dist/tree/state/loop/loop.d.ts +12 -1
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ import { ReturnStatementState } from '../return-statement';
|
|
|
14
14
|
import { ActionDescriptorState } from '../action-descriptor';
|
|
15
15
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
16
16
|
import { ReturnDeclarationState } from '../return-declaration';
|
|
17
|
+
import { ArgumentDeclarationState } from '../argument-declaration';
|
|
17
18
|
|
|
18
19
|
export declare class LoopState implements ILoop, BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, CallableEntityClass, ChildEntityState, EntityWithLogicScopeClass, PassThroughCallableEntityClass {
|
|
19
20
|
initialData: ILoop | ILoopTransfer;
|
|
@@ -38,10 +39,14 @@ export declare class LoopState implements ILoop, BaseState, UserManagedEntitySta
|
|
|
38
39
|
calledByEntry: EntryPointEntityState[];
|
|
39
40
|
parent: EntityWithLogicScopeState | ProjectState;
|
|
40
41
|
detachedChildren: CanvasEntityState[];
|
|
42
|
+
currentIterationNumberArgumentDeclaration: ArgumentDeclarationState;
|
|
43
|
+
currentValueArgumentDeclaration: ArgumentDeclarationState | null;
|
|
41
44
|
errors: EntityError[];
|
|
42
45
|
project: ProjectState;
|
|
43
46
|
initialized: boolean;
|
|
44
47
|
constructor(initialOperationData: ILoop | ILoopTransfer, parentProjectState: ProjectState);
|
|
48
|
+
static CURRENT_ITERATION_NUMBER_ARG_NAME: string;
|
|
49
|
+
static CURRENT_VALUE_ARG_NAME: string;
|
|
45
50
|
static MUTABLE_BASE_PROPERTIES: string[];
|
|
46
51
|
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
47
52
|
static BASE_PROPERTIES: string[];
|
|
@@ -61,7 +66,9 @@ export declare class LoopState implements ILoop, BaseState, UserManagedEntitySta
|
|
|
61
66
|
modifiedData: ILoopGenerationTarget;
|
|
62
67
|
};
|
|
63
68
|
static fromReturnDeclarationToBodyArgumentDeclarationName(returnDeclaration: ReturnDeclarationState): string;
|
|
69
|
+
static fromBodyArgumentDeclarationToReturnDeclarationName(argumentDeclaration: ArgumentDeclarationState): string;
|
|
64
70
|
static fromReturnDeclarationToLoopOutputDeclarationName(returnDeclaration: ReturnDeclarationState): string;
|
|
71
|
+
static fromLoopOutputDeclarationToReturnDeclarationName(outputDeclaration: ValueDescriptorState): string;
|
|
65
72
|
validateGeneratedUpdate(data: Partial<ILoopGenerationTarget>): {
|
|
66
73
|
errors: EntityGenerationError[];
|
|
67
74
|
modifiedData: Partial<ILoopGenerationTarget>;
|
|
@@ -138,7 +145,11 @@ export declare class LoopState implements ILoop, BaseState, UserManagedEntitySta
|
|
|
138
145
|
syncBodyArgumentsDeclarations(): IChangeSet<LoopState>;
|
|
139
146
|
syncOutputsDeclarations(): IChangeSet<LoopState>;
|
|
140
147
|
syncOutputMaps(): IChangeSet<LoopState>;
|
|
141
|
-
|
|
148
|
+
createCurrentIterationNumberArgumentDeclaration(): IChangeSet<LoopState>;
|
|
149
|
+
removeExtraBodyArgumentDeclarations(): IChangeSet<LoopState>;
|
|
150
|
+
createCurrentValueInputBasedOnInputMap(): IChangeSet<LoopState>;
|
|
151
|
+
syncFixedBodyArgumentDeclarations(): IChangeSet<LoopState>;
|
|
152
|
+
syncInputMaps(): IChangeSet<LoopState>;
|
|
142
153
|
syncChildren(): IChangeSet<LoopState>;
|
|
143
154
|
}
|
|
144
155
|
export type LoopPayloadUnion = LoopState | LoopTypesUnion;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6025",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|