Files
n8n-nodes-gwezz-changdunovel/node_modules/n8n-workflow/dist/esm/node-reference-parser-utils.d.ts
2025-10-26 23:10:15 +08:00

20 lines
1.1 KiB
TypeScript

import type { INode } from './interfaces';
export declare function hasDotNotationBannedChar(nodeName: string): boolean;
export declare function backslashEscape(nodeName: string): string;
export declare function dollarEscape(nodeName: string): string;
export declare function applyAccessPatterns(expression: string, previousName: string, newName: string): string;
/**
* Extracts references to nodes in `nodeNames` from the nodes in `subGraph`.
*
* @returns an object with two keys:
* - nodes: Transformed copies of nodes in `subGraph`, ready for use in a sub-workflow
* - variables: A map from variable name in the sub-workflow to the replaced expression
*
* @throws if the startNodeName already exists in `nodeNames`
* @throws if `nodeNames` does not include all node names in `subGraph`
*/
export declare function extractReferencesInNodeExpressions(subGraph: INode[], nodeNames: string[], insertedStartName: string, graphInputNodeNames?: string[]): {
nodes: INode[];
variables: Map<string, string>;
};
//# sourceMappingURL=node-reference-parser-utils.d.ts.map