Update to support new features (#70)

This commit is contained in:
Jon 2025-05-13 14:26:01 +01:00 committed by GitHub
commit 3624c920ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 121 additions and 4308 deletions

View file

@ -18,6 +18,7 @@ export class ExampleNode implements INodeType {
},
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
usableAsTool: true,
properties: [
// Node properties which the user gets displayed and
// can change on the node.

View file

@ -1,4 +1,4 @@
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
import { INodeType, INodeTypeDescription, NodeConnectionType } 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: ['main'],
outputs: ['main'],
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
{
name: 'httpbinApi',

View file

@ -18,6 +18,7 @@ export const httpVerbOperations: INodeProperties[] = [
name: 'GET',
value: 'get',
description: 'Perform a GET request',
action: 'Perform a GET request',
routing: {
request: {
method: 'GET',
@ -29,6 +30,7 @@ export const httpVerbOperations: INodeProperties[] = [
name: 'DELETE',
value: 'delete',
description: 'Perform a DELETE request',
action: 'Perform a DELETE request',
routing: {
request: {
method: 'DELETE',