@elyx-code/project-logic-tree 0.0.6164 → 0.0.6166
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 +12505 -12040
- package/dist/index.umd.cjs +197 -197
- package/dist/tree/built-in/operations/definition-entity/validate-data.d.ts +1 -1
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +1 -1
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +2 -2
- package/dist/tree/state/base.d.ts +1 -1
- package/dist/tree/state/break-statement/break-statement.d.ts +1 -1
- package/dist/tree/state/condition/condition.d.ts +1 -1
- package/dist/tree/state/continue-statement/continue-statement.d.ts +1 -1
- package/dist/tree/state/data-type/data-type.d.ts +2 -2
- package/dist/tree/state/definition-entity/definition-entity.d.ts +1 -1
- package/dist/tree/state/function-call/function-call.d.ts +1 -1
- package/dist/tree/state/function-declaration/function-declaration.d.ts +1 -1
- package/dist/tree/state/global-event/global-event.d.ts +1 -1
- package/dist/tree/state/input-map/input-map.d.ts +2 -2
- package/dist/tree/state/installed-project/installed-project.d.ts +1 -1
- package/dist/tree/state/internal-call/internal-call.d.ts +1 -1
- package/dist/tree/state/literal-value/literal-value.d.ts +1 -1
- package/dist/tree/state/loop/loop.d.ts +1 -1
- package/dist/tree/state/operation/operation.d.ts +1 -1
- package/dist/tree/state/output-map/output-map.d.ts +2 -2
- package/dist/tree/state/property/property.d.ts +2 -2
- package/dist/tree/state/return-declaration/return-declaration.d.ts +4 -4
- package/dist/tree/state/return-statement/return-statement.d.ts +1 -1
- package/dist/tree/state/search/search.d.ts +1 -1
- package/dist/tree/state/store.d.ts +6 -2
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +2 -2
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +2 -2
- package/dist/tree/state/variable-instance/variable-instance.d.ts +2 -2
- package/dist/tree/utils/data-type.d.ts +10 -10
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export declare class ValidateDataOperation extends ActionDescriptorState {
|
|
|
6
6
|
getEntityToMatchInputMap(operation: OperationState): InputMapState | null;
|
|
7
7
|
getDataToValidateInputMap(operation: OperationState): InputMapState | null;
|
|
8
8
|
getOutputDataOutputMap(operation: OperationState): OutputMapState | null;
|
|
9
|
-
getEntityToMatch(entityToMatchInputMap: InputMapState): DefinitionEntityState | null;
|
|
9
|
+
getEntityToMatch(entityToMatchInputMap: InputMapState, changeSet?: ChangeSet | null): DefinitionEntityState | null;
|
|
10
10
|
syncOperationInstance(operation: OperationState, changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
11
11
|
syncEntityToMatchInputMapDataType(inputMap: InputMapState, changeSet?: ChangeSet | null): IChangeSet<DataTypeState | null>;
|
|
12
12
|
syncDataToValidateInputMapDataType(inputMap: InputMapState, changeSet?: ChangeSet | null): IChangeSet<DataTypeState | null>;
|
|
@@ -132,7 +132,7 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
132
132
|
};
|
|
133
133
|
getErrors(): EntityError[];
|
|
134
134
|
getShallowErrors(): EntityError[];
|
|
135
|
-
clone(parent?: DefinitionEntityState | PrimitiveEntityState | BuiltInBaseEntityState | DataTypeState | null, newId?: string | null, subscribe?: boolean): ActionDescriptorState;
|
|
135
|
+
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | PrimitiveEntityState | BuiltInBaseEntityState | DataTypeState | null, newId?: string | null, subscribe?: boolean): ActionDescriptorState;
|
|
136
136
|
addInput(argument: ValueDescriptorState): ActionDescriptorState;
|
|
137
137
|
removeInput(argument: ValueDescriptorState): ActionDescriptorState;
|
|
138
138
|
addOutput(output: ValueDescriptorState): ActionDescriptorState;
|
|
@@ -118,8 +118,8 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
118
118
|
getShallowErrors(): EntityError[];
|
|
119
119
|
getDefaultValue(): LiteralValueState | null;
|
|
120
120
|
setDefaultValue(defaultValue: LiteralValueState): ArgumentDeclarationState;
|
|
121
|
-
clone(parent?: EntryPointEntityState | null, newId?: string | null, subscribe?: boolean): ArgumentDeclarationState;
|
|
122
|
-
getDataType(): DataTypeState | null;
|
|
121
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | null, newId?: string | null, subscribe?: boolean): ArgumentDeclarationState;
|
|
122
|
+
getDataType(_changeSet?: ChangeSet | null): DataTypeState | null;
|
|
123
123
|
setDataType(dataType: DataTypeState): ArgumentDeclarationState;
|
|
124
124
|
removeDataType(): ArgumentDeclarationState;
|
|
125
125
|
}
|
|
@@ -85,7 +85,7 @@ export declare abstract class UserManagedEntityStateTemplate {
|
|
|
85
85
|
self: EntityState;
|
|
86
86
|
};
|
|
87
87
|
abstract toJSONClone(options?: IEntityJSONCloneOptions): ElementTransfer | Reference;
|
|
88
|
-
abstract clone(parent?: EntityState | null, newId?: string | null, subscribe?: boolean): SharedStateFunctionality;
|
|
88
|
+
abstract clone(changeSet: ChangeSet | null, parent?: EntityState | null, newId?: string | null, subscribe?: boolean): SharedStateFunctionality;
|
|
89
89
|
abstract subscribeDependents(dependencies: {
|
|
90
90
|
entity: UserManagedEntityState;
|
|
91
91
|
field: string;
|
|
@@ -116,6 +116,6 @@ export declare class BreakStatementState extends VersionedState implements IBrea
|
|
|
116
116
|
};
|
|
117
117
|
getErrors(): EntityError[];
|
|
118
118
|
getShallowErrors(): EntityError[];
|
|
119
|
-
clone(parent?: LoopState | null, newId?: string | null, subscribe?: boolean): BreakStatementState;
|
|
119
|
+
clone(changeSet?: ChangeSet | null, parent?: LoopState | null, newId?: string | null, subscribe?: boolean): BreakStatementState;
|
|
120
120
|
}
|
|
121
121
|
export type BreakStatementPayloadUnion = BreakStatementState | BreakStatementTypesUnion;
|
|
@@ -124,7 +124,7 @@ export declare class ConditionState extends VersionedState implements ICondition
|
|
|
124
124
|
};
|
|
125
125
|
getErrors(): EntityError[];
|
|
126
126
|
getShallowErrors(): EntityError[];
|
|
127
|
-
clone(parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): ConditionState;
|
|
127
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): ConditionState;
|
|
128
128
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
129
129
|
syncMissingFixedInputs(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
130
130
|
}
|
|
@@ -116,6 +116,6 @@ export declare class ContinueStatementState extends VersionedState implements IC
|
|
|
116
116
|
};
|
|
117
117
|
getErrors(): EntityError[];
|
|
118
118
|
getShallowErrors(): EntityError[];
|
|
119
|
-
clone(parent?: LoopState | null, newId?: string | null, subscribe?: boolean): ContinueStatementState;
|
|
119
|
+
clone(changeSet?: ChangeSet | null, parent?: LoopState | null, newId?: string | null, subscribe?: boolean): ContinueStatementState;
|
|
120
120
|
}
|
|
121
121
|
export type ContinueStatementPayloadUnion = ContinueStatementState | ContinueStatementTypesUnion;
|
|
@@ -125,8 +125,8 @@ export declare class DataTypeState extends VersionedState implements IDataType,
|
|
|
125
125
|
};
|
|
126
126
|
getErrors(): EntityError[];
|
|
127
127
|
getShallowErrors(): EntityError[];
|
|
128
|
-
clone(parent?: PropertyState | VariableDeclarationState | ArgumentDeclarationState | ReturnDeclarationState | ValueDescriptorState | InputMapState | OutputMapState | DataTypeState | null, newId?: string | null, subscribe?: boolean): DataTypeState;
|
|
129
|
-
merge(sourceEntity: DataTypeState): IChangeSet<DataTypeState>;
|
|
128
|
+
clone(changeSet?: ChangeSet | null, parent?: PropertyState | VariableDeclarationState | ArgumentDeclarationState | ReturnDeclarationState | ValueDescriptorState | InputMapState | OutputMapState | DataTypeState | null, newId?: string | null, subscribe?: boolean): DataTypeState;
|
|
129
|
+
merge(sourceEntity: DataTypeState, changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
130
130
|
addToAndGroup(child: DataTypeState): DataTypeState;
|
|
131
131
|
addToOrGroup(child: DataTypeState): DataTypeState;
|
|
132
132
|
setEntity(entity: DefinitionEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | LiteralValueState | null): DataTypeState;
|
|
@@ -141,7 +141,7 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
|
|
|
141
141
|
};
|
|
142
142
|
getErrors(): EntityError[];
|
|
143
143
|
getShallowErrors(): EntityError[];
|
|
144
|
-
clone(parent?: ProjectState | DataTypeState | null, newId?: string | null, subscribe?: boolean): DefinitionEntityState;
|
|
144
|
+
clone(changeSet?: ChangeSet | null, parent?: ProjectState | DataTypeState | null, newId?: string | null, subscribe?: boolean): DefinitionEntityState;
|
|
145
145
|
getFunctionDeclaration(id: EntityId): FunctionDeclarationState | undefined;
|
|
146
146
|
implement(newEntityName: string, changeSet?: ChangeSet | null, newId?: string): {
|
|
147
147
|
errors: [];
|
|
@@ -130,7 +130,7 @@ export declare class FunctionCallState extends VersionedState implements IFuncti
|
|
|
130
130
|
};
|
|
131
131
|
getErrors(): EntityError[];
|
|
132
132
|
getShallowErrors(): EntityError[];
|
|
133
|
-
clone(parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): FunctionCallState;
|
|
133
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): FunctionCallState;
|
|
134
134
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
135
135
|
removeUnrecognizedOutputs(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
136
136
|
syncMissingFixedInputs(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
@@ -131,7 +131,7 @@ export declare class FunctionDeclarationState extends VersionedState implements
|
|
|
131
131
|
};
|
|
132
132
|
getErrors(): EntityError[];
|
|
133
133
|
getShallowErrors(): EntityError[];
|
|
134
|
-
clone(parent?: InstalledProjectState | ProjectState | DefinitionEntityState | LoopState | null, newId?: string | null, subscribe?: boolean, cloneBody?: boolean): FunctionDeclarationState;
|
|
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
137
|
createCall(parent?: EntityWithLogicScopeState | ProjectState, overrides?: Partial<IFunctionCallTransfer>): FunctionCallState;
|
|
@@ -118,7 +118,7 @@ export declare class GlobalEventState extends VersionedState implements IGlobalE
|
|
|
118
118
|
};
|
|
119
119
|
getErrors(): EntityError[];
|
|
120
120
|
getShallowErrors(): EntityError[];
|
|
121
|
-
clone(parent?: InstalledProjectState | ProjectState | null, newId?: string | null, subscribe?: boolean, cloneBody?: boolean): GlobalEventState;
|
|
121
|
+
clone(changeSet?: ChangeSet | null, parent?: InstalledProjectState | ProjectState | null, newId?: string | null, subscribe?: boolean, cloneBody?: boolean): GlobalEventState;
|
|
122
122
|
getVariableInstances(): VariableInstanceState[];
|
|
123
123
|
addReturnStatement(statement: ReturnStatementState): GlobalEventState;
|
|
124
124
|
removeReturnStatement(statement: ReturnStatementState): GlobalEventState;
|
|
@@ -128,8 +128,8 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
128
128
|
getShallowErrors(): EntityError[];
|
|
129
129
|
getDefaultValue(): LiteralValueState | null;
|
|
130
130
|
setDefaultValue(value: LiteralValueState): InputMapState;
|
|
131
|
-
clone(parent?: PassThroughCallableEntityState | null, newId?: string | null, subscribe?: boolean): InputMapState;
|
|
132
|
-
getDataType(): DataTypeState | null;
|
|
131
|
+
clone(changeSet?: ChangeSet | null, parent?: PassThroughCallableEntityState | null, newId?: string | null, subscribe?: boolean): InputMapState;
|
|
132
|
+
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
133
133
|
}
|
|
134
134
|
export declare class VariableInputMapState extends InputMapState implements IVariableInputMap {
|
|
135
135
|
declaration: PropertyState | null;
|
|
@@ -105,6 +105,6 @@ export declare class InstalledProjectState extends VersionedState implements IIn
|
|
|
105
105
|
};
|
|
106
106
|
getErrors(): EntityError[];
|
|
107
107
|
getShallowErrors(): EntityError[];
|
|
108
|
-
clone(parent?: ProjectState | null, newId?: string | null, subscribe?: boolean): InstalledProjectState;
|
|
108
|
+
clone(changeSet?: ChangeSet | null, parent?: ProjectState | null, newId?: string | null, subscribe?: boolean): InstalledProjectState;
|
|
109
109
|
}
|
|
110
110
|
export type InstalledProjectPayloadUnion = InstalledProjectState | InstalledProjectTypesUnion;
|
|
@@ -129,7 +129,7 @@ export declare class InternalCallState extends VersionedState implements IIntern
|
|
|
129
129
|
};
|
|
130
130
|
getErrors(): EntityError[];
|
|
131
131
|
getShallowErrors(): EntityError[];
|
|
132
|
-
clone(parent?: VariableState | null, newId?: string | null, subscribe?: boolean): InternalCallState;
|
|
132
|
+
clone(changeSet?: ChangeSet | null, parent?: VariableState | null, newId?: string | null, subscribe?: boolean): InternalCallState;
|
|
133
133
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
134
134
|
removeUnrecognizedOutputs(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
135
135
|
syncMissingFixedInputs(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
@@ -123,7 +123,7 @@ export declare class LiteralValueState extends VersionedState implements BaseSta
|
|
|
123
123
|
};
|
|
124
124
|
getErrors(): EntityError[];
|
|
125
125
|
getShallowErrors(): EntityError[];
|
|
126
|
-
clone(parent?: DataTypeState | InputMapState | PropertyState | ArgumentDeclarationState | ReturnDeclarationState | VariableDeclarationState | VariableInstanceState | ValueDescriptorState | OutputMapState | null, newId?: string | null, subscribe?: boolean): LiteralValueState;
|
|
126
|
+
clone(changeSet?: ChangeSet | null, parent?: DataTypeState | InputMapState | PropertyState | ArgumentDeclarationState | ReturnDeclarationState | VariableDeclarationState | VariableInstanceState | ValueDescriptorState | OutputMapState | null, newId?: string | null, subscribe?: boolean): LiteralValueState;
|
|
127
127
|
merge(sourceEntity: LiteralValueState): IChangeSet<LiteralValueState>;
|
|
128
128
|
}
|
|
129
129
|
export type LiteralValuePayloadUnion = LiteralValueState | LiteralValueTypesUnion;
|
|
@@ -155,7 +155,7 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
155
155
|
};
|
|
156
156
|
getErrors(): EntityError[];
|
|
157
157
|
getShallowErrors(): EntityError[];
|
|
158
|
-
clone(parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): LoopState;
|
|
158
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): LoopState;
|
|
159
159
|
getVariableInstances(): VariableInstanceState[];
|
|
160
160
|
addReturnStatement(statement: ReturnStatementState): LoopState;
|
|
161
161
|
removeReturnStatement(statement: ReturnStatementState): LoopState;
|
|
@@ -129,7 +129,7 @@ export declare class OperationState extends VersionedState implements IOperation
|
|
|
129
129
|
};
|
|
130
130
|
getErrors(): EntityError[];
|
|
131
131
|
getShallowErrors(): EntityError[];
|
|
132
|
-
clone(parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): OperationState;
|
|
132
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): OperationState;
|
|
133
133
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
134
134
|
removeUnrecognizedOutputs(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
135
135
|
syncMissingFixedInputs(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
@@ -121,8 +121,8 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
|
|
|
121
121
|
getShallowErrors(): EntityError[];
|
|
122
122
|
getDefaultValue(): LiteralValueState | null;
|
|
123
123
|
setDefaultValue(defaultValue: LiteralValueState): OutputMapState;
|
|
124
|
-
clone(parent?: PassThroughCallableEntityWithOutputsState | null, newId?: string | null, subscribe?: boolean): OutputMapState;
|
|
125
|
-
getDataType(): DataTypeState | null;
|
|
124
|
+
clone(changeSet?: ChangeSet | null, parent?: PassThroughCallableEntityWithOutputsState | null, newId?: string | null, subscribe?: boolean): OutputMapState;
|
|
125
|
+
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
126
126
|
}
|
|
127
127
|
export declare class VariableOutputMapState extends OutputMapState implements IVariableOutputMap {
|
|
128
128
|
declaration: PropertyState;
|
|
@@ -120,10 +120,10 @@ export declare class PropertyState extends VersionedState implements IProperty,
|
|
|
120
120
|
};
|
|
121
121
|
getErrors(): EntityError[];
|
|
122
122
|
getShallowErrors(): EntityError[];
|
|
123
|
-
clone(parent?: DefinitionEntityState | null, newId?: string | null, subscribe?: boolean): PropertyState;
|
|
123
|
+
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | null, newId?: string | null, subscribe?: boolean): PropertyState;
|
|
124
124
|
setDataType(dataType: DataTypeState): PropertyState;
|
|
125
125
|
removeDataType(): PropertyState;
|
|
126
|
-
getDataType(): DataTypeState | null;
|
|
126
|
+
getDataType(_changeSet?: ChangeSet | null): DataTypeState | null;
|
|
127
127
|
getDefaultValue(): LiteralValueState | null;
|
|
128
128
|
setDefaultValue(value: LiteralValueState): PropertyState;
|
|
129
129
|
}
|
|
@@ -123,12 +123,12 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
123
123
|
getShallowErrors(): EntityError[];
|
|
124
124
|
getDefaultValue(): LiteralValueState | null;
|
|
125
125
|
setDefaultValue(defaultValue: LiteralValueState): ReturnDeclarationState;
|
|
126
|
-
clone(parent?: ReturnStatementState | BreakStatementState | ContinueStatementState | null, newId?: string | null, subscribe?: boolean): ReturnDeclarationState;
|
|
126
|
+
clone(changeSet?: ChangeSet | null, parent?: ReturnStatementState | BreakStatementState | ContinueStatementState | null, newId?: string | null, subscribe?: boolean): ReturnDeclarationState;
|
|
127
127
|
setDataType(dataType: DataTypeState | null): ReturnDeclarationState;
|
|
128
128
|
removeDataType(): ReturnDeclarationState;
|
|
129
|
-
inferDataType(): ReturnDeclarationState;
|
|
129
|
+
inferDataType(changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
130
130
|
getCounterparts(): ReturnDeclarationState[];
|
|
131
|
-
inferDataTypeFromCounterparts(): ReturnDeclarationState;
|
|
132
|
-
getDataType(): DataTypeState | null;
|
|
131
|
+
inferDataTypeFromCounterparts(changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
132
|
+
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
133
133
|
}
|
|
134
134
|
export type ReturnDeclarationPayloadUnion = ReturnDeclarationState | ReturnDeclarationTypesUnion;
|
|
@@ -115,6 +115,6 @@ export declare class ReturnStatementState extends VersionedState implements IRet
|
|
|
115
115
|
};
|
|
116
116
|
getErrors(): EntityError[];
|
|
117
117
|
getShallowErrors(): EntityError[];
|
|
118
|
-
clone(parent?: EntityWithLogicScopeState | null, newId?: string | null, subscribe?: boolean): ReturnStatementState;
|
|
118
|
+
clone(changeSet?: ChangeSet | null, parent?: EntityWithLogicScopeState | null, newId?: string | null, subscribe?: boolean): ReturnStatementState;
|
|
119
119
|
}
|
|
120
120
|
export type ReturnStatementPayloadUnion = ReturnStatementState | ReturnStatementTypesUnion;
|
|
@@ -134,7 +134,7 @@ export declare class SearchState extends VersionedState implements ISearch, Base
|
|
|
134
134
|
};
|
|
135
135
|
getErrors(): EntityError[];
|
|
136
136
|
getShallowErrors(): EntityError[];
|
|
137
|
-
clone(parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): SearchState;
|
|
137
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): SearchState;
|
|
138
138
|
syncInputMaps(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
139
139
|
}
|
|
140
140
|
export type SearchPayloadUnion = SearchState | SearchTypesUnion;
|
|
@@ -8,8 +8,12 @@ export interface IGetProjectOptions {
|
|
|
8
8
|
empty?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare function initBaseProjectEntity(data: IProjectTransfer): ProjectState;
|
|
11
|
-
export declare function cloneProject(project: ProjectState
|
|
12
|
-
|
|
11
|
+
export declare function cloneProject(project: ProjectState, { enrich, }?: {
|
|
12
|
+
enrich: boolean;
|
|
13
|
+
}): ProjectState;
|
|
14
|
+
export declare function initProject(data: IProjectTransfer, { enrich, }?: {
|
|
15
|
+
enrich: boolean;
|
|
16
|
+
}): ProjectState;
|
|
13
17
|
export declare function getProject(where: {
|
|
14
18
|
id: string;
|
|
15
19
|
}, options?: IGetProjectOptions): Promise<ProjectState | null>;
|
|
@@ -111,8 +111,8 @@ export declare class ValueDescriptorState extends VersionedState implements IVal
|
|
|
111
111
|
};
|
|
112
112
|
getErrors(): EntityError[];
|
|
113
113
|
getShallowErrors(): EntityError[];
|
|
114
|
-
clone(parent?: ActionDescriptorState | LoopState | SearchState | null, newId?: string | null, subscribe?: boolean): ValueDescriptorState;
|
|
115
|
-
getDataType(): DataTypeState | null;
|
|
114
|
+
clone(changeSet?: ChangeSet | null, parent?: ActionDescriptorState | LoopState | SearchState | null, newId?: string | null, subscribe?: boolean): ValueDescriptorState;
|
|
115
|
+
getDataType(_changeSet?: ChangeSet | null): DataTypeState | null;
|
|
116
116
|
setDataType(dataType: DataTypeState): ValueDescriptorState;
|
|
117
117
|
getDefaultValue(): LiteralValueState | null;
|
|
118
118
|
setDefaultValue(defaultValue: LiteralValueState): ValueDescriptorState;
|
|
@@ -152,7 +152,7 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
152
152
|
getShallowErrors(): EntityError[];
|
|
153
153
|
getDefaultValue(): LiteralValueState | null;
|
|
154
154
|
setDefaultValue(defaultValue: LiteralValueState): VariableDeclarationState;
|
|
155
|
-
clone(parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableDeclarationState;
|
|
155
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableDeclarationState;
|
|
156
156
|
addInternalCall(internalCall: InternalCallState): VariableDeclarationState;
|
|
157
157
|
createInstance(parent?: EntityWithLogicScopeState | ProjectState, overrides?: Partial<IVariableInstanceTransfer>): VariableInstanceState;
|
|
158
158
|
generateUnusedInputs(changeSet?: ChangeSet | null): IChangeSet<VariableDeclarationState>;
|
|
@@ -160,7 +160,7 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
160
160
|
generateUnusedInternalCalls(changeSet?: ChangeSet | null): IChangeSet<VariableDeclarationState>;
|
|
161
161
|
setDataType(dataType: DataTypeState): VariableDeclarationState;
|
|
162
162
|
removeDataType(): VariableDeclarationState;
|
|
163
|
-
getDataType(): DataTypeState | null;
|
|
163
|
+
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
164
164
|
getUnusedInputs(): VariableInputMapState[];
|
|
165
165
|
getUnusedOutputs(): VariableOutputMapState[];
|
|
166
166
|
getUsedInputs(): VariableInputMapState[];
|
|
@@ -146,13 +146,13 @@ export declare class VariableInstanceState extends VersionedState implements IVa
|
|
|
146
146
|
getShallowErrors(): EntityError[];
|
|
147
147
|
getDefaultValue(): LiteralValueState | null;
|
|
148
148
|
setDefaultValue(value: LiteralValueState): VariableInstanceState;
|
|
149
|
-
clone(parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableInstanceState;
|
|
149
|
+
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableInstanceState;
|
|
150
150
|
addInternalCall(internalCall: InternalCallState): VariableInstanceState;
|
|
151
151
|
setDeclaration(declaration: VariableDeclarationState): VariableInstanceState;
|
|
152
152
|
generateUnusedInputs(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
153
153
|
generateUnusedOutputs(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
154
154
|
generateUnusedInternalCalls(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
155
|
-
getDataType(): DataTypeState | null;
|
|
155
|
+
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
156
156
|
getUnusedInputs(): VariableInputMapState[];
|
|
157
157
|
getUnusedOutputs(): VariableOutputMapState[];
|
|
158
158
|
getUsedInputs(): VariableInputMapState[];
|
|
@@ -41,13 +41,13 @@ export interface IDataTypeIncompatibile extends IDataTypeCompatibility {
|
|
|
41
41
|
}
|
|
42
42
|
export declare function checkAreDataTypesCompatible(dataTypeA: DataTypeState | null, dataTypeB: DataTypeState | null): IDataTypeCompatible | IDataTypeIncompatibile;
|
|
43
43
|
export declare function generateExecutionDataType(entity: PropertyState | ArgumentDeclarationState | ReturnDeclarationState | VariableDeclarationState | ValueDescriptorState | DataTypeState, changeSet: ChangeSet | null): DataTypeState;
|
|
44
|
-
export declare function inferArgumentDeclarationDataType(entity: ArgumentDeclarationState): DataTypeState | null;
|
|
45
|
-
export declare function inferInputMapDataType(entity: InputMapState): DataTypeState | null;
|
|
46
|
-
export declare function inferReturnDeclarationDataType(entity: ReturnDeclarationState): DataTypeState | null;
|
|
47
|
-
export declare function inferVariableInstanceDataType(entity: VariableInstanceState): DataTypeState | null;
|
|
48
|
-
export declare function inferVariableDeclarationDataType(entity: VariableDeclarationState): DataTypeState | null;
|
|
49
|
-
export declare function inferOutputMapDataType(entity: OutputMapState): DataTypeState | null;
|
|
50
|
-
export declare function inferPropertyDataType(entity: PropertyState): DataTypeState | null;
|
|
51
|
-
export declare function inferValueDescriptorDataType(entity: ValueDescriptorState): DataTypeState | null;
|
|
52
|
-
export declare function inferDataType(entity: EntityWithValueState | PropertyState | ValueDescriptorState): DataTypeState | null;
|
|
53
|
-
export declare function resolveDataType(entity: EntityWithValueState | PropertyState | ValueDescriptorState): DataTypeState | null;
|
|
44
|
+
export declare function inferArgumentDeclarationDataType(entity: ArgumentDeclarationState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
45
|
+
export declare function inferInputMapDataType(entity: InputMapState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
46
|
+
export declare function inferReturnDeclarationDataType(entity: ReturnDeclarationState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
47
|
+
export declare function inferVariableInstanceDataType(entity: VariableInstanceState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
48
|
+
export declare function inferVariableDeclarationDataType(entity: VariableDeclarationState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
49
|
+
export declare function inferOutputMapDataType(entity: OutputMapState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
50
|
+
export declare function inferPropertyDataType(entity: PropertyState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
51
|
+
export declare function inferValueDescriptorDataType(entity: ValueDescriptorState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
52
|
+
export declare function inferDataType(entity: EntityWithValueState | PropertyState | ValueDescriptorState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
53
|
+
export declare function resolveDataType(entity: EntityWithValueState | PropertyState | ValueDescriptorState, changeSet?: ChangeSet | null): DataTypeState | null;
|
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.6166",
|
|
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",
|