refactor: Migrate NodeConnectionType to const object type (no-changelog) (#14078)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Alex Grozav
2025-03-21 14:01:26 +02:00
committed by GitHub
co-authored by कारतोफ्फेलस्क्रिप्ट™
parent 7e8179b848
commit 8215e0b59f
703 changed files with 3102 additions and 3016 deletions
@@ -1,6 +1,7 @@
import * as a from 'assert/strict';
import {
NodeConnectionType,
NodeConnectionTypes,
type NodeConnectionType,
type IExecuteData,
type INode,
type INodeExecutionData,
@@ -99,7 +100,7 @@ export function recreateNodeExecutionStack(
for (const startNode of startNodes) {
const incomingStartNodeConnections = graph
.getDirectParentConnections(startNode)
.filter((c) => c.type === NodeConnectionType.Main);
.filter((c) => c.type === NodeConnectionTypes.Main);
let incomingData: INodeExecutionData[][] = [];
let incomingSourceData: ITaskDataConnectionsSource | null = null;