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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user