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,