// Ensure we're `no_std` when compiling for Wasm. #![cfg_attr(not(feature = "std"), no_std)] pub mod data_directory; pub mod data_object_storage_registry; pub mod data_object_type_registry; mod tests; pub use common::storage::StorageObjectOwner; // The storage working group instance alias. pub type StorageWorkingGroupInstance = working_group::Instance2; // Alias for storage working group pub(crate) type StorageWorkingGroup = working_group::Module; // Alias for the member id. pub(crate) type MemberId = ::MemberId; // Alias for the content id. pub(crate) type ContentId = ::ContentId; // Alias for the channel id. pub(crate) type ChannelId = ::ChannelId; // Alias for the dao id. pub(crate) type DAOId = ::DAOId; /// DAO object type id. pub(crate) type DataObjectTypeId = ::DataObjectTypeId; /// Storage provider is a worker from the working group module. pub type StorageProviderId = working_group::WorkerId; /// Alias for StorageObjectOwner pub type ObjectOwner = StorageObjectOwner, ChannelId, DAOId>;