P1b: SQLite project, content-addressed assets, autosave and undo

This commit is contained in:
Emil
2026-11-01 01:19:55 +03:00
parent 4f4ee05a3a
commit 0acf11ccb0
22 changed files with 1405 additions and 32 deletions
+9
View File
@@ -202,6 +202,8 @@ pub enum Command {
core: String,
face: u8,
},
Undo,
Redo,
/// Journal-only: a core was imported through the binary path.
ImportCore {
name: String,
@@ -248,6 +250,10 @@ pub enum Event {
face: u8,
velocity: f32,
},
History {
can_undo: bool,
can_redo: bool,
},
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
@@ -284,6 +290,9 @@ impl AudioInfo {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct State {
pub revision: u64,
pub project_name: String,
pub can_undo: bool,
pub can_redo: bool,
pub transport: TransportState,
pub veins: Vec<VeinState>,
pub pattern: Pattern,