@elyx-code/project-logic-tree 0.0.6085 → 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 +5316 -5250
- package/dist/index.umd.cjs +81 -81
- 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/package.json +1 -1
|
@@ -17,6 +17,7 @@ import { EntityError, EntityGenerationError } from '../error';
|
|
|
17
17
|
import { InputMapState, VariableInputMapState } from '../input-map';
|
|
18
18
|
import { OutputMapState } from '../output-map';
|
|
19
19
|
|
|
20
|
+
export type DataTypeStateEntityOption = CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | PrimitiveValueState;
|
|
20
21
|
export declare class DataTypeState implements IDataType, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
|
|
21
22
|
initialData: IDataType | IDataTypeTransfer;
|
|
22
23
|
readonly id: EntityId;
|
|
@@ -30,7 +31,7 @@ export declare class DataTypeState implements IDataType, UserManagedEntityStateF
|
|
|
30
31
|
parentRelationType?: DataTypeParentChildRelation;
|
|
31
32
|
like: boolean;
|
|
32
33
|
defaultValue: PrimitiveValueState | null;
|
|
33
|
-
entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | null;
|
|
34
|
+
entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | PrimitiveValueState | null;
|
|
34
35
|
andChildrenGroup: DataTypeState[] | null;
|
|
35
36
|
orChildrenGroup: DataTypeState[] | null;
|
|
36
37
|
project: ProjectState;
|
|
@@ -107,7 +108,7 @@ export declare class DataTypeState implements IDataType, UserManagedEntityStateF
|
|
|
107
108
|
addToOrGroup(child: DataTypeState): DataTypeState;
|
|
108
109
|
getDefaultValue(): PrimitiveValueState | null;
|
|
109
110
|
setDefaultValue(value: PrimitiveValueState): DataTypeState;
|
|
110
|
-
setEntity(entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | null): DataTypeState;
|
|
111
|
+
setEntity(entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | PrimitiveValueState | null): DataTypeState;
|
|
111
112
|
isResolved(): boolean;
|
|
112
113
|
isObject(): boolean;
|
|
113
114
|
hasStrictObjectStructure(): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPrimitiveValue, IPrimitiveValueTransfer, EntityId, EntityType, EntityVersion, PrimitiveTypes, IPrimitiveValueReference, ValueAutogenerationOptions, PrimitiveValueType, IPrimitiveValueShallowTransfer, ElementShallowTransfer, IPrimitiveValueGenerationTarget, ElementGenerationTarget, PrimitiveValueTypesUnion } from '../../../definitions';
|
|
1
|
+
import { IPrimitiveValue, IPrimitiveValueTransfer, EntityId, EntityType, EntityVersion, PrimitiveTypes, IPrimitiveValueReference, ValueAutogenerationOptions, PrimitiveValueType, IPrimitiveValueShallowTransfer, ElementShallowTransfer, IPrimitiveValueGenerationTarget, ElementGenerationTarget, PrimitiveValueTypesUnion, PrimitiveValueParentChildRelation } from '../../../definitions';
|
|
2
2
|
import { ProjectState } from '../project';
|
|
3
3
|
import { CustomEntityState } from '../custom-entity';
|
|
4
4
|
import { DataTypeState } from '../data-type';
|
|
@@ -17,6 +17,7 @@ export declare class PrimitiveValueState implements BaseState, UserManagedEntity
|
|
|
17
17
|
id: EntityId;
|
|
18
18
|
version: EntityVersion;
|
|
19
19
|
name: PrimitiveTypes;
|
|
20
|
+
parentRelationType: PrimitiveValueParentChildRelation | null;
|
|
20
21
|
autogeneration: ValueAutogenerationOptions | null;
|
|
21
22
|
value: PrimitiveValueType;
|
|
22
23
|
valueAsType: ValueAsTypeState | ValueAsTypeState[] | null;
|
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.6086",
|
|
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",
|