DataImportFileHandler
Files that can be handled by Data Import
TypeScript
export interface DataImportFileHandler<T = Record<string,Properties
| Property | Description |
|---|---|
| fileExtension | Name of File Extension |
| handleFile | Async function which handles the import returning a Data Record |
Property Details
fileExtension
Name of File Extension
TypeScript
fileExtension?: string;Property Value
string
handleFile
Async function which handles the import returning a Data Record
TypeScript
handleFile: (file: File) => Promise<T[]>;Property Value
(file: File) => Promise<T[]>