@elyx-code/project-logic-tree 0.0.6013 → 0.0.6015

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.
@@ -6,6 +6,7 @@ import { ProjectState } from '../project/project';
6
6
  import { ActionDescriptorState } from '../action-descriptor';
7
7
  import { EntityError, EntityGenerationError } from '../error';
8
8
  import { EntityState } from '../types';
9
+ import { PrimitiveValueState } from '../primitive-value';
9
10
 
10
11
  export declare class ValueDescriptorState implements IValueDescriptor, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
11
12
  initialData: IValueDescriptor | IValueDescriptorTransfer;
@@ -87,5 +88,6 @@ export declare class ValueDescriptorState implements IValueDescriptor, UserManag
87
88
  clone(): ValueDescriptorState;
88
89
  getDataType(): DataTypeState | null;
89
90
  setDataType(dataType: DataTypeState): ValueDescriptorState;
91
+ getDefaultValue(): PrimitiveValueState | null;
90
92
  }
91
93
  export type ValueDescriptorPayloadUnion = ValueDescriptorState | ValueDescriptorTypesUnion;
@@ -88,6 +88,7 @@ export declare class VariableDeclarationState implements IVariableDeclaration, B
88
88
  subscribe(): VariableDeclarationState;
89
89
  unsubscribe(): VariableDeclarationState;
90
90
  subscribeInstance(instance: VariableInstanceState): VariableDeclarationState;
91
+ syncInputsAndOutputs(): VariableDeclarationState;
91
92
  removeInstance(instance: VariableInstanceState): VariableDeclarationState;
92
93
  sync(data: Partial<IVariableDeclaration>): VariableDeclarationState;
93
94
  load(): Promise<VariableDeclarationState>;
@@ -94,7 +94,7 @@ export declare function getHeadIfPartOfDetachedBranch(entity: CanvasEntityState,
94
94
  export declare function flattenDetachedBranch(entity: CanvasEntityState): CanvasEntityState[];
95
95
  export declare function checkIsMethod(entity: EntityState): boolean;
96
96
  export declare function mergeListOfEntities(oldErrors: EntityState[], newErrors: EntityState[]): EntityState[];
97
- export declare function getPrototypeByType(type: EntityType): typeof OutputMapState | typeof ProjectState | typeof InputMapState | typeof ConditionState | typeof OperationState | typeof InstalledProjectState | typeof SearchState | typeof ReturnDeclarationState | typeof CustomEntityState | typeof PropertyState | typeof FunctionDeclarationState | typeof FunctionCallState | typeof VariableDeclarationState | typeof VariableInstanceState | typeof ArgumentDeclarationState | typeof LoopState | typeof ReturnStatementState | typeof BuiltInBaseEntityState | null;
97
+ export declare function getPrototypeByType(type: EntityType): typeof InputMapState | typeof OutputMapState | typeof ProjectState | typeof ConditionState | typeof OperationState | typeof InstalledProjectState | typeof SearchState | typeof ReturnDeclarationState | typeof CustomEntityState | typeof PropertyState | typeof FunctionDeclarationState | typeof FunctionCallState | typeof VariableDeclarationState | typeof VariableInstanceState | typeof ArgumentDeclarationState | typeof LoopState | typeof ReturnStatementState | typeof BuiltInBaseEntityState | null;
98
98
  export declare function getScopeOwner(entity: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): EntityWithLogicScopeState | ProjectState | null;
99
99
  export declare function getRootEntryPointScopeOwner(entity: EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): EntityWithLogicScopeState | null;
100
100
  export declare function checkIsNestedScope(parent: EntityWithLogicScopeState | ProjectState, child: EntityWithLogicScopeState | ProjectState, project: ProjectState): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6013",
3
+ "version": "0.0.6015",
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",