From b5aa1714ad5ab28dec44d0b1fdbbcb050ab1c568 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Thu, 2 Jul 2026 10:07:03 -0500 Subject: [PATCH] feat(search): add SearchHit type (T8.2, FR-SEARCH-1) Same fields as MeetingListItem plus a highlighted snippet of what matched. --- src-tauri/src/models.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src-tauri/src/models.rs b/src-tauri/src/models.rs index ce763e5..6f1099a 100644 --- a/src-tauri/src/models.rs +++ b/src-tauri/src/models.rs @@ -118,6 +118,18 @@ pub struct MeetingListItem { pub status: MeetingStatus, } +/// One full-text search hit (Phase 8, FR-SEARCH-1) — the same shape as +/// `MeetingListItem` plus a highlighted excerpt of what matched. +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct SearchHit { + pub id: MeetingId, + pub title: String, + pub started_at: i64, + pub duration_secs: Option, + pub status: MeetingStatus, + pub snippet: String, +} + #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ActionItem { pub id: Option,