feat(export): wire pdf/docx formats into export_meeting (T8.4, FR-NOTE-4)

This commit is contained in:
iamdoubz
2026-07-02 11:02:52 -05:00
parent 0425f64cfe
commit 06bdf6d469
+18
View File
@@ -1115,6 +1115,24 @@ pub async fn export_meeting(
)
.map_err(|e| WaError::new("export", e.to_string()))?;
}
"pdf" => {
crate::notes::MarkdownNotes
.export(
&meeting.notes_markdown,
&dest_path,
crate::notes::ExportFormat::Pdf,
)
.map_err(|e| WaError::new("export", e.to_string()))?;
}
"docx" => {
crate::notes::MarkdownNotes
.export(
&meeting.notes_markdown,
&dest_path,
crate::notes::ExportFormat::Docx,
)
.map_err(|e| WaError::new("export", e.to_string()))?;
}
"bundle" => {
std::fs::create_dir_all(&dest_path)
.map_err(|e| WaError::new("export", e.to_string()))?;