mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -6,7 +6,7 @@ import type {
|
||||
INodeTypeDescription,
|
||||
JsonObject,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeApiError } from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeApiError } from 'n8n-workflow';
|
||||
import { flowApiRequest, FlowApiRequestAllItems } from './GenericFunctions';
|
||||
import { taskFields, taskOperations } from './TaskDescription';
|
||||
import type { ITask, TaskInfo } from './TaskInterface';
|
||||
@@ -23,8 +23,8 @@ export class Flow implements INodeType {
|
||||
defaults: {
|
||||
name: 'Flow',
|
||||
},
|
||||
inputs: ['main'],
|
||||
outputs: ['main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'flowApi',
|
||||
|
||||
@@ -6,6 +6,7 @@ import type {
|
||||
INodeTypeDescription,
|
||||
IWebhookResponseData,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionType } from 'n8n-workflow';
|
||||
|
||||
import { flowApiRequest } from './GenericFunctions';
|
||||
|
||||
@@ -21,7 +22,7 @@ export class FlowTrigger implements INodeType {
|
||||
name: 'Flow Trigger',
|
||||
},
|
||||
inputs: [],
|
||||
outputs: ['main'],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'flowApi',
|
||||
|
||||
Reference in New Issue
Block a user