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,
archive,
branch,
rewriteFn
rewriteFn,
zipExportOptions
};
switch (format) {
case "html":
return new HtmlExportProvider(providerData);

View File

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