UNPKG

datainout

Version:

Import and reports data

25 lines (23 loc) 823 B
type ImportConfigOptions = { /** Path of template files */ templateDir?: string; /** Path of layout excel file to convert to template */ layoutDir?: string; }; type ReportConfigOptions = { /** Path of template files */ templateDir?: string; /** Path of output file after generate report */ reportDir?: string; /** Path of layout excel file to convert to template */ layoutDir?: string; }; type ListOfPathImports = keyof Required<ImportConfigOptions>; type ListOfPathReports = keyof Omit<Required<ReportConfigOptions>, "expoterFactory">; type DataInoutConfigOptions = { import?: ImportConfigOptions; report?: ReportConfigOptions; dateFormat?: string; templateExtension?: ".ts" | ".js"; }; export type { DataInoutConfigOptions, ListOfPathImports, ListOfPathReports };