holochain_data 0.7.0-dev.12

Database abstraction layer for Holochain using sqlx
Documentation
//! Database models for Holochain data structures.
//!
//! These models represent the database schema and may differ from the
//! corresponding types in `holochain_types` or `holochain_zome_types`.
//! The models are designed to be flat and easily mappable to SQL tables.

/// Conductor models (conductor state, installed apps, roles, interfaces)
pub mod conductor;

/// WASM-related models (WASM bytecode, DNA definitions, zomes, entry definitions)
pub mod wasm;

/// DHT database row models.
pub mod dht;

// Re-export conductor models for convenience
pub use conductor::{
    AppInterfaceModel, AppRoleModel, CloneCellModel, ConductorModel, InstalledAppModel,
    WitnessNonceResult, WITNESSABLE_EXPIRY_DURATION,
};

// Re-export WASM models for convenience
pub use wasm::{CoordinatorZomeModel, DnaDefModel, EntryDefModel, IntegrityZomeModel, WasmModel};