feat: import cvs from file (#2667)

* refactor: import file

* chore: fix tarui build
This commit is contained in:
Nathan.fooo
2023-05-31 14:08:54 +08:00
committed by GitHub
parent 2247fa8edb
commit 188b36cae6
40 changed files with 569 additions and 633 deletions

View File

@ -212,7 +212,7 @@ pub async fn read_workspace(sdk: &FlowyCoreTest, workspace_id: Option<String>) -
pub async fn create_app(sdk: &FlowyCoreTest, workspace_id: &str, name: &str, desc: &str) -> ViewPB {
let create_view_request = CreateViewPayloadPB {
belong_to_id: workspace_id.to_owned(),
parent_view_id: workspace_id.to_owned(),
name: name.to_string(),
desc: desc.to_string(),
thumbnail: None,
@ -237,7 +237,7 @@ pub async fn create_view(
layout: ViewLayout,
) -> ViewPB {
let request = CreateViewPayloadPB {
belong_to_id: app_id.to_string(),
parent_view_id: app_id.to_string(),
name: name.to_string(),
desc: desc.to_string(),
thumbnail: None,