@elyx-code/project-logic-tree 0.0.6090 → 0.0.6093

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.
@@ -4,7 +4,6 @@ import { BaseState, ChildEntityState, EntityWithValueClass, UserManagedEntitySta
4
4
  import { EntityState, EntryPointEntityState, IChangeSet, ValueReadingEntityState } from '../types';
5
5
  import { DataTypeState } from '../data-type';
6
6
  import { ProjectState } from '../project/project';
7
- import { SearchState } from '../search';
8
7
  import { EntityError, EntityGenerationError } from '../../state/error';
9
8
  import { PrimitiveValueState } from '../primitive-value';
10
9
  import { ValueDescriptorState } from '../value-descriptor';
@@ -23,7 +22,7 @@ export declare class ArgumentDeclarationState implements IArgumentDeclaration, U
23
22
  implements: ValueDescriptorState | null;
24
23
  project: ProjectState;
25
24
  errors: EntityError[];
26
- parent: EntryPointEntityState | SearchState;
25
+ parent: EntryPointEntityState;
27
26
  initialized: boolean;
28
27
  suggestion: boolean;
29
28
  constructor(initialArgumentDeclarationData: IArgumentDeclaration | IArgumentDeclarationTransfer, parentProjectState: ProjectState);
@@ -52,7 +51,7 @@ export declare class ArgumentDeclarationState implements IArgumentDeclaration, U
52
51
  addSelfToProject(): IChangeSet<ArgumentDeclarationState>;
53
52
  addValueReader(entity: ValueReadingEntityState): ArgumentDeclarationState;
54
53
  removeValueReader(valueReader: ValueReadingEntityState): ArgumentDeclarationState;
55
- setParent(parent: EntryPointEntityState | SearchState): ArgumentDeclarationState;
54
+ setParent(parent: EntryPointEntityState): ArgumentDeclarationState;
56
55
  setImplements(implementsEntity: ValueDescriptorState): ArgumentDeclarationState;
57
56
  initChildren(): ArgumentDeclarationState;
58
57
  subscribe(): ArgumentDeclarationState;
@@ -92,7 +91,7 @@ export declare class ArgumentDeclarationState implements IArgumentDeclaration, U
92
91
  getErrors(): EntityError[];
93
92
  getShallowErrors(): EntityError[];
94
93
  getDefaultValue(): PrimitiveValueState | null;
95
- clone(parent?: EntryPointEntityState | SearchState | null, newId?: string | null, subscribe?: boolean): ArgumentDeclarationState;
94
+ clone(parent?: EntryPointEntityState | null, newId?: string | null, subscribe?: boolean): ArgumentDeclarationState;
96
95
  getDataType(): DataTypeState | null;
97
96
  setDataType(dataType: DataTypeState): ArgumentDeclarationState;
98
97
  removeDataType(): ArgumentDeclarationState;
@@ -5,7 +5,6 @@ import { CallableEntityState, CallerEntityState, EntityState, EntityWithLogicSco
5
5
  import { ActionInputMapState } from '../input-map';
6
6
  import { ActionOutputMapState } from '../output-map';
7
7
  import { ProjectState } from '../project/project';
8
- import { ArgumentDeclarationState } from '../argument-declaration';
9
8
  import { EntityError, EntityGenerationError } from '../../state/error';
10
9
  import { ValueDescriptorState } from '../value-descriptor';
11
10
 
@@ -21,7 +20,7 @@ export declare class SearchState implements ISearch, BaseState, UserManagedEntit
21
20
  readonly type: EntityType.Search;
22
21
  successCalls: CallableEntityState[];
23
22
  errorCalls: CallableEntityState[];
24
- inputsDeclarations: ArgumentDeclarationState[];
23
+ inputsDeclarations: ValueDescriptorState[];
25
24
  inputs: ActionInputMapState[];
26
25
  outputsDeclarations: ValueDescriptorState[];
27
26
  outputs: ActionOutputMapState[];
@@ -60,8 +59,8 @@ export declare class SearchState implements ISearch, BaseState, UserManagedEntit
60
59
  get calledBy(): CallerEntityState[];
61
60
  removeInput(input: ActionInputMapState): SearchState;
62
61
  addInput(input: ActionInputMapState): SearchState;
63
- addInputDeclaration(inputDeclaration: ArgumentDeclarationState): SearchState;
64
- removeInputDeclaration(inputDeclaration: ArgumentDeclarationState): SearchState;
62
+ addInputDeclaration(inputDeclaration: ValueDescriptorState): SearchState;
63
+ removeInputDeclaration(inputDeclaration: ValueDescriptorState): SearchState;
65
64
  addOutputDeclaration(outputDeclaration: ValueDescriptorState): SearchState;
66
65
  removeOutputDeclaration(outputDeclaration: ValueDescriptorState): SearchState;
67
66
  addOutput(output: ActionOutputMapState): SearchState;
@@ -112,5 +111,6 @@ export declare class SearchState implements ISearch, BaseState, UserManagedEntit
112
111
  getErrors(): EntityError[];
113
112
  getShallowErrors(): EntityError[];
114
113
  clone(_?: EntryPointEntityState): SearchState;
114
+ syncInputMaps(): IChangeSet<SearchState>;
115
115
  }
116
116
  export type SearchPayloadUnion = SearchState | SearchTypesUnion;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6090",
3
+ "version": "0.0.6093",
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",