feat(ui): add NoteTemplate type, listNoteTemplates, templateId param (T8.1, FR-NOTE-5)
This commit is contained in:
1 parent
04628bcb46
commit
181e874a2a
1 file changed
+19
-2
+19
-2
@@ -142,6 +142,15 @@ export interface Meeting {
|
||||
summary: SummaryFile | null;
|
||||
calendar_event_id: string | null;
|
||||
tags: string[];
|
||||
template_id: string | null;
|
||||
}
|
||||
|
||||
// Note template (Phase 8, T8.1, FR-NOTE-5) — section headers applied to
|
||||
// notes.md at recording-start time.
|
||||
export interface NoteTemplate {
|
||||
id: string;
|
||||
name: string;
|
||||
sections: string[];
|
||||
}
|
||||
|
||||
// Calendar / .pst (Phase 6, FR-CAL-*).
|
||||
@@ -267,8 +276,16 @@ export interface McpAccessEntry {
|
||||
// ---- Commands ----
|
||||
export const api = {
|
||||
// `record` controls audio RETENTION (default false / off — ADR-0009).
|
||||
startRecording: (meetingTitle?: string, calendarEventId?: string, record = false) =>
|
||||
invoke<MeetingId>("start_recording", { args: { meetingTitle, calendarEventId, record } }),
|
||||
startRecording: (
|
||||
meetingTitle?: string,
|
||||
calendarEventId?: string,
|
||||
record = false,
|
||||
templateId?: string,
|
||||
) =>
|
||||
invoke<MeetingId>("start_recording", {
|
||||
args: { meetingTitle, calendarEventId, record, templateId },
|
||||
}),
|
||||
listNoteTemplates: () => invoke<NoteTemplate[]>("list_note_templates"),
|
||||
stopRecording: (meetingId: MeetingId) => invoke<void>("stop_recording", { meetingId }),
|
||||
pauseRecording: (meetingId: MeetingId) => invoke<void>("pause_recording", { meetingId }),
|
||||
resumeRecording: (meetingId: MeetingId) => invoke<void>("resume_recording", { meetingId }),
|
||||
|
||||
Reference in new issue
Block a user