@elyx-code/project-logic-tree 0.0.6344 → 0.0.6345
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/index.d.ts +44 -3
- package/dist/index.js +10977 -10447
- package/dist/index.umd.cjs +85 -85
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
28
28
|
initialData: IActionDescriptorTransfer | IActionDescriptor;
|
|
29
29
|
readonly id: EntityId;
|
|
30
30
|
name: string;
|
|
31
|
+
codeName: string | null;
|
|
31
32
|
description: string | null;
|
|
32
33
|
readonly type: EntityType.ActionDescriptor;
|
|
33
34
|
inputs: ValueDescriptorState[];
|
|
@@ -377,6 +378,7 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
377
378
|
initialData: IArgumentDeclaration | IArgumentDeclarationTransfer;
|
|
378
379
|
readonly id: EntityId;
|
|
379
380
|
name: string;
|
|
381
|
+
codeName: string | null;
|
|
380
382
|
description: string | null;
|
|
381
383
|
index: number;
|
|
382
384
|
required: boolean;
|
|
@@ -2295,6 +2297,7 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
|
|
|
2295
2297
|
initialData: IDefinitionEntity | IDefinitionEntityTransfer;
|
|
2296
2298
|
readonly id: EntityId;
|
|
2297
2299
|
name: string;
|
|
2300
|
+
codeName: string | null;
|
|
2298
2301
|
description: string | null;
|
|
2299
2302
|
x: number;
|
|
2300
2303
|
y: number;
|
|
@@ -2779,6 +2782,8 @@ export declare const ENTITY_RECUSION_OPTIONS_DEFAULTS: IEntityRecursionOptions;
|
|
|
2779
2782
|
|
|
2780
2783
|
export declare const ENTITY_TYPES: EntityType[];
|
|
2781
2784
|
|
|
2785
|
+
export declare const ENTITY_WITH_CODE_NAMES_TYPES: EntityType[];
|
|
2786
|
+
|
|
2782
2787
|
export declare const ENTITY_WITH_DECLARATION_TYPES: EntityType[];
|
|
2783
2788
|
|
|
2784
2789
|
export declare const ENTITY_WITH_LOGIC_SCOPE_TYPES: EntityType[];
|
|
@@ -2976,6 +2981,18 @@ export declare enum EntityType {
|
|
|
2976
2981
|
|
|
2977
2982
|
export declare type EntityVersion = string;
|
|
2978
2983
|
|
|
2984
|
+
export declare type EntityWithCodeNames = IDefinitionEntity | IFunctionDeclaration | IArgumentDeclaration | IReturnDeclaration | IProperty | IVariableDeclaration | IInstalledProject | IActionDescriptor | IValueDescriptor;
|
|
2985
|
+
|
|
2986
|
+
export declare type EntityWithCodeNamesGenerationTarget = IDefinitionEntityGenerationTarget | IFunctionDeclarationGenerationTarget | IArgumentDeclarationGenerationTarget | IReturnDeclarationGenerationTarget | IPropertyGenerationTarget | IVariableDeclaration | IInstalledProjectGenerationTarget | IActionDescriptorGenerationTarget | IValueDescriptorGenerationTarget;
|
|
2987
|
+
|
|
2988
|
+
export declare type EntityWithCodeNamesReference = IDefinitionEntityReference | IFunctionDeclarationReference | IArgumentDeclarationReference | IReturnDeclarationReference | IPropertyReference | IVariableDeclarationReference | IInstalledProjectReference | IActionDescriptorReference | IValueDescriptorReference;
|
|
2989
|
+
|
|
2990
|
+
export declare type EntityWithCodeNamesShallowTransfer = IDefinitionEntityShallowTransfer | IFunctionDeclarationShallowTransfer | IArgumentDeclarationShallowTransfer | IReturnDeclarationShallowTransfer | IPropertyShallowTransfer | IVariableDeclarationShallowTransfer | IInstalledProjectShallowTransfer | IActionDescriptorShallowTransfer | IValueDescriptorShallowTransfer;
|
|
2991
|
+
|
|
2992
|
+
export declare type EntityWithCodeNamesState = DefinitionEntityState | FunctionDeclarationState | ArgumentDeclarationState | ReturnDeclarationState | PropertyState | VariableDeclarationState | InstalledProjectState | ActionDescriptorState | ValueDescriptorState;
|
|
2993
|
+
|
|
2994
|
+
export declare type EntityWithCodeNamesTransfer = IDefinitionEntityTransfer | IFunctionDeclarationTransfer | IArgumentDeclarationTransfer | IReturnDeclarationTransfer | IPropertyTransfer | IVariableDeclarationTransfer | IInstalledProjectTransfer | IActionDescriptorTransfer | IValueDescriptorTransfer;
|
|
2995
|
+
|
|
2979
2996
|
export declare type EntityWithLogicScope = EntryPointEntity | ILoop;
|
|
2980
2997
|
|
|
2981
2998
|
export declare type EntityWithLogicScope_meta = EntryPointEntity_meta | ILoop_meta;
|
|
@@ -3582,6 +3599,7 @@ export declare class FunctionDeclarationState extends VersionedState implements
|
|
|
3582
3599
|
initialData: IFunctionDeclarationTransfer | IFunctionDeclaration;
|
|
3583
3600
|
readonly id: EntityId;
|
|
3584
3601
|
name: string;
|
|
3602
|
+
codeName: string | null;
|
|
3585
3603
|
description: string | null;
|
|
3586
3604
|
x: number;
|
|
3587
3605
|
y: number;
|
|
@@ -7963,6 +7981,7 @@ export declare interface IActionDescriptor_base {
|
|
|
7963
7981
|
id: EntityId;
|
|
7964
7982
|
type: EntityType.ActionDescriptor;
|
|
7965
7983
|
name: string;
|
|
7984
|
+
codeName: string | null;
|
|
7966
7985
|
description: string | null;
|
|
7967
7986
|
}
|
|
7968
7987
|
|
|
@@ -8331,6 +8350,7 @@ export declare interface IBaseVariable extends IBaseVariableTransfer, IChildEnti
|
|
|
8331
8350
|
|
|
8332
8351
|
export declare interface IBaseVariable_meta extends IGenericBase {
|
|
8333
8352
|
name: string;
|
|
8353
|
+
codeName: string | null;
|
|
8334
8354
|
description: string | null;
|
|
8335
8355
|
required: boolean;
|
|
8336
8356
|
constant: boolean;
|
|
@@ -8340,7 +8360,8 @@ export declare interface IBaseVariableGenerationTarget {
|
|
|
8340
8360
|
id: EntityId;
|
|
8341
8361
|
type: EntityType;
|
|
8342
8362
|
name: string;
|
|
8343
|
-
|
|
8363
|
+
codeName?: string | null;
|
|
8364
|
+
description?: string | null;
|
|
8344
8365
|
required?: boolean;
|
|
8345
8366
|
constant?: boolean;
|
|
8346
8367
|
parent?: EntityId;
|
|
@@ -8348,6 +8369,7 @@ export declare interface IBaseVariableGenerationTarget {
|
|
|
8348
8369
|
|
|
8349
8370
|
export declare interface IBaseVariableShallowTransfer extends IGenericBase, IChildEntityShallowTransfer {
|
|
8350
8371
|
name: string;
|
|
8372
|
+
codeName: string | null;
|
|
8351
8373
|
description: string | null;
|
|
8352
8374
|
defaultValue: ILiteralValueReference | null;
|
|
8353
8375
|
required: boolean;
|
|
@@ -8743,12 +8765,14 @@ export declare interface IDefinitionEntity extends IDefinitionEntityTransfer, IC
|
|
|
8743
8765
|
}
|
|
8744
8766
|
|
|
8745
8767
|
export declare interface IDefinitionEntity_meta extends IBaseEntity_meta, IBaseCanvasDraggable {
|
|
8768
|
+
codeName: string | null;
|
|
8746
8769
|
type: EntityType.DefinitionEntity;
|
|
8747
8770
|
}
|
|
8748
8771
|
|
|
8749
8772
|
export declare interface IDefinitionEntityGenerationTarget extends IChildEntityGenerationTarget, IBaseEntityGenerationTarget {
|
|
8750
8773
|
id: EntityId;
|
|
8751
8774
|
type: EntityType.DefinitionEntity;
|
|
8775
|
+
codeName?: string | null;
|
|
8752
8776
|
extends: EntityId[];
|
|
8753
8777
|
implements: EntityId[];
|
|
8754
8778
|
parent?: EntityId;
|
|
@@ -8760,6 +8784,7 @@ export declare interface IDefinitionEntityReference extends IGenericReference {
|
|
|
8760
8784
|
|
|
8761
8785
|
export declare interface IDefinitionEntityShallowTransfer extends IBaseCanvasDraggable, IChildEntityShallowTransfer, IBaseEntityShallowTransfer {
|
|
8762
8786
|
type: EntityType.DefinitionEntity;
|
|
8787
|
+
codeName: string | null;
|
|
8763
8788
|
extends: (IDefinitionEntityReference | IBuiltInBaseEntityReference)[];
|
|
8764
8789
|
implements: (IDefinitionEntityReference | IBuiltInBaseEntityReference)[];
|
|
8765
8790
|
parent: IProjectReference | IDataTypeReference;
|
|
@@ -8768,6 +8793,7 @@ export declare interface IDefinitionEntityShallowTransfer extends IBaseCanvasDra
|
|
|
8768
8793
|
|
|
8769
8794
|
export declare interface IDefinitionEntityTransfer extends IBaseCanvasDraggable, IChildEntityTransfer, IBaseEntityTransfer {
|
|
8770
8795
|
type: EntityType.DefinitionEntity;
|
|
8796
|
+
codeName: string | null;
|
|
8771
8797
|
extends: (IDefinitionEntity | IDefinitionEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer)[];
|
|
8772
8798
|
implements: (IDefinitionEntity | IDefinitionEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer)[];
|
|
8773
8799
|
parent: IProject | IProjectReference | IDataType | IDataTypeReference;
|
|
@@ -8974,6 +9000,7 @@ export declare interface IFunctionDeclaration extends IFunctionDeclarationTransf
|
|
|
8974
9000
|
export declare interface IFunctionDeclaration_meta extends IBaseCanvasDraggable {
|
|
8975
9001
|
type: EntityType.FunctionDeclaration;
|
|
8976
9002
|
name: string;
|
|
9003
|
+
codeName: string | null;
|
|
8977
9004
|
description: string | null;
|
|
8978
9005
|
collapsed: boolean;
|
|
8979
9006
|
private: boolean;
|
|
@@ -8984,7 +9011,8 @@ export declare interface IFunctionDeclarationGenerationTarget extends IChildEnti
|
|
|
8984
9011
|
id: EntityId;
|
|
8985
9012
|
type: EntityType.FunctionDeclaration;
|
|
8986
9013
|
name: string;
|
|
8987
|
-
|
|
9014
|
+
codeName?: string | null;
|
|
9015
|
+
description?: string | null;
|
|
8988
9016
|
private?: boolean;
|
|
8989
9017
|
implements?: EntityId;
|
|
8990
9018
|
extends?: EntityId;
|
|
@@ -9107,6 +9135,7 @@ export declare interface IInputMap_meta extends IGenericBase {
|
|
|
9107
9135
|
type: EntityType.InputMap;
|
|
9108
9136
|
index: number;
|
|
9109
9137
|
name: string | null;
|
|
9138
|
+
codeName: string | null;
|
|
9110
9139
|
description: string | null;
|
|
9111
9140
|
}
|
|
9112
9141
|
|
|
@@ -9114,6 +9143,7 @@ export declare interface IInputMapGenerationTarget extends IChildEntityGeneratio
|
|
|
9114
9143
|
id: EntityId;
|
|
9115
9144
|
type: EntityType.InputMap;
|
|
9116
9145
|
name?: string;
|
|
9146
|
+
codeName?: string;
|
|
9117
9147
|
description?: string;
|
|
9118
9148
|
declaration: EntityId | null;
|
|
9119
9149
|
parent: EntityId;
|
|
@@ -9144,6 +9174,7 @@ export declare interface IInstalledProject extends IInstalledProjectTransfer, IC
|
|
|
9144
9174
|
export declare interface IInstalledProject_meta extends IGenericBase, IBaseCanvasDraggable {
|
|
9145
9175
|
type: EntityType.InstalledProject;
|
|
9146
9176
|
name: string;
|
|
9177
|
+
codeName: string | null;
|
|
9147
9178
|
description: string | null;
|
|
9148
9179
|
}
|
|
9149
9180
|
|
|
@@ -9151,7 +9182,8 @@ export declare interface IInstalledProjectGenerationTarget extends IChildEntityG
|
|
|
9151
9182
|
id: EntityId;
|
|
9152
9183
|
type: EntityType.InstalledProject;
|
|
9153
9184
|
name: string;
|
|
9154
|
-
|
|
9185
|
+
codeName?: string | null;
|
|
9186
|
+
description?: string | null;
|
|
9155
9187
|
implements: EntityId;
|
|
9156
9188
|
}
|
|
9157
9189
|
|
|
@@ -9352,6 +9384,7 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
9352
9384
|
readonly id: EntityId;
|
|
9353
9385
|
index: number;
|
|
9354
9386
|
name: string | null;
|
|
9387
|
+
codeName: string | null;
|
|
9355
9388
|
description: string | null;
|
|
9356
9389
|
readonly type: EntityType.InputMap;
|
|
9357
9390
|
defaultValue: LiteralValueState | null;
|
|
@@ -9481,6 +9514,7 @@ export declare class InstalledProjectState extends VersionedState implements IIn
|
|
|
9481
9514
|
initialData: IInstalledProject | IInstalledProjectTransfer;
|
|
9482
9515
|
readonly id: EntityId;
|
|
9483
9516
|
readonly name: string;
|
|
9517
|
+
readonly codeName: string | null;
|
|
9484
9518
|
readonly description: string | null;
|
|
9485
9519
|
x: number;
|
|
9486
9520
|
y: number;
|
|
@@ -10553,6 +10587,7 @@ export declare interface IValueDescriptor_base {
|
|
|
10553
10587
|
id: EntityId;
|
|
10554
10588
|
type: EntityType.ValueDescriptor;
|
|
10555
10589
|
name: string;
|
|
10590
|
+
codeName: string | null;
|
|
10556
10591
|
description: string | null;
|
|
10557
10592
|
required: boolean;
|
|
10558
10593
|
parentRelationType?: ValueDescriptorParentChildRelation;
|
|
@@ -12404,6 +12439,7 @@ export declare class PropertyState extends VersionedState implements IProperty,
|
|
|
12404
12439
|
initialData: IProperty | IPropertyTransfer;
|
|
12405
12440
|
readonly id: EntityId;
|
|
12406
12441
|
name: string;
|
|
12442
|
+
codeName: string | null;
|
|
12407
12443
|
description: string | null;
|
|
12408
12444
|
private: boolean;
|
|
12409
12445
|
abstract: boolean;
|
|
@@ -12796,6 +12832,8 @@ export declare function resolveDefinitionEntityDataTypeLabel(entity: DefinitionE
|
|
|
12796
12832
|
|
|
12797
12833
|
export declare function resolveDefinitionEntitySubheader(entity: DefinitionEntityState): string;
|
|
12798
12834
|
|
|
12835
|
+
export declare function resolveEntityCodeName(entity: EntityPayloadUnion, project: ProjectState): string | null;
|
|
12836
|
+
|
|
12799
12837
|
export declare function resolveEntityDataTypeLabel(entity: PropertyState | EntityWithValueState | ValueDescriptorState): string;
|
|
12800
12838
|
|
|
12801
12839
|
export declare function resolveEntityName(entity: EntityPayloadUnion, project: ProjectState): string;
|
|
@@ -12874,6 +12912,7 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
12874
12912
|
initialData: IReturnDeclaration | IReturnDeclarationTransfer;
|
|
12875
12913
|
readonly id: EntityId;
|
|
12876
12914
|
name: string;
|
|
12915
|
+
codeName: string | null;
|
|
12877
12916
|
description: string | null;
|
|
12878
12917
|
index: number;
|
|
12879
12918
|
required: boolean;
|
|
@@ -14816,6 +14855,7 @@ export declare class ValueDescriptorState extends VersionedState implements IVal
|
|
|
14816
14855
|
initialData: IValueDescriptor | IValueDescriptorTransfer;
|
|
14817
14856
|
readonly id: EntityId;
|
|
14818
14857
|
name: string;
|
|
14858
|
+
codeName: string | null;
|
|
14819
14859
|
description: string | null;
|
|
14820
14860
|
index: number;
|
|
14821
14861
|
required: boolean;
|
|
@@ -15001,6 +15041,7 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
15001
15041
|
initialData: IVariableDeclaration | IVariableDeclarationTransfer;
|
|
15002
15042
|
readonly id: EntityId;
|
|
15003
15043
|
name: string;
|
|
15044
|
+
codeName: string | null;
|
|
15004
15045
|
description: string | null;
|
|
15005
15046
|
required: boolean;
|
|
15006
15047
|
constant: boolean;
|