refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-10-25 21:33:12 +02:00
committed by GitHub
parent adef6d7083
commit 5c9b40117a
19 changed files with 59 additions and 78 deletions

View File

@@ -25,7 +25,7 @@ import {
INodeType,
INodeTypeData,
INodeTypes,
INodeVersionedType,
IVersionedNodeType,
IRunExecutionData,
ITaskDataConnections,
IWorkflowBase,
@@ -680,7 +680,7 @@ class NodeTypesClass implements INodeTypes {
return Object.values(this.nodeTypes).map((data) => NodeHelpers.getVersionedNodeType(data.type));
}
getByName(nodeType: string): INodeType | INodeVersionedType | undefined {
getByName(nodeType: string): INodeType | IVersionedNodeType | undefined {
return this.getByNameAndVersion(nodeType);
}