feat(search): add SearchHit type (T8.2, FR-SEARCH-1)

Same fields as MeetingListItem plus a highlighted snippet of what matched.
This commit is contained in:
iamdoubz
2026-07-02 10:07:03 -05:00
parent 90bc053ad3
commit b5aa1714ad
+12
View File
@@ -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<i64>,
pub status: MeetingStatus,
pub snippet: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ActionItem {
pub id: Option<String>,