mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
27 lines
856 B
Rust
27 lines
856 B
Rust
|
pub use collab::core::collab::MutexCollab;
|
||
|
pub use collab::preclude::Snapshot;
|
||
|
pub use collab_persistence::doc::YrsDocAction;
|
||
|
pub use collab_persistence::error::PersistenceError;
|
||
|
#[cfg(any(
|
||
|
feature = "appflowy_cloud_integrate",
|
||
|
feature = "supabase_integrate",
|
||
|
feature = "rocksdb_plugin"
|
||
|
))]
|
||
|
pub use collab_persistence::kv::rocks_kv::RocksCollabDB;
|
||
|
pub use collab_persistence::snapshot::CollabSnapshot;
|
||
|
#[cfg(feature = "supabase_integrate")]
|
||
|
pub use collab_plugins::cloud_storage::*;
|
||
|
#[cfg(any(
|
||
|
feature = "appflowy_cloud_integrate",
|
||
|
feature = "supabase_integrate",
|
||
|
feature = "rocksdb_plugin"
|
||
|
))]
|
||
|
pub use collab_plugins::local_storage::CollabPersistenceConfig;
|
||
|
#[cfg(feature = "snapshot_plugin")]
|
||
|
pub use collab_plugins::snapshot::{
|
||
|
calculate_snapshot_diff, try_encode_snapshot, SnapshotPersistence,
|
||
|
};
|
||
|
|
||
|
pub mod collab_builder;
|
||
|
pub mod config;
|