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
| Name | Type |
|---|---|
application | string |
createdAt | string |
id | string |
name | string |
rows | { createdAt: string; destination: string; id: string; position: number; source: string; type: "path" |
updatedAt | string |