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,15 +1,16 @@
import type {
INodeListSearchItems,
ILoadOptionsFunctions,
INodeListSearchResult,
INodePropertyOptions,
IHookFunctions,
IWebhookFunctions,
IDataObject,
INodeType,
INodeTypeDescription,
IWebhookResponseData,
IBinaryKeyData,
import {
type INodeListSearchItems,
type ILoadOptionsFunctions,
type INodeListSearchResult,
type INodePropertyOptions,
type IHookFunctions,
type IWebhookFunctions,
type IDataObject,
type INodeType,
type INodeTypeDescription,
type IWebhookResponseData,
type IBinaryKeyData,
NodeConnectionType,
} from 'n8n-workflow';
import { slackApiRequestAllItems } from './V2/GenericFunctions';
@@ -28,7 +29,7 @@ export class SlackTrigger implements INodeType {
name: 'Slack Trigger',
},
inputs: [],
outputs: ['main'],
outputs: [NodeConnectionType.Main],
webhooks: [
{
name: 'default',