Skip to main content

TypeAlias.ImportMapper

type ImportMapper = {
application: string;
createdAt: string;
id: string;
name: string;
rows: {
createdAt: string;
destination: string;
id: string;
position: number;
source: string;
type: "path" | "const";
updatedAt: string;
}[];
updatedAt: string;
};

An import mapper: an ordered list of field mappings used to transform an imported JSON payload into a target model.

Type Declaration

NameType
applicationstring
createdAtstring
idstring
namestring
rows{ createdAt: string; destination: string; id: string; position: number; source: string; type: "path"
updatedAtstring