mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-24 04:59:13 +00:00
refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -7,7 +7,7 @@ import type {
|
||||
INodeTypeDescription,
|
||||
NodeParameterValue,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
export class SwitchV1 implements INodeType {
|
||||
description: INodeTypeDescription;
|
||||
@@ -20,8 +20,13 @@ export class SwitchV1 implements INodeType {
|
||||
name: 'Switch',
|
||||
color: '#506000',
|
||||
},
|
||||
inputs: ['main'],
|
||||
outputs: ['main', 'main', 'main', 'main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [
|
||||
NodeConnectionType.Main,
|
||||
NodeConnectionType.Main,
|
||||
NodeConnectionType.Main,
|
||||
NodeConnectionType.Main,
|
||||
],
|
||||
outputNames: ['0', '1', '2', '3'],
|
||||
properties: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user