feat: wire mic-detect popup into note-taking flow

This commit is contained in:
Gagancreates 2026-05-15 14:41:18 +05:30 committed by Arjun
parent 6c9d9206c8
commit 8da40bd9bb
4 changed files with 73 additions and 29 deletions

View file

@ -395,11 +395,13 @@ const ipcSchemas = {
},
'app:takeMeetingNotes': {
req: z.object({
// Pass the raw calendar event JSON through; renderer adapts to its existing flow.
// Calendar event JSON when correlated; null for mic-detect ad-hoc fires.
event: z.unknown(),
// When true, the renderer should also open the meeting URL (Zoom/Meet/etc.)
// in addition to triggering the take-notes flow.
openMeeting: z.boolean().optional(),
// Fallback title for ad-hoc detection (no calendar event matched).
title: z.string().nullable().optional(),
}),
res: z.null(),
},