mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 00:54:06 -08:00
af69c80bf5
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
28 lines
677 B
TypeScript
28 lines
677 B
TypeScript
type MultipleMatches = 'all' | 'first';
|
|
|
|
export type MatchFieldsOptions = {
|
|
joinMode: MatchFieldsJoinMode;
|
|
outputDataFrom: MatchFieldsOutput;
|
|
multipleMatches: MultipleMatches;
|
|
disableDotNotation: boolean;
|
|
fuzzyCompare?: boolean;
|
|
};
|
|
|
|
type ClashMergeMode = 'deepMerge' | 'shallowMerge';
|
|
type ClashResolveMode = 'addSuffix' | 'preferInput1' | 'preferLast';
|
|
|
|
export type ClashResolveOptions = {
|
|
resolveClash: ClashResolveMode;
|
|
mergeMode: ClashMergeMode;
|
|
overrideEmpty: boolean;
|
|
};
|
|
|
|
export type MatchFieldsOutput = 'both' | 'input1' | 'input2';
|
|
|
|
export type MatchFieldsJoinMode =
|
|
| 'keepEverything'
|
|
| 'keepMatches'
|
|
| 'keepNonMatches'
|
|
| 'enrichInput2'
|
|
| 'enrichInput1';
|