2020-10-09 18:35:46 +01:00
|
|
|
import { ImportExportResult } from './types';
|
2021-01-22 17:41:11 +00:00
|
|
|
import InteropService_Importer_Base from './InteropService_Importer_Base';
|
2024-01-09 22:03:34 +00:00
|
|
|
import { enexImporterExec } from './InteropService_Importer_EnexToMd';
|
2018-02-26 19:25:54 +00:00
|
|
|
|
2020-10-09 18:35:46 +01:00
|
|
|
export default class InteropService_Importer_EnexToHtml extends InteropService_Importer_Base {
|
2021-09-23 13:15:31 +01:00
|
|
|
public async exec(result: ImportExportResult): Promise<ImportExportResult> {
|
2024-01-09 22:03:34 +00:00
|
|
|
return enexImporterExec(
|
|
|
|
result,
|
|
|
|
this.options_.destinationFolder,
|
|
|
|
this.sourcePath_,
|
|
|
|
this.metadata().fileExtensions,
|
|
|
|
{ ...this.options_, outputFormat: 'html' },
|
|
|
|
);
|
2018-02-26 19:25:54 +00:00
|
|
|
}
|
|
|
|
}
|