mod error;
pub mod fakes;
mod handle;
pub mod migrations;
mod schema;
pub mod storage_traits;
pub mod surreal_ledger;
pub mod surreal_release_registry;
pub use error::{StateError, StorageError};
pub use handle::{CloudConfig, SurrealHandle};
pub use migrations::init_schema;
pub use schema::{
AgentRecord, BranchRecord, CommitId, CommitRecord, GraphEdge, MemoryRecord,
ReleaseRecordSchema, RunEventRecord as DbRunEventRecord, RunRecord as DbRunRecord,
SnapshotRecord,
};
pub use storage_traits::{
CasStore, ContentDigest, ReleaseMetadata, ReleaseRecord, ReleaseRegistry, RunEvent, RunId,
RunLedger, RunMetadata, RunRecord, RunStatus, RunSummary, StorageResult,
};
pub use surreal_ledger::SurrealRunLedger;
pub use surreal_release_registry::SurrealDbReleaseRegistry;
pub type Result<T> = std::result::Result<T, StateError>;