refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
/* eslint-disable @typescript-eslint/dot-notation */
|
||||
import type {
|
||||
IDataObject,
|
||||
IExecuteFunctions,
|
||||
IHttpRequestMethods,
|
||||
ILoadOptionsFunctions,
|
||||
INodeExecutionData,
|
||||
INodeParameters,
|
||||
INodePropertyOptions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
import {
|
||||
NodeConnectionType,
|
||||
type IDataObject,
|
||||
type IExecuteFunctions,
|
||||
type IHttpRequestMethods,
|
||||
type ILoadOptionsFunctions,
|
||||
type INodeExecutionData,
|
||||
type INodeParameters,
|
||||
type INodePropertyOptions,
|
||||
type INodeType,
|
||||
type INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import set from 'lodash/set';
|
||||
@@ -48,8 +49,8 @@ export class TheHive implements INodeType {
|
||||
defaults: {
|
||||
name: 'TheHive',
|
||||
},
|
||||
inputs: ['main'],
|
||||
outputs: ['main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'theHiveApi',
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import type {
|
||||
IWebhookFunctions,
|
||||
IDataObject,
|
||||
IHookFunctions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
IWebhookResponseData,
|
||||
import {
|
||||
type IWebhookFunctions,
|
||||
type IDataObject,
|
||||
type IHookFunctions,
|
||||
type INodeType,
|
||||
type INodeTypeDescription,
|
||||
type IWebhookResponseData,
|
||||
NodeConnectionType,
|
||||
} from 'n8n-workflow';
|
||||
import { eventsDescription } from './descriptions/EventsDescription';
|
||||
|
||||
@@ -20,7 +21,7 @@ export class TheHiveTrigger implements INodeType {
|
||||
name: 'TheHive Trigger',
|
||||
},
|
||||
inputs: [],
|
||||
outputs: ['main'],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
webhooks: [
|
||||
{
|
||||
name: 'default',
|
||||
|
||||
Reference in New Issue
Block a user