28 lines
489 B
Rust
Raw Normal View History

2021-12-19 21:29:33 +08:00
pub use flowy_core_data_model::entities;
2021-11-08 10:43:14 +08:00
pub mod event;
pub mod module;
mod services;
2021-07-13 17:19:39 +08:00
#[macro_use]
mod macros;
#[macro_use]
extern crate flowy_database;
2021-07-13 23:08:20 +08:00
2022-01-04 15:05:52 +08:00
pub mod context;
pub mod event_handler;
2021-11-08 10:43:14 +08:00
mod notify;
pub mod protobuf;
2021-11-09 15:32:57 +08:00
mod util;
2021-07-13 23:08:20 +08:00
pub mod prelude {
2021-12-19 21:29:33 +08:00
pub use flowy_core_data_model::entities::{app::*, trash::*, view::*, workspace::*};
2021-11-08 10:43:14 +08:00
2022-01-04 15:05:52 +08:00
pub use crate::{errors::*, module::*};
}
2021-12-14 18:04:51 +08:00
pub mod errors {
pub use flowy_error::{internal_error, ErrorCode, FlowyError, FlowyResult};
}