Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: bump collab (#6914)
Nathan.foooca195887e026
diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.lock b/frontend/appflowy_tauri/src-tauri/Cargo.lockindex 7a914e7d58..21d8645b83 100644--- a/frontend/appflowy_tauri/src-tauri/Cargo.lock+++ b/frontend/appflowy_tauri/src-tauri/Cargo.lock@@ -1030,7 +1030,7 @@ dependencies = [[[package]]name = "collab"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -1055,7 +1055,7 @@ dependencies = [[[package]]name = "collab-database"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-trait",@@ -1094,7 +1094,7 @@ dependencies = [[[package]]name = "collab-document"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -1115,7 +1115,7 @@ dependencies = [[[package]]name = "collab-entity"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","bytes",@@ -1135,7 +1135,7 @@ dependencies = [[[package]]name = "collab-folder"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -1157,7 +1157,7 @@ dependencies = [[[package]]name = "collab-importer"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-recursion",@@ -1218,7 +1218,7 @@ dependencies = [[[package]]name = "collab-plugins"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-stream",@@ -1298,7 +1298,7 @@ dependencies = [[[package]]name = "collab-user"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","collab",diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.toml b/frontend/appflowy_tauri/src-tauri/Cargo.tomlindex 5bd34029b7..ec5fbf551c 100644--- a/frontend/appflowy_tauri/src-tauri/Cargo.toml+++ b/frontend/appflowy_tauri/src-tauri/Cargo.toml@@ -120,14 +120,14 @@ custom-protocol = ["tauri/custom-protocol"]# To switch to the local path, run:# scripts/tool/update_collab_source.sh# ⚠️⚠️⚠️️-collab = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-entity = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-folder = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-document = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-database = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-plugins = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-user = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-importer = { version = "0.1", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }+collab = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-entity = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-folder = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-document = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-database = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-plugins = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-user = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-importer = { version = "0.1", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }# Working directory: frontend# To update the commit ID, run:diff --git a/frontend/appflowy_web_app/src-tauri/Cargo.lock b/frontend/appflowy_web_app/src-tauri/Cargo.lockindex 1742500894..4dde43d1f3 100644--- a/frontend/appflowy_web_app/src-tauri/Cargo.lock+++ b/frontend/appflowy_web_app/src-tauri/Cargo.lock@@ -1028,7 +1028,7 @@ dependencies = [[[package]]name = "collab"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -1053,7 +1053,7 @@ dependencies = [[[package]]name = "collab-database"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-trait",@@ -1092,7 +1092,7 @@ dependencies = [[[package]]name = "collab-document"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -1113,7 +1113,7 @@ dependencies = [[[package]]name = "collab-entity"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","bytes",@@ -1133,7 +1133,7 @@ dependencies = [[[package]]name = "collab-folder"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -1155,7 +1155,7 @@ dependencies = [[[package]]name = "collab-importer"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-recursion",@@ -1216,7 +1216,7 @@ dependencies = [[[package]]name = "collab-plugins"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-stream",@@ -1296,7 +1296,7 @@ dependencies = [[[package]]name = "collab-user"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","collab",diff --git a/frontend/appflowy_web_app/src-tauri/Cargo.toml b/frontend/appflowy_web_app/src-tauri/Cargo.tomlindex df3a85714a..5a77c76a36 100644--- a/frontend/appflowy_web_app/src-tauri/Cargo.toml+++ b/frontend/appflowy_web_app/src-tauri/Cargo.toml@@ -118,14 +118,14 @@ custom-protocol = ["tauri/custom-protocol"]# To switch to the local path, run:# scripts/tool/update_collab_source.sh# ⚠️⚠️⚠️️-collab = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-entity = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-folder = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-document = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-database = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-plugins = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-user = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-importer = { version = "0.1", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }+collab = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-entity = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-folder = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-document = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-database = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-plugins = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-user = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-importer = { version = "0.1", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }# Working directory: frontenddiff --git a/frontend/rust-lib/Cargo.lock b/frontend/rust-lib/Cargo.lockindex 05c0eacd19..213d85d759 100644--- a/frontend/rust-lib/Cargo.lock+++ b/frontend/rust-lib/Cargo.lock@@ -891,7 +891,7 @@ dependencies = [[[package]]name = "collab"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -916,7 +916,7 @@ dependencies = [[[package]]name = "collab-database"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-trait",@@ -955,7 +955,7 @@ dependencies = [[[package]]name = "collab-document"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -976,7 +976,7 @@ dependencies = [[[package]]name = "collab-entity"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","bytes",@@ -996,7 +996,7 @@ dependencies = [[[package]]name = "collab-folder"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","arc-swap",@@ -1018,7 +1018,7 @@ dependencies = [[[package]]name = "collab-importer"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-recursion",@@ -1079,7 +1079,7 @@ dependencies = [[[package]]name = "collab-plugins"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","async-stream",@@ -1159,7 +1159,7 @@ dependencies = [[[package]]name = "collab-user"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d#699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=0efc824a6e1a56e4485646e6428c07fdccf6e918#0efc824a6e1a56e4485646e6428c07fdccf6e918"dependencies = ["anyhow","collab",diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.tomlindex fba5efa500..52e5193aa0 100644--- a/frontend/rust-lib/Cargo.toml+++ b/frontend/rust-lib/Cargo.toml@@ -142,14 +142,14 @@ rocksdb = { git = "https://github.com/rust-rocksdb/rust-rocksdb", rev = "1710120# To switch to the local path, run:# scripts/tool/update_collab_source.sh# ⚠️⚠️⚠️️-collab = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-entity = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-folder = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-document = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-database = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-plugins = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-user = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }-collab-importer = { version = "0.1", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "699d6e3b45b9ac23987c6eb5fc3df3e29f3cbf9d" }+collab = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-entity = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-folder = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-document = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-database = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-plugins = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-user = { version = "0.2", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }+collab-importer = { version = "0.1", git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "0efc824a6e1a56e4485646e6428c07fdccf6e918" }# Working directory: frontend# To update the commit ID, run:diff --git a/frontend/rust-lib/event-integration-test/tests/database/af_cloud/util.rs b/frontend/rust-lib/event-integration-test/tests/database/af_cloud/util.rsindex 4f8a509219..e040b3d23b 100644--- a/frontend/rust-lib/event-integration-test/tests/database/af_cloud/util.rs+++ b/frontend/rust-lib/event-integration-test/tests/database/af_cloud/util.rs@@ -7,11 +7,11 @@ use collab_database::fields::number_type_option::{NumberFormat, NumberTypeOptionuse collab_database::fields::select_type_option::{SelectOption, SelectOptionColor, SingleSelectTypeOption,};+use collab_database::fields::summary_type_option::SummarizationTypeOption;+use collab_database::fields::translate_type_option::TranslateTypeOption;use collab_database::fields::Field;use collab_database::rows::Row;use flowy_database2::entities::FieldType;-use flowy_database2::services::field::summary_type_option::summary::SummarizationTypeOption;-use flowy_database2::services::field::translate_type_option::translate::TranslateTypeOption;use flowy_database2::services::field::FieldBuilder;use flowy_database2::services::field_settings::default_field_settings_for_fields;use strum::IntoEnumIterator;diff --git a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/relation_entities.rs b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/relation_entities.rsindex 919ca220ae..346c9f8357 100644--- a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/relation_entities.rs+++ b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/relation_entities.rs@@ -1,7 +1,8 @@+use collab_database::fields::relation_type_option::RelationTypeOption;use flowy_derive::ProtoBuf;use crate::entities::CellIdPB;-use crate::services::field::{RelationCellData, RelationTypeOption};+use crate::services::field::RelationCellData;#[derive(Debug, Clone, Default, ProtoBuf)]pub struct RelationCellDataPB {diff --git a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/select_option_entities.rs b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/select_option_entities.rsindex 7f8fb55485..69b79305a0 100644--- a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/select_option_entities.rs+++ b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/select_option_entities.rs@@ -1,6 +1,6 @@use crate::entities::parser::NotEmptyStr;use crate::entities::{CellIdPB, CellIdParams};-use crate::services::field::checklist_type_option::ChecklistTypeOption;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::select_type_option::{MultiSelectTypeOption, SelectOption, SelectOptionColor, SelectTypeOption, SingleSelectTypeOption,};diff --git a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/summary_entities.rs b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/summary_entities.rsindex c8f4a9b5c4..cb9cc8eca9 100644--- a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/summary_entities.rs+++ b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/summary_entities.rs@@ -1,4 +1,4 @@-use crate::services::field::summary_type_option::summary::SummarizationTypeOption;+use collab_database::fields::summary_type_option::SummarizationTypeOption;use flowy_derive::ProtoBuf;#[derive(Debug, Clone, Default, ProtoBuf)]diff --git a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/translate_entities.rs b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/translate_entities.rsindex 050d83c77d..326abf2c2b 100644--- a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/translate_entities.rs+++ b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/translate_entities.rs@@ -1,4 +1,4 @@-use crate::services::field::translate_type_option::translate::TranslateTypeOption;+use collab_database::fields::translate_type_option::TranslateTypeOption;use flowy_derive::{ProtoBuf, ProtoBuf_Enum};#[derive(Debug, Clone, Default, ProtoBuf)]diff --git a/frontend/rust-lib/flowy-database2/src/manager.rs b/frontend/rust-lib/flowy-database2/src/manager.rsindex 074d9f2f69..8246da8a97 100644--- a/frontend/rust-lib/flowy-database2/src/manager.rs+++ b/frontend/rust-lib/flowy-database2/src/manager.rs@@ -8,6 +8,7 @@ use collab::preclude::Collab;use collab_database::database::{Database, DatabaseData};use collab_database::entity::{CreateDatabaseParams, CreateViewParams};use collab_database::error::DatabaseError;+use collab_database::fields::translate_type_option::TranslateTypeOption;use collab_database::rows::RowId;use collab_database::template::csv::CSVTemplate;use collab_database::views::DatabaseLayout;@@ -38,7 +39,6 @@ use crate::entities::{DatabaseLayoutPB, DatabaseSnapshotPB, FieldType, RowMetaPBuse crate::services::cell::stringify_cell;use crate::services::database::DatabaseEditor;use crate::services::database_view::DatabaseLayoutDepsResolver;-use crate::services::field::translate_type_option::translate::TranslateTypeOption;use crate::services::field_settings::default_field_settings_by_layout_map;use crate::services::share::csv::{CSVFormat, CSVImporter, ImportResult};use tokio::sync::RwLock as TokioRwLock;diff --git a/frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs b/frontend/rust-lib/flowy-database2/src/services/database/database_editor.rsindex f06fb8fdbf..6f2e5c6003 100644--- a/frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs+++ b/frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs@@ -10,8 +10,8 @@ use crate::services::database_view::{use crate::services::field::type_option_transform::transform_type_option;use crate::services::field::{default_type_option_data_from_type, select_type_option_from_field, type_option_data_from_pb,- ChecklistCellChangeset, RelationTypeOption, SelectOptionCellChangeset, StringCellData,- TimestampCellData, TimestampCellDataWrapper, TypeOptionCellDataHandler, TypeOptionCellExt,+ ChecklistCellChangeset, SelectOptionCellChangeset, StringCellData, TimestampCellData,+ TimestampCellDataWrapper, TypeOptionCellDataHandler, TypeOptionCellExt,};use crate::services::field_settings::{default_field_settings_by_layout_map, FieldSettings};use crate::services::filter::{Filter, FilterChangeset};@@ -27,6 +27,7 @@ use collab::lock::RwLock;use collab_database::database::Database;use collab_database::entity::DatabaseView;use collab_database::fields::media_type_option::MediaCellData;+use collab_database::fields::relation_type_option::RelationTypeOption;use collab_database::fields::{Field, TypeOptionData};use collab_database::rows::{Cell, Cells, DatabaseRow, Row, RowCell, RowDetail, RowId, RowUpdate};use collab_database::views::{diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_option_transform.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_option_transform.rsindex f630738807..e5972ea064 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_option_transform.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_option_transform.rs@@ -1,16 +1,18 @@use crate::entities::FieldType;-use crate::services::field::summary_type_option::summary::SummarizationTypeOption;-use crate::services::field::translate_type_option::translate::TranslateTypeOption;-use crate::services::field::{ChecklistTypeOption, RelationTypeOption, TypeOptionTransform};+use crate::services::field::TypeOptionTransform;use async_trait::async_trait;use collab_database::database::Database;use collab_database::fields::checkbox_type_option::CheckboxTypeOption;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::date_type_option::{DateTypeOption, TimeTypeOption};use collab_database::fields::media_type_option::MediaTypeOption;use collab_database::fields::number_type_option::NumberTypeOption;+use collab_database::fields::relation_type_option::RelationTypeOption;use collab_database::fields::select_type_option::{MultiSelectTypeOption, SingleSelectTypeOption};+use collab_database::fields::summary_type_option::SummarizationTypeOption;use collab_database::fields::text_type_option::RichTextTypeOption;use collab_database::fields::timestamp_type_option::TimestampTypeOption;+use collab_database::fields::translate_type_option::TranslateTypeOption;use collab_database::fields::url_type_option::URLTypeOption;use collab_database::fields::TypeOptionData;diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/checklist_type_option.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/checklist_type_option.rsindex 16ca43c60a..4d96173660 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/checklist_type_option.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/checklist_type_option.rs@@ -6,15 +6,12 @@ use crate::services::field::{TypeOptionCellDataSerde, TypeOptionTransform,};use crate::services::sort::SortCondition;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::select_type_option::{SelectOption, SELECTION_IDS_SEPARATOR};-use collab_database::fields::{TypeOptionData, TypeOptionDataBuilder};use collab_database::rows::Cell;use flowy_error::FlowyResult;use std::cmp::Ordering;-#[derive(Debug, Clone, Default)]-pub struct ChecklistTypeOption;-impl TypeOption for ChecklistTypeOption {type CellData = ChecklistCellData;type CellChangeset = ChecklistCellChangeset;@@ -22,18 +19,6 @@ impl TypeOption for ChecklistTypeOption {type CellFilter = ChecklistFilterPB;}-impl From<TypeOptionData> for ChecklistTypeOption {- fn from(_data: TypeOptionData) -> Self {- Self- }-}--impl From<ChecklistTypeOption> for TypeOptionData {- fn from(_data: ChecklistTypeOption) -> Self {- TypeOptionDataBuilder::new()- }-}-impl TypeOptionCellDataSerde for ChecklistTypeOption {fn protobuf_encode(&self,diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/mod.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/mod.rsindex b17047ef06..7e981d51de 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/mod.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/checklist_type_option/mod.rs@@ -4,4 +4,3 @@ mod checklist_filter;mod checklist_type_option;pub use checklist_entities::*;-pub use checklist_type_option::*;diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/mod.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/mod.rsindex 4ae30a6589..92a224c235 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/mod.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/mod.rs@@ -1,5 +1,4 @@mod relation;mod relation_entities;-pub use relation::*;pub use relation_entities::*;diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/relation.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/relation.rsindex 9806471cb2..6f1cfb526a 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/relation.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/relation_type_option/relation.rs@@ -1,10 +1,9 @@-use collab::util::AnyMapExt;use std::cmp::Ordering;-use collab_database::fields::{TypeOptionData, TypeOptionDataBuilder};+use collab_database::fields::relation_type_option::RelationTypeOption;+use collab_database::rows::Cell;use flowy_error::FlowyResult;-use serde::{Deserialize, Serialize};use crate::entities::{RelationCellDataPB, RelationFilterPB};use crate::services::cell::{CellDataChangeset, CellDataDecoder};@@ -16,24 +15,6 @@ use crate::services::sort::SortCondition;use super::{RelationCellChangeset, RelationCellData};-#[derive(Debug, Clone, Default, Serialize, Deserialize)]-pub struct RelationTypeOption {- pub database_id: String,-}--impl From<TypeOptionData> for RelationTypeOption {- fn from(value: TypeOptionData) -> Self {- let database_id: String = value.get_as("database_id").unwrap_or_default();- Self { database_id }- }-}--impl From<RelationTypeOption> for TypeOptionData {- fn from(value: RelationTypeOption) -> Self {- TypeOptionDataBuilder::from([("database_id".into(), value.database_id.into())])- }-}-impl TypeOption for RelationTypeOption {type CellData = RelationCellData;type CellChangeset = RelationCellChangeset;diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/summary_type_option/summary.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/summary_type_option/summary.rsindex 4d99e67dd3..cb2d749d8a 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/summary_type_option/summary.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/summary_type_option/summary.rs@@ -7,30 +7,11 @@ use crate::services::field::{TypeOptionCellDataSerde, TypeOptionTransform,};use crate::services::sort::SortCondition;-use collab::util::AnyMapExt;-use collab_database::fields::{TypeOptionData, TypeOptionDataBuilder};+use collab_database::fields::summary_type_option::SummarizationTypeOption;use collab_database::rows::Cell;use flowy_error::FlowyResult;use std::cmp::Ordering;-#[derive(Default, Debug, Clone)]-pub struct SummarizationTypeOption {- pub auto_fill: bool,-}--impl From<TypeOptionData> for SummarizationTypeOption {- fn from(value: TypeOptionData) -> Self {- let auto_fill: bool = value.get_as("auto_fill").unwrap_or_default();- Self { auto_fill }- }-}--impl From<SummarizationTypeOption> for TypeOptionData {- fn from(value: SummarizationTypeOption) -> Self {- TypeOptionDataBuilder::from([("auto_fill".into(), value.auto_fill.into())])- }-}-impl TypeOption for SummarizationTypeOption {type CellData = SummaryCellData;type CellChangeset = String;diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/translate_type_option/translate.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/translate_type_option/translate.rsindex fedfd9b4f8..899bb044ac 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/translate_type_option/translate.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/translate_type_option/translate.rs@@ -7,64 +7,11 @@ use crate::services::field::{TypeOptionCellDataSerde, TypeOptionTransform,};use crate::services::sort::SortCondition;-use collab::preclude::encoding::serde::from_any;-use collab::preclude::Any;-use collab_database::fields::{TypeOptionData, TypeOptionDataBuilder};+use collab_database::fields::translate_type_option::TranslateTypeOption;use collab_database::rows::Cell;use flowy_error::FlowyResult;-use serde::Deserialize;use std::cmp::Ordering;-#[derive(Debug, Clone, Deserialize)]-pub struct TranslateTypeOption {- #[serde(default)]- pub auto_fill: bool,- /// Use [TranslateTypeOption::language_from_type] to get the language name- #[serde(default, rename = "language")]- pub language_type: i64,-}--impl TranslateTypeOption {- pub fn language_from_type(language_type: i64) -> &'static str {- match language_type {- 0 => "Traditional Chinese",- 1 => "English",- 2 => "French",- 3 => "German",- 4 => "Hindi",- 5 => "Spanish",- 6 => "Portuguese",- 7 => "Standard Arabic",- 8 => "Simplified Chinese",- _ => "English",- }- }-}--impl Default for TranslateTypeOption {- fn default() -> Self {- Self {- auto_fill: false,- language_type: 1,- }- }-}--impl From<TypeOptionData> for TranslateTypeOption {- fn from(value: TypeOptionData) -> Self {- from_any(&Any::from(value)).unwrap()- }-}--impl From<TranslateTypeOption> for TypeOptionData {- fn from(value: TranslateTypeOption) -> Self {- TypeOptionDataBuilder::from([- ("auto_fill".into(), value.auto_fill.into()),- ("language".into(), Any::BigInt(value.language_type)),- ])- }-}-impl TypeOption for TranslateTypeOption {type CellData = TranslateCellData;type CellChangeset = String;diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rsindex 1ec4821378..7f34fbb6b2 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rs@@ -5,22 +5,22 @@ use crate::entities::{TranslateTypeOptionPB, URLTypeOptionPB,};use crate::services::cell::CellDataDecoder;-use crate::services::field::checklist_type_option::ChecklistTypeOption;-use crate::services::field::summary_type_option::summary::SummarizationTypeOption;-use crate::services::field::translate_type_option::translate::TranslateTypeOption;-use crate::services::field::RelationTypeOption;use crate::services::filter::{ParseFilterData, PreFillCellsWithFilter};use crate::services::sort::SortCondition;use async_trait::async_trait;use bytes::Bytes;use collab_database::database::Database;use collab_database::fields::checkbox_type_option::CheckboxTypeOption;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::date_type_option::{DateTypeOption, TimeTypeOption};use collab_database::fields::media_type_option::MediaTypeOption;use collab_database::fields::number_type_option::NumberTypeOption;+use collab_database::fields::relation_type_option::RelationTypeOption;use collab_database::fields::select_type_option::{MultiSelectTypeOption, SingleSelectTypeOption};+use collab_database::fields::summary_type_option::SummarizationTypeOption;use collab_database::fields::text_type_option::RichTextTypeOption;use collab_database::fields::timestamp_type_option::TimestampTypeOption;+use collab_database::fields::translate_type_option::TranslateTypeOption;use collab_database::fields::url_type_option::URLTypeOption;use collab_database::fields::TypeOptionData;use collab_database::rows::Cell;diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option_cell.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option_cell.rsindex 4ece62b2cc..3a105148c6 100644--- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option_cell.rs+++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option_cell.rs@@ -1,21 +1,22 @@use crate::entities::FieldType;use crate::services::cell::{CellCache, CellDataChangeset, CellDataDecoder, CellProtobufBlob};-use crate::services::field::summary_type_option::summary::SummarizationTypeOption;-use crate::services::field::translate_type_option::translate::TranslateTypeOption;use crate::services::field::{- ChecklistTypeOption, RelationTypeOption, TypeOption, TypeOptionCellData,- TypeOptionCellDataCompare, TypeOptionCellDataFilter, TypeOptionCellDataSerde,- TypeOptionTransform,+ TypeOption, TypeOptionCellData, TypeOptionCellDataCompare, TypeOptionCellDataFilter,+ TypeOptionCellDataSerde, TypeOptionTransform,};use crate::services::sort::SortCondition;use collab::preclude::Any;use collab_database::fields::checkbox_type_option::CheckboxTypeOption;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::date_type_option::{DateTypeOption, TimeTypeOption};use collab_database::fields::media_type_option::MediaTypeOption;use collab_database::fields::number_type_option::NumberTypeOption;+use collab_database::fields::relation_type_option::RelationTypeOption;use collab_database::fields::select_type_option::{MultiSelectTypeOption, SingleSelectTypeOption};+use collab_database::fields::summary_type_option::SummarizationTypeOption;use collab_database::fields::text_type_option::RichTextTypeOption;use collab_database::fields::timestamp_type_option::TimestampTypeOption;+use collab_database::fields::translate_type_option::TranslateTypeOption;use collab_database::fields::url_type_option::URLTypeOption;use collab_database::fields::Field;use collab_database::rows::{get_field_type_from_cell, Cell, RowId};diff --git a/frontend/rust-lib/flowy-database2/tests/database/database_editor.rs b/frontend/rust-lib/flowy-database2/tests/database/database_editor.rsindex a194e5e8c2..1117d51873 100644--- a/frontend/rust-lib/flowy-database2/tests/database/database_editor.rs+++ b/frontend/rust-lib/flowy-database2/tests/database/database_editor.rs@@ -3,6 +3,7 @@ use std::sync::Arc;use collab_database::database::gen_database_view_id;use collab_database::fields::checkbox_type_option::CheckboxTypeOption;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::select_type_option::{MultiSelectTypeOption, SelectOption, SingleSelectTypeOption,};@@ -16,9 +17,7 @@ use event_integration_test::EventIntegrationTest;use flowy_database2::entities::{DatabasePB, FieldType, FilterPB, RowMetaPB};use flowy_database2::services::database::DatabaseEditor;-use flowy_database2::services::field::checklist_type_option::{- ChecklistCellChangeset, ChecklistTypeOption,-};+use flowy_database2::services::field::checklist_type_option::ChecklistCellChangeset;use flowy_database2::services::field::SelectOptionCellChangeset;use flowy_database2::services::share::csv::{CSVFormat, ImportResult};use flowy_error::FlowyResult;diff --git a/frontend/rust-lib/flowy-database2/tests/database/mock_data/board_mock_data.rs b/frontend/rust-lib/flowy-database2/tests/database/mock_data/board_mock_data.rsindex 33521a6a30..f65a7f5808 100644--- a/frontend/rust-lib/flowy-database2/tests/database/mock_data/board_mock_data.rs+++ b/frontend/rust-lib/flowy-database2/tests/database/mock_data/board_mock_data.rs@@ -1,9 +1,12 @@use collab_database::database::{gen_database_id, gen_database_view_id, gen_row_id, DatabaseData};use collab_database::entity::DatabaseView;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::date_type_option::{DateFormat, DateTypeOption, TimeFormat};+use collab_database::fields::relation_type_option::RelationTypeOption;use collab_database::fields::select_type_option::{MultiSelectTypeOption, SelectOption, SelectOptionColor, SingleSelectTypeOption,};+use collab_database::fields::summary_type_option::SummarizationTypeOption;use collab_database::fields::timestamp_type_option::TimestampTypeOption;use collab_database::views::{DatabaseLayout, LayoutSetting, LayoutSettings};use strum::IntoEnumIterator;@@ -11,9 +14,7 @@ use strum::IntoEnumIterator;use crate::database::mock_data::{COMPLETED, FACEBOOK, GOOGLE, PAUSED, PLANNED, TWITTER};use event_integration_test::database_event::TestRowBuilder;use flowy_database2::entities::FieldType;-use flowy_database2::services::field::checklist_type_option::ChecklistTypeOption;-use flowy_database2::services::field::summary_type_option::summary::SummarizationTypeOption;-use flowy_database2::services::field::{FieldBuilder, RelationTypeOption};+use flowy_database2::services::field::FieldBuilder;use flowy_database2::services::field_settings::default_field_settings_for_fields;use flowy_database2::services::setting::BoardLayoutSetting;diff --git a/frontend/rust-lib/flowy-database2/tests/database/mock_data/grid_mock_data.rs b/frontend/rust-lib/flowy-database2/tests/database/mock_data/grid_mock_data.rsindex a56d0faad2..0cb77c3e51 100644--- a/frontend/rust-lib/flowy-database2/tests/database/mock_data/grid_mock_data.rs+++ b/frontend/rust-lib/flowy-database2/tests/database/mock_data/grid_mock_data.rs@@ -1,25 +1,25 @@use collab_database::database::{gen_database_id, gen_database_view_id, gen_row_id, DatabaseData};use collab_database::entity::DatabaseView;+use collab_database::fields::checklist_type_option::ChecklistTypeOption;use collab_database::fields::date_type_option::{DateFormat, DateTypeOption, TimeFormat, TimeTypeOption,};use collab_database::fields::media_type_option::MediaTypeOption;use collab_database::fields::number_type_option::{NumberFormat, NumberTypeOption};+use collab_database::fields::relation_type_option::RelationTypeOption;use collab_database::fields::select_type_option::{MultiSelectTypeOption, SelectOption, SelectOptionColor, SingleSelectTypeOption,};+use collab_database::fields::summary_type_option::SummarizationTypeOption;use collab_database::fields::timestamp_type_option::TimestampTypeOption;+use collab_database::fields::translate_type_option::TranslateTypeOption;use collab_database::views::DatabaseLayout;use strum::IntoEnumIterator;use crate::database::mock_data::{COMPLETED, FACEBOOK, GOOGLE, PAUSED, PLANNED, TWITTER};use event_integration_test::database_event::TestRowBuilder;use flowy_database2::entities::FieldType;-use flowy_database2::services::field::summary_type_option::summary::SummarizationTypeOption;-use flowy_database2::services::field::translate_type_option::translate::TranslateTypeOption;-use flowy_database2::services::field::{- ChecklistCellInsertChangeset, ChecklistTypeOption, FieldBuilder, RelationTypeOption,-};+use flowy_database2::services::field::{ChecklistCellInsertChangeset, FieldBuilder};use flowy_database2::services::field_settings::default_field_settings_for_fields;pub fn make_test_grid() -> DatabaseData {