refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -6,7 +6,7 @@ import type {
|
||||
INodeTypeDescription,
|
||||
IPairedItemData,
|
||||
} from 'n8n-workflow';
|
||||
import { deepCopy } from 'n8n-workflow';
|
||||
import { NodeConnectionType, deepCopy } from 'n8n-workflow';
|
||||
|
||||
export class SplitInBatchesV2 implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -20,9 +20,9 @@ export class SplitInBatchesV2 implements INodeType {
|
||||
name: 'Split In Batches',
|
||||
color: '#007755',
|
||||
},
|
||||
inputs: ['main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong
|
||||
outputs: ['main', 'main'],
|
||||
outputs: [NodeConnectionType.Main, NodeConnectionType.Main],
|
||||
outputNames: ['loop', 'done'],
|
||||
properties: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user