/** * Remove Duplicates Node - Version 1 * Delete items with matching field values */ export interface RemoveDuplicatesV1Params { /** * The fields of the input items to compare to see if they are the same * @default allFields */ compare?: 'allFields' | 'allFieldsExcept' | 'selectedFields' | Expression; /** * Fields in the input to exclude from the comparison * @displayOptions.show { compare: ["allFieldsExcept"] } */ fieldsToExclude?: string | Expression | PlaceholderValue; /** * Fields in the input to add to the comparison * @displayOptions.show { compare: ["selectedFields"] } */ fieldsToCompare?: string | Expression | PlaceholderValue; /** * Options * @displayOptions.show { compare: ["allFieldsExcept", "selectedFields"] } * @default {} */ options?: { /** Whether to disallow referencing child fields using `parent.child` in the field name * @default false */ disableDotNotation?: boolean | Expression; /** Whether to remove any fields that are not being compared. If disabled, will keep the values from the first of the duplicates. * @default false */ removeOtherFields?: boolean | Expression; }; } interface RemoveDuplicatesV1NodeBase { type: 'n8n-nodes-base.removeDuplicates'; version: 1; } export type RemoveDuplicatesV1ParamsNode = RemoveDuplicatesV1NodeBase & { config: NodeConfig; }; export type RemoveDuplicatesV1Node = RemoveDuplicatesV1ParamsNode;