/** * Compare Datasets Node - Version 2.3 * Compare two inputs for changes */ export interface CompareDatasetsV23Params { mergeByFields?: { /** Values */ values?: Array<{ /** Input A Field * @hint Enter the field name as text */ field1?: string | Expression | PlaceholderValue; /** Input B Field * @hint Enter the field name as text */ field2?: string | Expression | PlaceholderValue; }>; }; /** * When There Are Differences * @default includeBoth */ resolve?: 'preferInput1' | 'preferInput2' | 'mix' | 'includeBoth' | Expression; /** * Whether to tolerate small type differences when comparing fields. E.g. the number 3 and the string '3' are treated as the same. * @default false */ fuzzyCompare?: boolean | Expression; /** * Prefer * @displayOptions.show { resolve: ["mix"] } * @default input1 */ preferWhenMix?: 'input1' | 'input2' | Expression; /** * For Everything Except * @hint Enter the names of the input fields as text, separated by commas * @displayOptions.show { resolve: ["mix"] } */ exceptWhenMix?: string | Expression | PlaceholderValue; options?: { /** Fields that shouldn't be included when checking whether two items are the same * @hint Enter the field names as text, separated by commas */ skipFields?: string | Expression | PlaceholderValue; /** Whether to tolerate small type differences when comparing fields. E.g. the number 3 and the string '3' are treated as the same. * @default false */ fuzzyCompare?: boolean | Expression; /** Whether to disallow referencing child fields using `parent.child` in the field name * @default false */ disableDotNotation?: boolean | Expression; /** Multiple Matches * @default first */ multipleMatches?: 'first' | 'all' | Expression; }; } interface CompareDatasetsV23NodeBase { type: 'n8n-nodes-base.compareDatasets'; version: 2.3; } export type CompareDatasetsV23ParamsNode = CompareDatasetsV23NodeBase & { config: NodeConfig; }; export type CompareDatasetsV23Node = CompareDatasetsV23ParamsNode;