mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
rename flowy-workspace-infra
This commit is contained in:
@ -6,7 +6,7 @@ edition = "2018"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
flowy-workspace-infra = { path = "../../../shared-lib/flowy-workspace-infra" }
|
||||
flowy-core-infra = { path = "../../../shared-lib/flowy-core-infra" }
|
||||
flowy-document-infra = { path = "../../../shared-lib/flowy-document-infra" }
|
||||
flowy-derive = { path = "../../../shared-lib/flowy-derive" }
|
||||
lib-ot = { path = "../../../shared-lib/lib-ot" }
|
||||
|
@ -4,7 +4,7 @@ use crate::{
|
||||
notify::{send_dart_notification, WorkspaceNotification},
|
||||
services::workspace::sql::{WorkspaceTable, WorkspaceTableSql},
|
||||
};
|
||||
use flowy_workspace_infra::entities::workspace::WorkspaceIdentifier;
|
||||
use flowy_core_infra::entities::workspace::WorkspaceIdentifier;
|
||||
use lib_dispatch::prelude::Unit;
|
||||
use std::sync::Arc;
|
||||
|
||||
|
@ -6,8 +6,8 @@ use crate::{
|
||||
services::{server::Server, AppController, TrashController, ViewController, WorkspaceController},
|
||||
};
|
||||
use chrono::Utc;
|
||||
use flowy_core_infra::user_default;
|
||||
use flowy_document_infra::{entities::doc::DocDelta, user_default::initial_read_me};
|
||||
use flowy_workspace_infra::user_default;
|
||||
use lazy_static::lazy_static;
|
||||
use lib_infra::entities::network_state::NetworkType;
|
||||
use parking_lot::RwLock;
|
||||
|
@ -3,7 +3,7 @@ use crate::{
|
||||
errors::WorkspaceError,
|
||||
services::{get_current_workspace, read_local_workspace_apps},
|
||||
};
|
||||
use flowy_workspace_infra::entities::{
|
||||
use flowy_core_infra::entities::{
|
||||
view::View,
|
||||
workspace::{CurrentWorkspaceSetting, QueryWorkspaceRequest, RepeatedWorkspace, WorkspaceIdentifier},
|
||||
};
|
||||
|
@ -1,9 +1,9 @@
|
||||
use bytes::Bytes;
|
||||
|
||||
use backend_service::errors::ErrorCode as ServerErrorCode;
|
||||
pub use flowy_core_infra::errors::ErrorCode;
|
||||
use flowy_derive::ProtoBuf;
|
||||
use flowy_document::errors::DocError;
|
||||
pub use flowy_workspace_infra::errors::ErrorCode;
|
||||
use lib_dispatch::prelude::{EventResponse, ResponseBuilder};
|
||||
use std::{convert::TryInto, fmt, fmt::Debug};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
pub use flowy_workspace_infra::entities;
|
||||
pub use flowy_core_infra::entities;
|
||||
|
||||
pub mod event;
|
||||
pub mod module;
|
||||
@ -17,7 +17,7 @@ pub mod protobuf;
|
||||
mod util;
|
||||
|
||||
pub mod prelude {
|
||||
pub use flowy_workspace_infra::entities::{app::*, trash::*, view::*, workspace::*};
|
||||
pub use flowy_core_infra::entities::{app::*, trash::*, view::*, workspace::*};
|
||||
|
||||
pub use crate::{core::*, errors::*, module::*};
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ use crate::{
|
||||
services::server::WorkspaceServerAPI,
|
||||
};
|
||||
use backend_service::{configuration::ClientServerConfiguration, middleware::*, workspace_request::*};
|
||||
use flowy_workspace_infra::errors::ErrorCode;
|
||||
use flowy_core_infra::errors::ErrorCode;
|
||||
use lib_infra::future::ResultFuture;
|
||||
|
||||
pub struct WorkspaceHttpServer {
|
||||
|
@ -18,8 +18,8 @@ use crate::{
|
||||
TrashEvent,
|
||||
},
|
||||
};
|
||||
use flowy_core_infra::entities::share::{ExportData, ExportParams};
|
||||
use flowy_document::module::FlowyDocument;
|
||||
use flowy_workspace_infra::entities::share::{ExportData, ExportParams};
|
||||
use lib_infra::kv::KV;
|
||||
|
||||
const LATEST_VIEW_ID: &str = "latest_view_id";
|
||||
|
@ -15,8 +15,8 @@ use crate::{
|
||||
errors::WorkspaceError,
|
||||
services::{TrashController, ViewController},
|
||||
};
|
||||
use flowy_core_infra::entities::share::{ExportData, ExportParams, ExportRequest};
|
||||
use flowy_document_infra::entities::doc::DocDelta;
|
||||
use flowy_workspace_infra::entities::share::{ExportData, ExportParams, ExportRequest};
|
||||
use lib_dispatch::prelude::{data_result, Data, DataResult, Unit};
|
||||
use std::{convert::TryInto, sync::Arc};
|
||||
|
||||
|
@ -9,8 +9,8 @@ use crate::{
|
||||
TrashController,
|
||||
},
|
||||
};
|
||||
use flowy_core_infra::entities::{app::RepeatedApp, workspace::*};
|
||||
use flowy_database::SqliteConnection;
|
||||
use flowy_workspace_infra::entities::{app::RepeatedApp, workspace::*};
|
||||
use lib_infra::kv::KV;
|
||||
use std::sync::Arc;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
use crate::{errors::WorkspaceError, services::WorkspaceController};
|
||||
|
||||
use flowy_workspace_infra::entities::{app::RepeatedApp, workspace::*};
|
||||
use flowy_core_infra::entities::{app::RepeatedApp, workspace::*};
|
||||
use lib_dispatch::prelude::{data_result, Data, DataResult, Unit};
|
||||
use std::{convert::TryInto, sync::Arc};
|
||||
|
||||
|
Reference in New Issue
Block a user