@elyx-code/project-logic-tree 0.0.6184 → 0.0.6186

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.
@@ -63,6 +63,7 @@ export declare class ChangeSet {
63
63
  get listAdded(): UserManagedEntityState[];
64
64
  get listUpdated(): UserManagedEntityState[];
65
65
  get listRemoved(): UserManagedEntityState[];
66
+ get listAffected(): UserManagedEntityState[];
66
67
  get addedIds(): EntityId[];
67
68
  get updatedIds(): EntityId[];
68
69
  get removedIds(): EntityId[];
@@ -134,8 +134,8 @@ export declare class FunctionDeclarationState extends VersionedState implements
134
134
  clone(changeSet?: ChangeSet | null, parent?: InstalledProjectState | ProjectState | DefinitionEntityState | LoopState | null, newId?: string | null, subscribe?: boolean, cloneBody?: boolean): FunctionDeclarationState;
135
135
  getVariableInstances(): VariableInstanceState[];
136
136
  getArgument(id: EntityId): ArgumentDeclarationState | null;
137
- createCall(parent?: EntityWithLogicScopeState | ProjectState, overrides?: Partial<IFunctionCallTransfer>): FunctionCallState;
138
- createInternalCall(parent: VariableState, overrides?: Partial<IInternalCallTransfer>): InternalCallState;
137
+ createCall(changeSet?: ChangeSet | null, parent?: EntityWithLogicScopeState | ProjectState, overrides?: Partial<IFunctionCallTransfer>): FunctionCallState;
138
+ createInternalCall(changeSet: (ChangeSet | null) | undefined, parent: VariableState, overrides?: Partial<IInternalCallTransfer>): InternalCallState;
139
139
  addReturnStatement(statement: ReturnStatementState): FunctionDeclarationState;
140
140
  removeReturnStatement(statement: ReturnStatementState): FunctionDeclarationState;
141
141
  getUniqueReturnDeclarations(): ReturnDeclarationState[];
@@ -1,5 +1,5 @@
1
1
  import { BaseEntityNames, ElementGenerationTarget, ElementShallowTransfer, ElementTransfer, EntityType, Element, IGenericReference, EntityId, ValueReadingEntityTypesUnion, ValueReadingEntity, IActionDescriptor, IActionDescriptorTransfer, IArgumentDeclaration, IArgumentDeclarationTransfer, DraggableElement, Reference, IBreakStatement, IBreakStatementTransfer, IBuiltInBaseEntity, IBuiltInBaseEntityTransfer, ICondition, IConditionTransfer, IContinueStatement, IContinueStatementTransfer, CallableEntity, CallableEntityTransfer, CallerEntity, CallerEntityTransfer, IDefinitionEntity, IDefinitionEntityTransfer, IDataType, IDataTypeTransfer, IFunctionCall, IFunctionCallTransfer, IFunctionDeclaration, IFunctionDeclarationTransfer, IGlobalEvent, IGlobalEventTransfer, IInputMap, IInputMapTransfer, IInstalledProject, IInstalledProjectTransfer, IInternalCall, IInternalCallTransfer, ILiteralValue, ILiteralValueTransfer, ILoop, ILoopTransfer, IOperation, IOperationTransfer, IOutputMap, IOutputMapTransfer, IPrimitiveEntity, IPrimitiveEntityTransfer, IProject, IProjectTransfer, IProperty, IPropertyTransfer, IReturnDeclaration, IReturnDeclarationTransfer, IReturnStatement, IReturnStatementTransfer, ISearch, ISearchTransfer, IValueDescriptor, IValueDescriptorTransfer, IVariableDeclarationTransfer, IVariableDeclaration, IVariableInstance, IVariableInstanceTransfer, DraggableElementTransfer, ValueReadingEntityTransfer, IActionDescriptorShallowTransfer, IDataTypeShallowTransfer, IDefinitionEntityShallowTransfer, IFunctionDeclarationShallowTransfer, IInstalledProjectShallowTransfer, ILoopShallowTransfer, IOperationShallowTransfer, ILiteralValueShallowTransfer, IPrimitiveEntityShallowTransfer, IProjectShallowTransfer, IPropertyShallowTransfer, IReturnDeclarationShallowTransfer, IReturnStatementShallowTransfer, ISearchShallowTransfer, IValueDescriptorShallowTransfer, IVariableDeclarationShallowTransfer, IVariableInstanceShallowTransfer, IFunctionCallShallowTransfer, IGlobalEventShallowTransfer, IInputMapShallowTransfer, IInternalCallShallowTransfer, CallableEntityShallowTransfer, IOutputMapShallowTransfer, IConditionShallowTransfer, IContinueStatementShallowTransfer, IBreakStatementShallowTransfer, IArgumentDeclarationShallowTransfer, IBuiltInBaseEntityShallowTransfer, DraggableElementShallowTransfer } from '../../definitions';
2
- import { DraggableCallableEntityState, CanvasEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, DraggableExecutableEntityState, DraggablePassThroughCallableEntityState, ValueReadingEntityState, ValueWritingEntityState, EntityWithValueState, VariableState, BuiltInBaseEntityState, TerminationState, InstalledProjectState, ExecutableEntityState, ValueDescriptorState, CallableEntityState, CallerEntityState, PassThroughCallableEntityState, PrimitiveEntityState, InternalCallState, IChangeSet, IRecordChangeSet } from '../state';
2
+ import { DraggableCallableEntityState, CanvasEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, DraggableExecutableEntityState, DraggablePassThroughCallableEntityState, ValueReadingEntityState, ValueWritingEntityState, EntityWithValueState, VariableState, BuiltInBaseEntityState, TerminationState, InstalledProjectState, ExecutableEntityState, ValueDescriptorState, CallableEntityState, CallerEntityState, PassThroughCallableEntityState, PrimitiveEntityState, InternalCallState, IChangeSet, IRecordChangeSet, ChangeSet } from '../state';
3
3
  import { FunctionCallState } from '../state/function-call';
4
4
  import { InputMapState } from '../state/input-map';
5
5
  import { VariableDeclarationState } from '../state/variable-declaration';
@@ -283,3 +283,4 @@ export declare function fromChangeSetToRecordChangeSet<TSelf extends {
283
283
  } = EntityState>(changeSet: IChangeSet<TSelf, TGeneric>): IRecordChangeSet<TSelf, TGeneric>;
284
284
  export declare function checkHasMetadataChanged(currentMetadata: EntityState, newMetadata: Partial<Element | ElementTransfer | ElementShallowTransfer>): boolean;
285
285
  export declare function getRecusriveParentsIds(entity: Element | ElementTransfer | ElementShallowTransfer | EntityState, allKnownEntities?: Record<EntityId, Element | ElementTransfer | ElementShallowTransfer | EntityState>): EntityId[];
286
+ export declare function getTouchedCanvasEntitiesFromChangeSet(changeSet: ChangeSet): CanvasEntityState[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6184",
3
+ "version": "0.0.6186",
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",