DataImportFileHandler
Files that can be handled by Data Import
TypeScript
export interface DataImportFileHandler<T = Record<string,Properties
| Property | Type | Description |
|---|---|---|
| fileExtension | string | Name of File Extension |
| handleFile | (file: File) => Promise<T[]> | 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[]>