fix(export/zip): export options not considered

This commit is contained in:
Elian Doran
2025-10-28 20:40:53 +02:00
parent 7ce7c66463
commit bd3e92f091
2 changed files with 4 additions and 2 deletions

View File

@@ -43,8 +43,10 @@ async function exportToZip(taskContext: TaskContext<"export">, branch: BBranch,
getNoteTargetUrl, getNoteTargetUrl,
archive, archive,
branch, branch,
rewriteFn rewriteFn,
zipExportOptions
}; };
switch (format) { switch (format) {
case "html": case "html":
return new HtmlExportProvider(providerData); return new HtmlExportProvider(providerData);

View File

@@ -29,7 +29,7 @@ export interface ZipExportProviderData {
branch: BBranch; branch: BBranch;
getNoteTargetUrl: (targetNoteId: string, sourceMeta: NoteMeta) => string | null; getNoteTargetUrl: (targetNoteId: string, sourceMeta: NoteMeta) => string | null;
archive: Archiver; archive: Archiver;
zipExportOptions?: AdvancedExportOptions; zipExportOptions: AdvancedExportOptions | undefined;
rewriteFn: RewriteLinksFn; rewriteFn: RewriteLinksFn;
} }