feat(export): MeetingBundle manifest for portable meeting export/import

This commit is contained in:
iamdoubz committed 2026-07-11 22:39:38 -05:00
1 parent 70eb182eb4
commit 2b2e120f12
1 file changed
+23
+23
View File
@@ -193,6 +193,29 @@ pub struct ActionItem {
pub reminder_set: bool,
}
/// Portable meeting export manifest — the `meeting.json` inside an export
/// bundle folder (FR-STORE-4). Carries everything needed to reconstruct a
/// meeting on another machine alongside the bundle's files (`audio.wav`,
/// `transcript.json`, `notes.md`, `summary.json`). Deliberately excludes the
/// meeting id (a fresh one is minted on import to avoid collisions) and the
/// calendar-event link (event ids are machine-local).
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct MeetingBundle {
pub schema: u32,
pub title: String,
pub started_at: i64,
pub ended_at: Option<i64>,
pub duration_secs: Option<i64>,
pub language: Option<String>,
pub backend_used: Option<String>,
pub model_used: Option<String>,
pub recorded: bool,
pub template_id: Option<String>,
pub tags: Vec<String>,
pub speakers: Vec<SpeakerInfo>,
pub action_items: Vec<ActionItem>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CalendarEvent {
pub id: String,