From 2e709b15287a41392b2bddd3dc6a6d60c67982f3 Mon Sep 17 00:00:00 2001 From: TheTrigger Date: Wed, 1 Oct 2025 11:28:23 +0200 Subject: [PATCH] fix: correct NodeConnectionType import to NodeConnectionTypes --- nodes/ExampleNode/ExampleNode.node.ts | 6 +++--- nodes/HttpBin/HttpBin.node.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nodes/ExampleNode/ExampleNode.node.ts b/nodes/ExampleNode/ExampleNode.node.ts index 1e0c9f6..7b90503 100644 --- a/nodes/ExampleNode/ExampleNode.node.ts +++ b/nodes/ExampleNode/ExampleNode.node.ts @@ -4,7 +4,7 @@ import type { INodeType, INodeTypeDescription, } from 'n8n-workflow'; -import { NodeConnectionType, NodeOperationError } from 'n8n-workflow'; +import { NodeConnectionTypes, NodeOperationError } from 'n8n-workflow'; export class ExampleNode implements INodeType { description: INodeTypeDescription = { @@ -16,8 +16,8 @@ export class ExampleNode implements INodeType { defaults: { name: 'Example Node', }, - inputs: [NodeConnectionType.Main], - outputs: [NodeConnectionType.Main], + inputs: [NodeConnectionTypes.Main], + outputs: [NodeConnectionTypes.Main], usableAsTool: true, properties: [ // Node properties which the user gets displayed and diff --git a/nodes/HttpBin/HttpBin.node.ts b/nodes/HttpBin/HttpBin.node.ts index 0c7d5c2..bcc0e23 100644 --- a/nodes/HttpBin/HttpBin.node.ts +++ b/nodes/HttpBin/HttpBin.node.ts @@ -1,4 +1,4 @@ -import { INodeType, INodeTypeDescription, NodeConnectionType } from 'n8n-workflow'; +import { INodeType, INodeTypeDescription, NodeConnectionTypes } from 'n8n-workflow'; import { httpVerbFields, httpVerbOperations } from './HttpVerbDescription'; export class HttpBin implements INodeType { @@ -13,8 +13,8 @@ export class HttpBin implements INodeType { defaults: { name: 'HttpBin', }, - inputs: [NodeConnectionType.Main], - outputs: [NodeConnectionType.Main], + inputs: [NodeConnectionTypes.Main], + outputs: [NodeConnectionTypes.Main], usableAsTool: true, credentials: [ {