@elyx-code/project-logic-tree 0.0.6185 → 0.0.6187
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.
- package/dist/index.js +151 -136
- package/dist/index.umd.cjs +6 -6
- package/dist/tree/state/change-set.d.ts +1 -0
- package/dist/tree/utils/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -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[];
|
|
@@ -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.
|
|
3
|
+
"version": "0.0.6187",
|
|
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",
|