Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

511 B
Raw Blame
pub mod backend;
pub mod chat;
pub mod crypto;
pub mod error;
pub mod models;
pub mod traits;

pub use crate::db::backend::{Backend, BackendTx, Row, Value};
pub use crate::db::chat::ChatDb;
pub use crate::db::error::{Error, Result};
pub use crate::db::models::{
    AttachmentKind, AttachmentMeta, EntityType, Message, Sender, Session, SessionWithPreview,
};
pub use crate::db::traits::{Clock, RandomUuidGen, SystemClock, UuidGen};

#[cfg(feature = "sqlite")]
pub use crate::db::backend::sqlite::SqliteBackend;