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

@@ -5,21 +5,22 @@
import { DateTime, Duration, Interval, Settings } from 'luxon';
import * as jmespath from 'jmespath';
import type {
IDataObject,
IExecuteData,
INodeExecutionData,
INodeParameters,
IPairedItemData,
IRunExecutionData,
ISourceData,
ITaskData,
IWorkflowDataProxyAdditionalKeys,
IWorkflowDataProxyData,
INodeParameterResourceLocator,
NodeParameterValueType,
WorkflowExecuteMode,
ProxyInput,
import {
type IDataObject,
type IExecuteData,
type INodeExecutionData,
type INodeParameters,
type IPairedItemData,
type IRunExecutionData,
type ISourceData,
type ITaskData,
type IWorkflowDataProxyAdditionalKeys,
type IWorkflowDataProxyData,
type INodeParameterResourceLocator,
type NodeParameterValueType,
type WorkflowExecuteMode,
type ProxyInput,
NodeConnectionType,
} from './Interfaces';
import * as NodeHelpers from './NodeHelpers';
import { ExpressionError, type ExpressionErrorOptions } from './errors/expression.error';
@@ -346,7 +347,7 @@ export class WorkflowDataProxy {
const nodeConnection = that.workflow.getNodeConnectionIndexes(
that.contextNodeName,
nodeName,
'main',
NodeConnectionType.Main,
);
if (nodeConnection === undefined) {