This commit is contained in:
ƒabio 2025-10-01 11:43:20 +02:00 committed by GitHub
commit 25321e8cfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@ import type {
INodeType, INodeType,
INodeTypeDescription, INodeTypeDescription,
} from 'n8n-workflow'; } from 'n8n-workflow';
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow'; import { NodeConnectionTypes, NodeOperationError } from 'n8n-workflow';
export class ExampleNode implements INodeType { export class ExampleNode implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
@ -16,8 +16,8 @@ export class ExampleNode implements INodeType {
defaults: { defaults: {
name: 'Example Node', name: 'Example Node',
}, },
inputs: [NodeConnectionType.Main], inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionType.Main], outputs: [NodeConnectionTypes.Main],
usableAsTool: true, usableAsTool: true,
properties: [ properties: [
// Node properties which the user gets displayed and // Node properties which the user gets displayed and

View file

@ -1,4 +1,4 @@
import { INodeType, INodeTypeDescription, NodeConnectionType } from 'n8n-workflow'; import { INodeType, INodeTypeDescription, NodeConnectionTypes } from 'n8n-workflow';
import { httpVerbFields, httpVerbOperations } from './HttpVerbDescription'; import { httpVerbFields, httpVerbOperations } from './HttpVerbDescription';
export class HttpBin implements INodeType { export class HttpBin implements INodeType {
@ -13,8 +13,8 @@ export class HttpBin implements INodeType {
defaults: { defaults: {
name: 'HttpBin', name: 'HttpBin',
}, },
inputs: [NodeConnectionType.Main], inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionType.Main], outputs: [NodeConnectionTypes.Main],
usableAsTool: true, usableAsTool: true,
credentials: [ credentials: [
{ {