@elyx-code/project-logic-tree 0.0.6163 → 0.0.6164
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.
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ActionDescriptorState } from '../action-descriptor';
|
|
2
|
+
import { ArgumentDeclarationState } from '../argument-declaration';
|
|
3
|
+
import { BreakStatementState } from '../break-statement';
|
|
4
|
+
import { BuiltInBaseEntityState } from '../built-in-base-entity';
|
|
5
|
+
import { ConditionState } from '../condition';
|
|
6
|
+
import { ContinueStatementState } from '../continue-statement';
|
|
7
|
+
import { DataTypeState } from '../data-type';
|
|
8
|
+
import { DefinitionEntityState } from '../definition-entity';
|
|
9
|
+
import { FunctionCallState } from '../function-call';
|
|
10
|
+
import { FunctionDeclarationState } from '../function-declaration';
|
|
11
|
+
import { GlobalEventState } from '../global-event';
|
|
12
|
+
import { InputMapState } from '../input-map';
|
|
13
|
+
import { InstalledProjectState } from '../installed-project';
|
|
14
|
+
import { InternalCallState } from '../internal-call';
|
|
15
|
+
import { LiteralValueState } from '../literal-value';
|
|
16
|
+
import { LoopState } from '../loop';
|
|
17
|
+
import { OperationState } from '../operation';
|
|
18
|
+
import { OutputMapState } from '../output-map';
|
|
19
|
+
import { PrimitiveEntityState } from '../primitive-entity';
|
|
20
|
+
import { ProjectState } from '../project';
|
|
21
|
+
import { PropertyState } from '../property';
|
|
22
|
+
import { ReturnDeclarationState } from '../return-declaration';
|
|
23
|
+
import { ReturnStatementState } from '../return-statement';
|
|
24
|
+
import { SearchState } from '../search';
|
|
25
|
+
import { ValueDescriptorState } from '../value-descriptor';
|
|
26
|
+
import { VariableDeclarationState } from '../variable-declaration';
|
|
27
|
+
import { VariableInstanceState } from '../variable-instance';
|
|
28
|
+
|
|
29
|
+
export type UserManagedEntityStateConstructor = typeof ProjectState | typeof InstalledProjectState | typeof DefinitionEntityState | typeof FunctionDeclarationState | typeof GlobalEventState | typeof VariableInstanceState | typeof VariableDeclarationState | typeof InputMapState | typeof OutputMapState | typeof ConditionState | typeof OperationState | typeof FunctionCallState | typeof ReturnDeclarationState | typeof ArgumentDeclarationState | typeof DataTypeState | typeof PropertyState | typeof ActionDescriptorState | typeof ReturnStatementState | typeof ContinueStatementState | typeof BreakStatementState | typeof LoopState | typeof SearchState | typeof ValueDescriptorState | typeof InternalCallState | typeof LiteralValueState;
|
|
30
|
+
export type BuiltInSystemEntityStateConstructor = typeof BuiltInBaseEntityState | typeof PrimitiveEntityState;
|
|
31
|
+
export type EntityStateConstructor = UserManagedEntityStateConstructor | BuiltInSystemEntityStateConstructor;
|
|
@@ -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,
|
|
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';
|
|
3
3
|
import { FunctionCallState } from '../state/function-call';
|
|
4
4
|
import { InputMapState } from '../state/input-map';
|
|
5
5
|
import { VariableDeclarationState } from '../state/variable-declaration';
|
|
@@ -8,7 +8,6 @@ import { ReturnDeclarationState } from '../state/return-declaration';
|
|
|
8
8
|
import { OutputMapState } from '../state/output-map';
|
|
9
9
|
import { ConditionState } from '../state/condition';
|
|
10
10
|
import { ReturnStatementState } from '../state/return-statement';
|
|
11
|
-
import { GlobalEventState } from '../state/global-event';
|
|
12
11
|
import { FunctionDeclarationState } from '../state/function-declaration';
|
|
13
12
|
import { ProjectState } from '../state/project/project';
|
|
14
13
|
import { PropertyState } from '../state/property';
|
|
@@ -17,6 +16,7 @@ import { DefinitionEntityState } from '../state/definition-entity';
|
|
|
17
16
|
import { VariableInstanceState } from '../state/variable-instance';
|
|
18
17
|
import { LoopState } from '../state/loop';
|
|
19
18
|
import { SearchState } from '../state/search';
|
|
19
|
+
import { EntityStateConstructor } from '../state/types/constructors';
|
|
20
20
|
|
|
21
21
|
export * from './data-type';
|
|
22
22
|
export * from './traverser';
|
|
@@ -273,7 +273,7 @@ export declare function resolvePrimaryKeyProperty(entity: DefinitionEntityState)
|
|
|
273
273
|
export declare function getColumnProperties(entity: DefinitionEntityState): PropertyState[];
|
|
274
274
|
export declare function getDatabaseEntity(entity: DefinitionEntityState): DefinitionEntityState | null;
|
|
275
275
|
export declare function resolveClonedEntityProject(newParent: EntityState | null, self: EntityState): ProjectState;
|
|
276
|
-
export declare function getStateClassFromType(entityType: EntityType):
|
|
276
|
+
export declare function getStateClassFromType(entityType: EntityType): EntityStateConstructor | null;
|
|
277
277
|
export declare function fromChangeSetToRecordChangeSet<TSelf extends {
|
|
278
278
|
id: string;
|
|
279
279
|
type: EntityType;
|
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.6164",
|
|
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",
|