feat(ui): add bulkExportMeetings client wrapper (T8.5, FR-STORE-4)

This commit is contained in:
iamdoubz committed 2026-07-02 11:35:41 -05:00
1 parent 368763cb1d
commit 3a4b1a5d2f
1 file changed
+14
+14
View File
@@ -324,6 +324,20 @@ export const api = {
// dest is a file path for md/pdf/docx, a folder for bundle.
exportMeeting: (meetingId: MeetingId, dest: string, format: "md" | "pdf" | "docx" | "bundle") =>
invoke<string>("export_meeting", { meetingId, dest, format }),
// Every meeting matching tag/date filters, one file (or bundle folder) per
// meeting under destDir. Returns the count actually exported (T8.5, FR-STORE-4).
bulkExportMeetings: (
destDir: string,
format: "md" | "pdf" | "docx" | "bundle",
filter?: Pick<MeetingFilter, "tag" | "from" | "to">,
) =>
invoke<number>("bulk_export_meetings", {
destDir,
format,
tag: filter?.tag,
from: filter?.from,
to: filter?.to,
}),
llmStatus: () => invoke<LlmStatus>("llm_status"),
// provider ∈ ollama|custom|anthropic|openai|off; apiKey (hosted) → OS credential store (ADR-0011).