2023-03-09 09:13:15 -08:00
|
|
|
export const BINARY_ENCODING = 'base64';
|
|
|
|
export const WAIT_TIME_UNLIMITED = '3000-01-01T00:00:00.000Z';
|
2023-05-02 00:37:49 -07:00
|
|
|
|
2023-05-04 11:00:00 -07:00
|
|
|
export const CODE_LANGUAGES = ['javaScript', 'json', 'python'] as const;
|
|
|
|
export const CODE_EXECUTION_MODES = ['runOnceForAllItems', 'runOnceForEachItem'] as const;
|
|
|
|
|
2023-05-02 00:37:49 -07:00
|
|
|
/**
|
|
|
|
* 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',
|
|
|
|
]);
|
2023-06-23 09:23:28 -07:00
|
|
|
|
|
|
|
// Arbitrary value to represent an empty credential value
|
|
|
|
export const CREDENTIAL_EMPTY_VALUE =
|
|
|
|
'__n8n_EMPTY_VALUE_7b1af746-3729-4c60-9b9b-e08eb29e58da' as const;
|
2023-10-16 21:09:30 -07:00
|
|
|
|
|
|
|
export const FORM_TRIGGER_PATH_IDENTIFIER = 'n8n-form';
|