/** * Merge Node - Version 1 * Discriminator: mode=mergeByKey */ /** Merges data of both inputs. The output will contain items of input 1 merged with data of input 2. Merge happens depending on a defined key. */ export type MergeV1MergeByKeyParams = { mode: 'mergeByKey'; /** * Name of property which decides which items to merge of input 1 * @hint The name of the field as text (e.g. “id”) */ propertyName1?: string | Expression | PlaceholderValue; /** * Name of property which decides which items to merge of input 2 * @hint The name of the field as text (e.g. “id”) */ propertyName2?: string | Expression | PlaceholderValue; /** * Select when to overwrite the values from Input1 with values from Input 2 * @default always */ overwrite?: 'always' | 'blank' | 'undefined' | Expression; }; export type MergeV1MergeByKeyNode = { type: 'n8n-nodes-base.merge'; version: 1; config: NodeConfig; };