Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nodes/ExampleNode/ExampleNode.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions nodes/HttpBin/HttpBin.node.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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: [
{
Expand Down