TypeAlias.ImportMapperDestinationField
type ImportMapperDestinationField = {
enumValues?: readonly string[];
field: string;
isArray?: boolean;
required: boolean;
};
A field an import-mapper row can write to, as a dot-path into the
passport-creation input (e.g. product.name). required marks fields the
input schema makes mandatory — the mapper form seeds a locked row for each.
enumValues is set for fields tagged enumSelect on the schema: their value
is constrained to a closed set, so the form renders a const-only select of
these literals instead of a free-text path input.