UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

26 lines (23 loc) 757 B
/** * Merge Node - Version 1 * Discriminator: mode=keepKeyMatches */ /** Keeps data of input 1 if it does find a match with data of input 2 */ export type MergeV1KeepKeyMatchesParams = { mode: 'keepKeyMatches'; /** * 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<string> | 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<string> | PlaceholderValue; }; export type MergeV1KeepKeyMatchesNode = { type: 'n8n-nodes-base.merge'; version: 1; config: NodeConfig<MergeV1KeepKeyMatchesParams>; };