@elyx-code/project-logic-tree 0.0.6056 → 0.0.6058

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.
@@ -101,5 +101,6 @@ export declare class ConditionState implements ICondition, UserManagedEntityStat
101
101
  getErrors(): EntityError[];
102
102
  getShallowErrors(): EntityError[];
103
103
  clone(_?: EntryPointEntityState): ConditionState;
104
+ syncMissingFixedInputs(): ConditionState;
104
105
  }
105
106
  export type ConditionPayloadUnion = ConditionTypesUnion | ConditionState;
@@ -106,5 +106,7 @@ export declare class OperationState implements IOperation, BaseState, UserManage
106
106
  getErrors(): EntityError[];
107
107
  getShallowErrors(): EntityError[];
108
108
  clone(_?: EntryPointEntityState): OperationState;
109
+ syncMissingFixedInputs(): OperationState;
110
+ syncMissingFixedOutputs(): OperationState;
109
111
  }
110
112
  export type OperationPayloadUnion = OperationState | OperationTypesUnion;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
- import { EntityId } from '../../definitions';
2
- import { BuiltInBaseEntityState, CustomEntityState, EntityState, IChangeSet, PrimitiveEntityState, ProjectState } from '../state';
1
+ import { DataTypeParentChildRelation, EntityId } from '../../definitions';
2
+ import { BuiltInBaseEntityState, CustomEntityState, DataTypeState, EntityState, IChangeSet, ProjectState } from '../state';
3
3
  import { EntityGenerationError } from '../state/error';
4
4
 
5
5
  export declare function handleBeforeEntityImplementationSideEffects(self: CustomEntityState | BuiltInBaseEntityState): {
@@ -26,16 +26,14 @@ export declare function implement(self: CustomEntityState | BuiltInBaseEntitySta
26
26
  };
27
27
  };
28
28
  export declare function findEntityFromKeys(keys: string[], project: ProjectState): CustomEntityState | null;
29
- export declare function generateDataTypeEntityFromLiteralValue(value: any, project: ProjectState, newCustomEntityMetadata: {
29
+ export declare function createNestedDataTypeForEntity(entity: CustomEntityState, parentDataType: DataTypeState, parentRelationType?: DataTypeParentChildRelation): IChangeSet<DataTypeState>;
30
+ export declare function resolveDataTypeEntityOrNestedChildrenFromLiteralValue(value: any, parentDataType: DataTypeState, newCustomEntityMetadata: {
30
31
  id?: EntityId;
31
32
  name: string;
32
33
  description?: string;
33
34
  static?: boolean;
34
35
  abstract?: boolean;
35
- }, rootEntityCreated: CustomEntityState): {
36
- entities: (PrimitiveEntityState | CustomEntityState | null)[];
37
- changeSet: IChangeSet<null>;
38
- };
36
+ }, rootEntityCreated: CustomEntityState): IChangeSet<DataTypeState>;
39
37
  export declare function createCustomEntityFromJSONObject(data: {
40
38
  [key: string]: any;
41
39
  }, project: ProjectState, customEntityMetadata: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6056",
3
+ "version": "0.0.6058",
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",