@elyx-code/project-logic-tree 0.0.6085 → 0.0.6087
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 +5 -1
- package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +2 -2
- package/dist/definitions/types/data-type.d.ts +6 -6
- package/dist/definitions/types/primitives.d.ts +10 -5
- package/dist/index.js +5493 -5423
- package/dist/index.umd.cjs +99 -99
- package/dist/tree/state/data-type/data-type.d.ts +3 -2
- package/dist/tree/state/data-type/validation/validation-schema.d.ts +32 -32
- package/dist/tree/state/input-map/validation/validation-schema.d.ts +96 -96
- package/dist/tree/state/primitive-value/primitive-value.d.ts +2 -1
- package/dist/tree/state/primitive-value/validation/validation-schema.d.ts +41 -41
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export declare const BUILT_IN_BASE_ENTITY_IDS: {
|
|
|
17
17
|
id: string;
|
|
18
18
|
properties: {};
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
"key-value": {
|
|
21
21
|
id: string;
|
|
22
22
|
properties: {};
|
|
23
23
|
};
|
|
@@ -47,6 +47,10 @@ export declare const BUILT_IN_BASE_ENTITY_IDS: {
|
|
|
47
47
|
id: string;
|
|
48
48
|
properties: {};
|
|
49
49
|
};
|
|
50
|
+
untyped: {
|
|
51
|
+
id: string;
|
|
52
|
+
properties: {};
|
|
53
|
+
};
|
|
50
54
|
};
|
|
51
55
|
"value-descriptor": {
|
|
52
56
|
"action-ongoing-process-output-value-descriptor-id": {
|
|
@@ -4,7 +4,7 @@ export declare const stringPrototype: IPrimitiveEntity;
|
|
|
4
4
|
export declare const booleanPrototype: IPrimitiveEntity;
|
|
5
5
|
export declare const numberPrototype: IPrimitiveEntity;
|
|
6
6
|
export declare const nullPrototype: IPrimitiveEntity;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const untypedDataPrototype: IPrimitiveEntity;
|
|
8
8
|
export declare const enumOptionsPropertyDataTypeRef: IDataTypeReference;
|
|
9
9
|
export declare const enumOptionsPropertyRef: IPropertyReference;
|
|
10
10
|
export declare const enumOptionsPropertyDataType: IDataTypeTransfer;
|
|
@@ -13,4 +13,4 @@ export declare const enumOptionsProperty: IPropertyTransfer;
|
|
|
13
13
|
export declare const enumPrototype: IPrimitiveEntityTransfer;
|
|
14
14
|
export declare const datePrototype: IPrimitiveEntity;
|
|
15
15
|
export declare const uuidPrototype: IPrimitiveEntity;
|
|
16
|
-
export declare const
|
|
16
|
+
export declare const keyValuePrototype: IPrimitiveEntity;
|
|
@@ -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;
|
|
@@ -8,10 +8,14 @@ export declare enum PrimitiveTypes {
|
|
|
8
8
|
Boolean = "boolean",
|
|
9
9
|
Null = "null",
|
|
10
10
|
Enum = "enum",
|
|
11
|
-
|
|
11
|
+
KeyValue = "key-value",
|
|
12
12
|
Date = "date",
|
|
13
13
|
UUID = "uuid",
|
|
14
|
-
File = "file"
|
|
14
|
+
File = "file",
|
|
15
|
+
Untyped = "untyped"
|
|
16
|
+
}
|
|
17
|
+
export declare enum PrimitiveValueParentChildRelation {
|
|
18
|
+
DataTypeLiteralValue = "data-type-literal-value"
|
|
15
19
|
}
|
|
16
20
|
export type UntypedValue = string | number | boolean | null | Date | {
|
|
17
21
|
[key: string]: UntypedValue;
|
|
@@ -31,6 +35,7 @@ export interface IPrimitiveValue_base {
|
|
|
31
35
|
name: PrimitiveTypes;
|
|
32
36
|
value: PrimitiveValueType;
|
|
33
37
|
autogeneration: ValueAutogenerationOptions | null;
|
|
38
|
+
parentRelationType: PrimitiveValueParentChildRelation | null;
|
|
34
39
|
}
|
|
35
40
|
export interface IPrimitiveValue_meta extends IPrimitiveValue_base, IGenericBase {
|
|
36
41
|
type: EntityType.PrimitiveValue;
|
|
@@ -106,12 +111,12 @@ export interface IPrimitiveEnumValue extends IPrimitiveValue {
|
|
|
106
111
|
autogeneration: BooleanAutogenerationOptions | null;
|
|
107
112
|
}
|
|
108
113
|
export interface IPrimitiveJSONValueTransfer extends IPrimitiveValueTransfer {
|
|
109
|
-
name: PrimitiveTypes.
|
|
114
|
+
name: PrimitiveTypes.KeyValue;
|
|
110
115
|
value: UntypedValue | null;
|
|
111
116
|
autogeneration: null;
|
|
112
117
|
}
|
|
113
118
|
export interface IPrimitiveJSONValue extends IPrimitiveValue {
|
|
114
|
-
name: PrimitiveTypes.
|
|
119
|
+
name: PrimitiveTypes.KeyValue;
|
|
115
120
|
value: UntypedValue | null;
|
|
116
121
|
autogeneration: null;
|
|
117
122
|
}
|
|
@@ -188,7 +193,7 @@ export interface IEnum extends IPrimitiveEntity {
|
|
|
188
193
|
options: string[];
|
|
189
194
|
}
|
|
190
195
|
export interface IJSON extends IPrimitiveEntity {
|
|
191
|
-
name: PrimitiveTypes.
|
|
196
|
+
name: PrimitiveTypes.KeyValue;
|
|
192
197
|
}
|
|
193
198
|
export interface IDate extends IPrimitiveEntity {
|
|
194
199
|
name: PrimitiveTypes.Date;
|