@elyx-code/project-logic-tree 0.0.6016 → 0.0.6017

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.
@@ -127,6 +127,8 @@ export declare class CustomEntityState implements BaseState, UserManagedEntitySt
127
127
  };
128
128
  };
129
129
  getAllInteractiveMethods(): FunctionDeclarationState[];
130
- inferFromInputs(inputs: VariableInputMapState[]): CustomEntityState;
130
+ inferFromInputs(inputs: VariableInputMapState[], { debug, }?: {
131
+ debug?: boolean;
132
+ }): CustomEntityState;
131
133
  }
132
134
  export type CustomEntityPayloadUnion = CustomEntityState | CustomEntityTypesUnion;
@@ -105,6 +105,8 @@ export declare class DataTypeState implements IDataType, UserManagedEntityStateF
105
105
  getDefaultValue(): PrimitiveValueState | null;
106
106
  setDefaultValue(value: PrimitiveValueState): DataTypeState;
107
107
  setEntity(entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState): DataTypeState;
108
- inferFromInputs(inputs: VariableInputMapState[]): DataTypeState;
108
+ inferFromInputs(inputs: VariableInputMapState[], { debug, }?: {
109
+ debug?: boolean;
110
+ }): DataTypeState;
109
111
  }
110
112
  export type DataTypePayloadUnion = DataTypeState | DataTypeTypesUnion;
@@ -105,7 +105,9 @@ export declare class InputMapState implements IInputMap, ValueReadingEntityClass
105
105
  getDefaultValue(): PrimitiveValueState | null;
106
106
  setDefaultValue(value: PrimitiveValueState): InputMapState;
107
107
  clone(_?: PassThroughCallableEntityState): InputMapState;
108
- getDataType(): DataTypeState | null;
108
+ getDataType({ debug, }?: {
109
+ debug?: boolean;
110
+ }): DataTypeState | null;
109
111
  }
110
112
  export declare class VariableInputMapState extends InputMapState implements IVariableInputMap {
111
113
  declaration: PropertyState | null;
@@ -10,6 +10,7 @@ import { VariableInputMapState } from '../input-map';
10
10
  import { EntityError, EntityGenerationError } from '../error';
11
11
  import { PrimitiveValueState } from '../primitive-value';
12
12
  import { VariableInstanceState } from '../variable-instance';
13
+ import { PropertyState } from '../property';
13
14
 
14
15
  export declare class VariableDeclarationState implements IVariableDeclaration, BaseState, UserManagedEntityStateFunctionality, ValueWritingEntityClass, ValueReadingEntityClass, BaseCanvasDraggableState, ChildEntityState, EntityWithValueClass, PassThroughCallableEntityClass, CallableEntityClass {
15
16
  initialData: IVariableDeclaration | IVariableDeclarationTransfer;
@@ -89,7 +90,11 @@ export declare class VariableDeclarationState implements IVariableDeclaration, B
89
90
  unsubscribe(): VariableDeclarationState;
90
91
  subscribeInstance(instance: VariableInstanceState): VariableDeclarationState;
91
92
  removeInstance(instance: VariableInstanceState): VariableDeclarationState;
92
- inferDataTypeAndSyncInstancesInputsAndOutputs(): VariableDeclarationState;
93
+ getMasterInputWithValueWritterFromAllInstances(input: VariableInputMapState): VariableInputMapState;
94
+ getPropertyForInputFromAllInstances(input: VariableInputMapState): PropertyState | null;
95
+ inferDataTypeAndSyncInstancesInputsAndOutputs({ debug, }?: {
96
+ debug?: boolean;
97
+ }): VariableDeclarationState;
93
98
  sync(data: Partial<IVariableDeclaration>): VariableDeclarationState;
94
99
  load(): Promise<VariableDeclarationState>;
95
100
  create(): Promise<VariableDeclarationState>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6016",
3
+ "version": "0.0.6017",
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",