refactor(Code Node): Limit n8n item key check (#4737)
⚡ Limit n8n item key check
This commit is contained in:
@@ -26,4 +26,4 @@ function isTraversable(maybe: unknown): maybe is IDataObject {
|
||||
|
||||
export type CodeNodeMode = 'runOnceForAllItems' | 'runOnceForEachItem';
|
||||
|
||||
export const N8N_ITEM_KEYS = new Set(['json', 'binary', 'error', 'pairedItem', 'index']);
|
||||
export const REQUIRED_N8N_ITEM_KEYS = new Set(['json', 'binary']);
|
||||
|
||||
Reference in New Issue
Block a user