mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
16 lines
553 B
TypeScript
16 lines
553 B
TypeScript
import { ImportExportResult } from './types';
|
|
import InteropService_Importer_Base from './InteropService_Importer_Base';
|
|
import { enexImporterExec } from './InteropService_Importer_EnexToMd';
|
|
|
|
export default class InteropService_Importer_EnexToHtml extends InteropService_Importer_Base {
|
|
public async exec(result: ImportExportResult): Promise<ImportExportResult> {
|
|
return enexImporterExec(
|
|
result,
|
|
this.options_.destinationFolder,
|
|
this.sourcePath_,
|
|
this.metadata().fileExtensions,
|
|
{ ...this.options_, outputFormat: 'html' },
|
|
);
|
|
}
|
|
}
|