diff --git a/src-tauri/src/commands/project.rs b/src-tauri/src/commands/project.rs index 6068c15..91ee02e 100644 --- a/src-tauri/src/commands/project.rs +++ b/src-tauri/src/commands/project.rs @@ -12,7 +12,12 @@ use crate::state::AppState; pub struct ProjectFile { pub version: u32, pub name: String, - pub audio_file: String, + #[serde(default)] + pub audio_file: Option, + #[serde(default)] + pub source_file: Option, + #[serde(default)] + pub audio_wav: Option, pub created_at: String, pub segments: Vec, pub speakers: Vec,