first commit
This commit is contained in:
12
node_modules/n8n-workflow/dist/esm/common/get-parent-nodes.js
generated
vendored
Normal file
12
node_modules/n8n-workflow/dist/esm/common/get-parent-nodes.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { getConnectedNodes } from './get-connected-nodes';
|
||||
import { NodeConnectionTypes } from '../interfaces';
|
||||
/**
|
||||
* Returns all the nodes before the given one
|
||||
*
|
||||
* @param {NodeConnectionType} [type='main']
|
||||
* @param {*} [depth=-1]
|
||||
*/
|
||||
export function getParentNodes(connectionsByDestinationNode, nodeName, type = NodeConnectionTypes.Main, depth = -1) {
|
||||
return getConnectedNodes(connectionsByDestinationNode, nodeName, type, depth);
|
||||
}
|
||||
//# sourceMappingURL=get-parent-nodes.js.map
|
||||
Reference in New Issue
Block a user