aven-core 0.1.35

Core library for the Aven local-first task manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod blobs;
pub(crate) mod changes;
pub(crate) mod parent_liveness;
mod status;
pub(in crate::sync) use blobs::collect_attachment_liveness_hashes;
pub(in crate::sync) use changes::{
    epic_change_workspace, insert_wire_change, is_epic_change, reconcile_epic_change,
    update_change_server_seq,
};

#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct SyncPersistenceStatus {
    pub pending_changes: i64,
    pub conflicts: i64,
    pub sync_cursor: Option<String>,
    pub local_sequence: Option<String>,
}