n8n-nodes-base
Version:
Base nodes of n8n
26 lines (23 loc) • 769 B
text/typescript
/**
* Merge Node - Version 1
* Discriminator: mode=removeKeyMatches
*/
/** Keeps data of input 1 if it does NOT find match with data of input 2 */
export type MergeV1RemoveKeyMatchesParams = {
mode: 'removeKeyMatches';
/**
* 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 MergeV1RemoveKeyMatchesNode = {
type: 'n8n-nodes-base.merge';
version: 1;
config: NodeConfig<MergeV1RemoveKeyMatchesParams>;
};