@elyx-code/project-logic-tree 0.0.6084 → 0.0.6086
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/types/data-type.d.ts +6 -6
- package/dist/definitions/types/primitives.d.ts +4 -0
- package/dist/index.js +5747 -5668
- package/dist/index.umd.cjs +93 -93
- package/dist/tree/state/data-type/data-type.d.ts +3 -2
- package/dist/tree/state/primitive-value/primitive-value.d.ts +2 -1
- package/dist/tree/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EntityType, IChildEntity, IGenericBase, IProperty, IPropertyReference, IActionDescriptor, IActionDescriptorTransfer, IValueDescriptor, IChildEntityTransfer, ICustomEntity, ICustomEntityTransfer, IActionDescriptorReference, IValueDescriptorReference, IPrimitiveEntity, IPrimitiveEntityTransfer, IPrimitiveValue, IPrimitiveValueTransfer, IBuiltInBaseEntityTransfer, IBuiltInBaseEntity, ICustomEntityReference, IDataTypeReference, IChildEntityShallowTransfer, IPrimitiveValueReference, IPrimitiveEntityReference, IBuiltInBaseEntityReference, IChildEntityGenerationTarget, IVariableDeclaration, IVariableDeclarationReference, IArgumentDeclaration, IArgumentDeclarationReference, IReturnDeclaration, IReturnDeclarationReference, EntityId, IInputMap, IOutputMap, IInputMapReference, IOutputMapReference } from '.';
|
|
2
2
|
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
3
|
+
export type DataTypeEntityOption = ICustomEntity | IPrimitiveEntity | IActionDescriptor | IBuiltInBaseEntity | IPrimitiveValue;
|
|
4
|
+
export type DataTypeEntityTransferOption = DataTypeEntityOption | ICustomEntityTransfer | IPrimitiveEntityTransfer | IActionDescriptorTransfer | IBuiltInBaseEntityTransfer | IPrimitiveValueTransfer;
|
|
5
|
+
export type DataTypeEntityReferenceOption = ICustomEntityReference | IPrimitiveEntityReference | IActionDescriptorReference | IBuiltInBaseEntityReference | IPrimitiveValueReference;
|
|
6
6
|
export declare enum DataTypeParentChildRelation {
|
|
7
7
|
OrDataTypeGroup = "or-data-type-group",
|
|
8
8
|
AndDataTypeGroup = "and-data-type-group"
|
|
@@ -24,7 +24,7 @@ export interface IDataType_meta extends IGenericBase, IDataType_base {
|
|
|
24
24
|
inferred: boolean;
|
|
25
25
|
}
|
|
26
26
|
export interface IDataTypeTransfer extends IDataType_meta, IChildEntityTransfer {
|
|
27
|
-
entity: ICustomEntityReference |
|
|
27
|
+
entity: ICustomEntityReference | DataTypeEntityTransferOption | null;
|
|
28
28
|
defaultValue: IPrimitiveValue | IPrimitiveValueTransfer | null;
|
|
29
29
|
andChildrenGroup: IDataTypeTransfer[] | null;
|
|
30
30
|
orChildrenGroup: IDataTypeTransfer[] | null;
|
|
@@ -35,7 +35,7 @@ export interface IDataTypeGenerationTarget extends IDataType_base, IChildEntityG
|
|
|
35
35
|
parent: EntityId;
|
|
36
36
|
}
|
|
37
37
|
export interface IDataTypeShallowTransfer extends IDataType_meta, IChildEntityShallowTransfer {
|
|
38
|
-
entity:
|
|
38
|
+
entity: DataTypeEntityReferenceOption | null;
|
|
39
39
|
defaultValue: IPrimitiveValueReference | null;
|
|
40
40
|
andChildrenGroup: IDataTypeReference[] | null;
|
|
41
41
|
orChildrenGroup: IDataTypeReference[] | null;
|
|
@@ -43,7 +43,7 @@ export interface IDataTypeShallowTransfer extends IDataType_meta, IChildEntitySh
|
|
|
43
43
|
}
|
|
44
44
|
export interface IDataType extends IDataTypeTransfer, IChildEntity {
|
|
45
45
|
defaultValue: IPrimitiveValue | null;
|
|
46
|
-
entity:
|
|
46
|
+
entity: DataTypeEntityOption | null;
|
|
47
47
|
andChildrenGroup: IDataType[] | null;
|
|
48
48
|
orChildrenGroup: IDataType[] | null;
|
|
49
49
|
parent: IVariableDeclaration | IArgumentDeclaration | IReturnDeclaration | IProperty | IValueDescriptor | IInputMap | IOutputMap | IDataType;
|
|
@@ -13,6 +13,9 @@ export declare enum PrimitiveTypes {
|
|
|
13
13
|
UUID = "uuid",
|
|
14
14
|
File = "file"
|
|
15
15
|
}
|
|
16
|
+
export declare enum PrimitiveValueParentChildRelation {
|
|
17
|
+
DataTypeLiteralValue = "data-type-literal-value"
|
|
18
|
+
}
|
|
16
19
|
export type UntypedValue = string | number | boolean | null | Date | {
|
|
17
20
|
[key: string]: UntypedValue;
|
|
18
21
|
} | UntypedValue[];
|
|
@@ -31,6 +34,7 @@ export interface IPrimitiveValue_base {
|
|
|
31
34
|
name: PrimitiveTypes;
|
|
32
35
|
value: PrimitiveValueType;
|
|
33
36
|
autogeneration: ValueAutogenerationOptions | null;
|
|
37
|
+
parentRelationType: PrimitiveValueParentChildRelation | null;
|
|
34
38
|
}
|
|
35
39
|
export interface IPrimitiveValue_meta extends IPrimitiveValue_base, IGenericBase {
|
|
36
40
|
type: EntityType.PrimitiveValue;
|