Skip to main content

Function.visibleDestinationFields

function visibleDestinationFields(format: ImportMapperFormat): readonly ImportMapperDestinationField[];

Destination fields offered for a given source format. Array destinations are whole-array copies fed by a JSONPath; a CSV cell is a string, not an array, so they only make sense for JSON mappers and are hidden for CSV.

Shared rather than duplicated per side: the mapper form renders one row per visible destination, and the mapping suggestion prompts on the same list. Two copies of this filter would let the UI offer a destination the suggestion never considers, or the reverse.

Parameters

ParameterType
formatImportMapperFormat

Returns

readonly ImportMapperDestinationField[]