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