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

@@ -20,7 +20,7 @@ import {
INodeTypes,
INodeTypeData,
INodeTypeDescription,
INodeVersionedType,
IVersionedNodeType,
IPinData,
IRunData,
IRunExecutionData,
@@ -313,7 +313,7 @@ export const workflowHelpers = mixins(
const nodeTypes: INodeTypes = {
nodeTypes: {},
init: async (nodeTypes?: INodeTypeData): Promise<void> => { },
getAll: (): Array<INodeType | INodeVersionedType> => {
getAll: (): Array<INodeType | IVersionedNodeType> => {
// Does not get used in Workflow so no need to return it
return [];
},