fix(core): Account for nodes with renamable content (#6109)

🐛 Account for nodes with renamable content
This commit is contained in:
Iván Ovejero
2023-05-02 09:37:49 +02:00
committed by GitHub
parent 51f5990559
commit c99f158120
3 changed files with 86 additions and 16 deletions

View File

@@ -1,3 +1,13 @@
/* eslint-disable @typescript-eslint/naming-convention */
export const BINARY_ENCODING = 'base64';
export const WAIT_TIME_UNLIMITED = '3000-01-01T00:00:00.000Z';
/**
* Nodes whose parameter values may refer to other nodes without expressions.
* Their content may need to be updated when the referenced node is renamed.
*/
export const NODES_WITH_RENAMABLE_CONTENT = new Set([
'n8n-nodes-base.code',
'n8n-nodes-base.function',
'n8n-nodes-base.functionItem',
]);