refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)

This commit is contained in:
Ricardo Espinoza
2024-08-29 09:55:53 -04:00
committed by GitHub
parent 1491cbd228
commit c4eb3746d7
521 changed files with 2259 additions and 1999 deletions

View File

@@ -1,10 +1,11 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
import type {
INodeProperties,
INodeType,
INodeTypeBaseDescription,
INodeTypeDescription,
IWebhookFunctions,
import {
NodeConnectionType,
type INodeProperties,
type INodeType,
type INodeTypeBaseDescription,
type INodeTypeDescription,
type IWebhookFunctions,
} from 'n8n-workflow';
import { formWebhook } from '../utils';
@@ -39,7 +40,7 @@ const descriptionV2: INodeTypeDescription = {
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: ['main'],
outputs: [NodeConnectionType.Main],
webhooks: [
{
name: 'setup',