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 client api that includes upload large zip file (#6634)
Nathan.fooo363fecc7d674
diff --git a/.github/workflows/flutter_ci.yaml b/.github/workflows/flutter_ci.yamlindex 8433255418..8ae51de1df 100644--- a/.github/workflows/flutter_ci.yaml+++ b/.github/workflows/flutter_ci.yaml@@ -28,7 +28,7 @@ env:FLUTTER_VERSION: "3.22.2"RUST_TOOLCHAIN: "1.80.1"CARGO_MAKE_VERSION: "0.37.18"- CLOUD_VERSION: 0.6.50+ CLOUD_VERSION: 0.6.51-amd64concurrency:group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}diff --git a/.github/workflows/ios_ci.yaml b/.github/workflows/ios_ci.yamlindex 8aae133139..a39a2704c8 100644--- a/.github/workflows/ios_ci.yaml+++ b/.github/workflows/ios_ci.yaml@@ -22,7 +22,7 @@ on:env:FLUTTER_VERSION: "3.22.0"RUST_TOOLCHAIN: "1.80.1"- CLOUD_VERSION: 0.6.50+ CLOUD_VERSION: 0.6.51concurrency:group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}diff --git a/.github/workflows/rust_ci.yaml b/.github/workflows/rust_ci.yamlindex 90ad55ee98..d24b93663f 100644--- a/.github/workflows/rust_ci.yaml+++ b/.github/workflows/rust_ci.yaml@@ -20,7 +20,7 @@ on:env:CARGO_TERM_COLOR: always- CLOUD_VERSION: 0.6.50+ CLOUD_VERSION: 0.6.51-amd64RUST_TOOLCHAIN: "1.77.2"jobs:diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.lock b/frontend/appflowy_tauri/src-tauri/Cargo.lockindex ca8f8d75cd..3bb1573bc6 100644--- a/frontend/appflowy_tauri/src-tauri/Cargo.lock+++ b/frontend/appflowy_tauri/src-tauri/Cargo.lock@@ -172,7 +172,7 @@ checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"[[package]]name = "app-error"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bincode",@@ -192,7 +192,7 @@ dependencies = [[[package]]name = "appflowy-ai-client"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bytes",@@ -882,7 +882,7 @@ dependencies = [[[package]]name = "client-api"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["again","anyhow",@@ -937,7 +937,7 @@ dependencies = [[[package]]name = "client-api-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["collab-entity","collab-rt-entity",@@ -950,7 +950,7 @@ dependencies = [[[package]]name = "client-websocket"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["futures-channel","futures-util",@@ -1248,7 +1248,7 @@ dependencies = [[[package]]name = "collab-rt-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bincode",@@ -1273,7 +1273,7 @@ dependencies = [[[package]]name = "collab-rt-protocol"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","async-trait",@@ -1664,7 +1664,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"[[package]]name = "database-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",@@ -3249,7 +3249,7 @@ dependencies = [[[package]]name = "gotrue"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","futures-util",@@ -3266,7 +3266,7 @@ dependencies = [[[package]]name = "gotrue-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",@@ -3698,7 +3698,7 @@ dependencies = [[[package]]name = "infra"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bytes",@@ -6359,7 +6359,7 @@ dependencies = [[[package]]name = "shared-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.toml b/frontend/appflowy_tauri/src-tauri/Cargo.tomlindex 55bed8a61d..52fee452d1 100644--- a/frontend/appflowy_tauri/src-tauri/Cargo.toml+++ b/frontend/appflowy_tauri/src-tauri/Cargo.toml@@ -59,7 +59,7 @@ collab-importer = { version = "0.1" }# Run the script:# scripts/tool/update_client_api_rev.sh new_rev_id# ⚠️⚠️⚠️️-client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "7cea106984dda057467290844acad8f0d196065b" }+client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "648c977c0752609a00ccdfdc5cc8141789e63c4a" }[dependencies]serde_json.workspace = truediff --git a/frontend/appflowy_web_app/src-tauri/Cargo.lock b/frontend/appflowy_web_app/src-tauri/Cargo.lockindex b1839f056a..53048f148d 100644--- a/frontend/appflowy_web_app/src-tauri/Cargo.lock+++ b/frontend/appflowy_web_app/src-tauri/Cargo.lock@@ -163,7 +163,7 @@ checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"[[package]]name = "app-error"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bincode",@@ -183,7 +183,7 @@ dependencies = [[[package]]name = "appflowy-ai-client"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bytes",@@ -871,7 +871,7 @@ dependencies = [[[package]]name = "client-api"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["again","anyhow",@@ -926,7 +926,7 @@ dependencies = [[[package]]name = "client-api-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["collab-entity","collab-rt-entity",@@ -939,7 +939,7 @@ dependencies = [[[package]]name = "client-websocket"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["futures-channel","futures-util",@@ -1246,7 +1246,7 @@ dependencies = [[[package]]name = "collab-rt-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bincode",@@ -1271,7 +1271,7 @@ dependencies = [[[package]]name = "collab-rt-protocol"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","async-trait",@@ -1669,7 +1669,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"[[package]]name = "database-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",@@ -3331,7 +3331,7 @@ dependencies = [[[package]]name = "gotrue"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","futures-util",@@ -3348,7 +3348,7 @@ dependencies = [[[package]]name = "gotrue-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",@@ -3785,7 +3785,7 @@ dependencies = [[[package]]name = "infra"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bytes",@@ -6439,7 +6439,7 @@ dependencies = [[[package]]name = "shared-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",diff --git a/frontend/appflowy_web_app/src-tauri/Cargo.toml b/frontend/appflowy_web_app/src-tauri/Cargo.tomlindex 3933f8cfe8..b316dbdae9 100644--- a/frontend/appflowy_web_app/src-tauri/Cargo.toml+++ b/frontend/appflowy_web_app/src-tauri/Cargo.toml@@ -58,7 +58,7 @@ collab-importer = { version = "0.1" }# Run the script:# scripts/tool/update_client_api_rev.sh new_rev_id# ⚠️⚠️⚠️️-client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "7cea106984dda057467290844acad8f0d196065b" }+client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "648c977c0752609a00ccdfdc5cc8141789e63c4a" }[dependencies]serde_json.workspace = truediff --git a/frontend/rust-lib/Cargo.lock b/frontend/rust-lib/Cargo.lockindex b3581fe110..e433566a18 100644--- a/frontend/rust-lib/Cargo.lock+++ b/frontend/rust-lib/Cargo.lock@@ -163,7 +163,7 @@ checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"[[package]]name = "app-error"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bincode",@@ -183,7 +183,7 @@ dependencies = [[[package]]name = "appflowy-ai-client"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bytes",@@ -774,7 +774,7 @@ dependencies = [[[package]]name = "client-api"version = "0.2.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["again","anyhow",@@ -829,7 +829,7 @@ dependencies = [[[package]]name = "client-api-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["collab-entity","collab-rt-entity",@@ -842,7 +842,7 @@ dependencies = [[[package]]name = "client-websocket"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["futures-channel","futures-util",@@ -1109,7 +1109,7 @@ dependencies = [[[package]]name = "collab-rt-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bincode",@@ -1134,7 +1134,7 @@ dependencies = [[[package]]name = "collab-rt-protocol"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","async-trait",@@ -1374,7 +1374,7 @@ dependencies = ["cssparser-macros","dtoa-short","itoa",- "phf 0.8.0",+ "phf 0.11.2","smallvec",]@@ -1523,7 +1523,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"[[package]]name = "database-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",@@ -2963,7 +2963,7 @@ dependencies = [[[package]]name = "gotrue"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","futures-util",@@ -2980,7 +2980,7 @@ dependencies = [[[package]]name = "gotrue-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",@@ -3342,7 +3342,7 @@ dependencies = [[[package]]name = "infra"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","bytes",@@ -4327,7 +4327,7 @@ version = "0.8.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"dependencies = [- "phf_macros",+ "phf_macros 0.8.0","phf_shared 0.8.0","proc-macro-hack",]@@ -4347,6 +4347,7 @@ version = "0.11.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"dependencies = [+ "phf_macros 0.11.2","phf_shared 0.11.2",]@@ -4414,6 +4415,19 @@ dependencies = ["syn 1.0.109",]+[[package]]+name = "phf_macros"+version = "0.11.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b"+dependencies = [+ "phf_generator 0.11.2",+ "phf_shared 0.11.2",+ "proc-macro2",+ "quote",+ "syn 2.0.47",+]+[[package]]name = "phf_shared"version = "0.8.0"@@ -5621,7 +5635,7 @@ dependencies = [[[package]]name = "shared-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=7cea106984dda057467290844acad8f0d196065b#7cea106984dda057467290844acad8f0d196065b"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=648c977c0752609a00ccdfdc5cc8141789e63c4a#648c977c0752609a00ccdfdc5cc8141789e63c4a"dependencies = ["anyhow","app-error",diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.tomlindex e8ea918156..3b7fef057c 100644--- a/frontend/rust-lib/Cargo.toml+++ b/frontend/rust-lib/Cargo.toml@@ -106,8 +106,8 @@ dashmap = "6.0.1"# Run the script.add_workspace_members:# scripts/tool/update_client_api_rev.sh new_rev_id# ⚠️⚠️⚠️️-client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "7cea106984dda057467290844acad8f0d196065b" }-client-api-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "7cea106984dda057467290844acad8f0d196065b" }+client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "648c977c0752609a00ccdfdc5cc8141789e63c4a" }+client-api-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "648c977c0752609a00ccdfdc5cc8141789e63c4a" }[profile.dev]opt-level = 0diff --git a/frontend/rust-lib/flowy-database2/src/manager.rs b/frontend/rust-lib/flowy-database2/src/manager.rsindex b22b103181..75b912d4d0 100644--- a/frontend/rust-lib/flowy-database2/src/manager.rs+++ b/frontend/rust-lib/flowy-database2/src/manager.rs@@ -743,6 +743,7 @@ impl WorkspaceDatabaseCollabServiceImpl {impl DatabaseCollabService for WorkspaceDatabaseCollabServiceImpl {///NOTE: this method doesn't initialize plugins, however it is passed into WorkspaceDatabase,/// therefore all Database/DatabaseRow creation methods must initialize plugins thmselves.+ #[instrument(level = "trace", skip_all)]async fn build_collab(&self,object_id: &str,diff --git a/frontend/rust-lib/flowy-server/src/af_cloud/impls/database.rs b/frontend/rust-lib/flowy-server/src/af_cloud/impls/database.rsindex a7c3805c32..4d264365ec 100644--- a/frontend/rust-lib/flowy-server/src/af_cloud/impls/database.rs+++ b/frontend/rust-lib/flowy-server/src/af_cloud/impls/database.rs@@ -47,7 +47,8 @@ whereworkspace_id: workspace_id.clone(),inner: QueryCollab::new(object_id.clone(), collab_type.clone()),};- match try_get_client?.get_collab(params).await {+ let result = try_get_client?.get_collab(params).await;+ match result {Ok(data) => {check_request_workspace_id_is_match(&workspace_id,@@ -66,6 +67,8 @@ where}}+ #[instrument(level = "debug", skip_all, err)]+ #[allow(clippy::blocks_in_conditions)]async fn create_database_encode_collab(&self,object_id: &str,@@ -73,12 +76,13 @@ whereworkspace_id: &str,encoded_collab: EncodedCollab,) -> Result<(), FlowyError> {+ let encoded_collab_v1 = encoded_collab+ .encode_to_bytes()+ .map_err(|err| FlowyError::internal().with_context(err))?;let params = CreateCollabParams {workspace_id: workspace_id.to_string(),object_id: object_id.to_string(),- encoded_collab_v1: encoded_collab- .encode_to_bytes()- .map_err(|err| FlowyError::internal().with_context(err))?,+ encoded_collab_v1,collab_type,};self.inner.try_get_client()?.create_collab(params).await?;diff --git a/frontend/rust-lib/flowy-server/src/af_cloud/impls/folder.rs b/frontend/rust-lib/flowy-server/src/af_cloud/impls/folder.rsindex 0281387eb5..da2b2731f2 100644--- a/frontend/rust-lib/flowy-server/src/af_cloud/impls/folder.rs+++ b/frontend/rust-lib/flowy-server/src/af_cloud/impls/folder.rs@@ -267,7 +267,9 @@ whereasync fn import_zip(&self, file_path: &str) -> Result<(), FlowyError> {let file_path = PathBuf::from(file_path);- self.inner.try_get_client()?.import_file(&file_path).await?;+ let client = self.inner.try_get_client()?;+ let url = client.create_import(&file_path).await?.presigned_url;+ client.upload_import_file(&file_path, &url).await?;Ok(())}}