From b45ba185308a2b84362b19f11da899aae707f7fc Mon Sep 17 00:00:00 2001 From: Zack Fu Zi Xiang Date: Mon, 22 Apr 2024 11:34:13 +0800 Subject: [PATCH] chore: update client api --- frontend/appflowy_tauri/src-tauri/Cargo.lock | 26 +++++----- frontend/appflowy_tauri/src-tauri/Cargo.toml | 2 +- frontend/appflowy_web/wasm-libs/Cargo.lock | 52 ++++++++++++------- frontend/appflowy_web/wasm-libs/Cargo.toml | 2 +- .../appflowy_web_app/src-tauri/Cargo.lock | 26 +++++----- .../appflowy_web_app/src-tauri/Cargo.toml | 2 +- frontend/rust-lib/Cargo.lock | 42 +++++---------- frontend/rust-lib/Cargo.toml | 2 +- 8 files changed, 77 insertions(+), 77 deletions(-) diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.lock b/frontend/appflowy_tauri/src-tauri/Cargo.lock index 814b6a86ce..f1518c8bbe 100644 --- a/frontend/appflowy_tauri/src-tauri/Cargo.lock +++ b/frontend/appflowy_tauri/src-tauri/Cargo.lock @@ -162,7 +162,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "app-error" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -740,7 +740,7 @@ dependencies = [ [[package]] name = "client-api" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "again", "anyhow", @@ -785,7 +785,7 @@ dependencies = [ [[package]] name = "client-websocket" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "futures-channel", "futures-util", @@ -1024,7 +1024,7 @@ dependencies = [ [[package]] name = "collab-rt-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -1049,7 +1049,7 @@ dependencies = [ [[package]] name = "collab-rt-protocol" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -1292,7 +1292,7 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa 1.0.6", - "phf 0.11.2", + "phf 0.8.0", "smallvec", ] @@ -1403,7 +1403,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "database-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -2769,7 +2769,7 @@ dependencies = [ [[package]] name = "gotrue" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "futures-util", @@ -2786,7 +2786,7 @@ dependencies = [ [[package]] name = "gotrue-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -3218,7 +3218,7 @@ dependencies = [ [[package]] name = "infra" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "reqwest", @@ -4721,7 +4721,7 @@ checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" dependencies = [ "bytes", "heck 0.4.1", - "itertools 0.11.0", + "itertools 0.10.5", "log", "multimap", "once_cell", @@ -4742,7 +4742,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.10.5", "proc-macro2", "quote", "syn 2.0.47", @@ -5706,7 +5706,7 @@ dependencies = [ [[package]] name = "shared-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.toml b/frontend/appflowy_tauri/src-tauri/Cargo.toml index dcab388d01..98bdaf7ae0 100644 --- a/frontend/appflowy_tauri/src-tauri/Cargo.toml +++ b/frontend/appflowy_tauri/src-tauri/Cargo.toml @@ -88,7 +88,7 @@ yrs = { git = "https://github.com/appflowy/y-crdt", rev = "3f25bb510ca5274e7657d # Run the script: # scripts/tool/update_client_api_rev.sh new_rev_id # ⚠️⚠️⚠️️ -client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "3901356e8ac7c68d1e77128729bf7669b30278ec" } +client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "ca8dcdfd556495d13bd79683c9406e4d839ab464" } # Please use the following script to update collab. # Working directory: frontend # diff --git a/frontend/appflowy_web/wasm-libs/Cargo.lock b/frontend/appflowy_web/wasm-libs/Cargo.lock index 1bd03bad8c..4fe4b5f276 100644 --- a/frontend/appflowy_web/wasm-libs/Cargo.lock +++ b/frontend/appflowy_web/wasm-libs/Cargo.lock @@ -215,7 +215,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "app-error" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -541,7 +541,7 @@ dependencies = [ [[package]] name = "client-api" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "again", "anyhow", @@ -586,7 +586,7 @@ dependencies = [ [[package]] name = "client-websocket" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "futures-channel", "futures-util", @@ -630,7 +630,7 @@ dependencies = [ [[package]] name = "collab" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=3f7bc378af0ee5ca4e25e4746acaa66fab6df79f#3f7bc378af0ee5ca4e25e4746acaa66fab6df79f" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=5e32057ac8e6939368a8e75df91bcbce2ac143e7#5e32057ac8e6939368a8e75df91bcbce2ac143e7" dependencies = [ "anyhow", "async-trait", @@ -654,7 +654,7 @@ dependencies = [ [[package]] name = "collab-document" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=3f7bc378af0ee5ca4e25e4746acaa66fab6df79f#3f7bc378af0ee5ca4e25e4746acaa66fab6df79f" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=5e32057ac8e6939368a8e75df91bcbce2ac143e7#5e32057ac8e6939368a8e75df91bcbce2ac143e7" dependencies = [ "anyhow", "collab", @@ -673,7 +673,7 @@ dependencies = [ [[package]] name = "collab-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=3f7bc378af0ee5ca4e25e4746acaa66fab6df79f#3f7bc378af0ee5ca4e25e4746acaa66fab6df79f" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=5e32057ac8e6939368a8e75df91bcbce2ac143e7#5e32057ac8e6939368a8e75df91bcbce2ac143e7" dependencies = [ "anyhow", "bytes", @@ -688,7 +688,7 @@ dependencies = [ [[package]] name = "collab-folder" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=3f7bc378af0ee5ca4e25e4746acaa66fab6df79f#3f7bc378af0ee5ca4e25e4746acaa66fab6df79f" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=5e32057ac8e6939368a8e75df91bcbce2ac143e7#5e32057ac8e6939368a8e75df91bcbce2ac143e7" dependencies = [ "anyhow", "chrono", @@ -726,7 +726,7 @@ dependencies = [ [[package]] name = "collab-plugins" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=3f7bc378af0ee5ca4e25e4746acaa66fab6df79f#3f7bc378af0ee5ca4e25e4746acaa66fab6df79f" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=5e32057ac8e6939368a8e75df91bcbce2ac143e7#5e32057ac8e6939368a8e75df91bcbce2ac143e7" dependencies = [ "anyhow", "async-stream", @@ -764,7 +764,7 @@ dependencies = [ [[package]] name = "collab-rt-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -789,7 +789,7 @@ dependencies = [ [[package]] name = "collab-rt-protocol" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -803,7 +803,7 @@ dependencies = [ [[package]] name = "collab-user" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=3f7bc378af0ee5ca4e25e4746acaa66fab6df79f#3f7bc378af0ee5ca4e25e4746acaa66fab6df79f" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=5e32057ac8e6939368a8e75df91bcbce2ac143e7#5e32057ac8e6939368a8e75df91bcbce2ac143e7" dependencies = [ "anyhow", "collab", @@ -955,7 +955,7 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa", - "phf 0.8.0", + "phf 0.11.2", "smallvec", ] @@ -1000,7 +1000,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "database-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -1773,7 +1773,7 @@ dependencies = [ [[package]] name = "gotrue" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "futures-util", @@ -1790,7 +1790,7 @@ dependencies = [ [[package]] name = "gotrue-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "infra" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "reqwest", @@ -2775,7 +2775,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", ] @@ -2795,6 +2795,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", ] @@ -2862,6 +2863,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.48", +] + [[package]] name = "phf_shared" version = "0.8.0" @@ -3717,7 +3731,7 @@ dependencies = [ [[package]] name = "shared-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -4979,4 +4993,4 @@ dependencies = [ [[patch.unused]] name = "collab-database" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=3f7bc378af0ee5ca4e25e4746acaa66fab6df79f#3f7bc378af0ee5ca4e25e4746acaa66fab6df79f" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Collab?rev=5e32057ac8e6939368a8e75df91bcbce2ac143e7#5e32057ac8e6939368a8e75df91bcbce2ac143e7" diff --git a/frontend/appflowy_web/wasm-libs/Cargo.toml b/frontend/appflowy_web/wasm-libs/Cargo.toml index 86497f2df6..145cbf2c8a 100644 --- a/frontend/appflowy_web/wasm-libs/Cargo.toml +++ b/frontend/appflowy_web/wasm-libs/Cargo.toml @@ -55,7 +55,7 @@ codegen-units = 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 = "3901356e8ac7c68d1e77128729bf7669b30278ec" } +client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "ca8dcdfd556495d13bd79683c9406e4d839ab464" } # Please use the following script to update collab. # Working directory: frontend # diff --git a/frontend/appflowy_web_app/src-tauri/Cargo.lock b/frontend/appflowy_web_app/src-tauri/Cargo.lock index 6ee41e8a7b..b001804086 100644 --- a/frontend/appflowy_web_app/src-tauri/Cargo.lock +++ b/frontend/appflowy_web_app/src-tauri/Cargo.lock @@ -153,7 +153,7 @@ checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" [[package]] name = "app-error" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -714,7 +714,7 @@ dependencies = [ [[package]] name = "client-api" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "again", "anyhow", @@ -759,7 +759,7 @@ dependencies = [ [[package]] name = "client-websocket" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "futures-channel", "futures-util", @@ -1007,7 +1007,7 @@ dependencies = [ [[package]] name = "collab-rt-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -1032,7 +1032,7 @@ dependencies = [ [[package]] name = "collab-rt-protocol" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -1279,7 +1279,7 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa 1.0.10", - "phf 0.8.0", + "phf 0.11.2", "smallvec", ] @@ -1390,7 +1390,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "database-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -2843,7 +2843,7 @@ dependencies = [ [[package]] name = "gotrue" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "futures-util", @@ -2860,7 +2860,7 @@ dependencies = [ [[package]] name = "gotrue-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -3297,7 +3297,7 @@ dependencies = [ [[package]] name = "infra" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "reqwest", @@ -4802,7 +4802,7 @@ checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" dependencies = [ "bytes", "heck 0.4.1", - "itertools 0.11.0", + "itertools 0.10.5", "log", "multimap", "once_cell", @@ -4823,7 +4823,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.10.5", "proc-macro2", "quote", "syn 2.0.55", @@ -5801,7 +5801,7 @@ dependencies = [ [[package]] name = "shared-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", diff --git a/frontend/appflowy_web_app/src-tauri/Cargo.toml b/frontend/appflowy_web_app/src-tauri/Cargo.toml index b0575358d2..2b41a5fa86 100644 --- a/frontend/appflowy_web_app/src-tauri/Cargo.toml +++ b/frontend/appflowy_web_app/src-tauri/Cargo.toml @@ -87,7 +87,7 @@ yrs = { git = "https://github.com/appflowy/y-crdt", rev = "3f25bb510ca5274e7657d # Run the script: # scripts/tool/update_client_api_rev.sh new_rev_id # ⚠️⚠️⚠️️ -client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "3901356e8ac7c68d1e77128729bf7669b30278ec" } +client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "ca8dcdfd556495d13bd79683c9406e4d839ab464" } # Please use the following script to update collab. # Working directory: frontend # diff --git a/frontend/rust-lib/Cargo.lock b/frontend/rust-lib/Cargo.lock index 74decab098..21f997c4b2 100644 --- a/frontend/rust-lib/Cargo.lock +++ b/frontend/rust-lib/Cargo.lock @@ -163,7 +163,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "app-error" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -696,7 +696,7 @@ dependencies = [ [[package]] name = "client-api" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "again", "anyhow", @@ -741,7 +741,7 @@ dependencies = [ [[package]] name = "client-websocket" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "futures-channel", "futures-util", @@ -949,7 +949,7 @@ dependencies = [ [[package]] name = "collab-rt-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -974,7 +974,7 @@ dependencies = [ [[package]] name = "collab-rt-protocol" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "bincode", @@ -1191,7 +1191,7 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa", - "phf 0.11.2", + "phf 0.8.0", "smallvec", ] @@ -1325,7 +1325,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "database-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -2594,7 +2594,7 @@ dependencies = [ [[package]] name = "gotrue" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "futures-util", @@ -2611,7 +2611,7 @@ dependencies = [ [[package]] name = "gotrue-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", @@ -2982,7 +2982,7 @@ dependencies = [ [[package]] name = "infra" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "reqwest", @@ -3857,7 +3857,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" dependencies = [ - "phf_macros 0.8.0", + "phf_macros", "phf_shared 0.8.0", "proc-macro-hack", ] @@ -3877,7 +3877,6 @@ 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", ] @@ -3945,19 +3944,6 @@ 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" @@ -4161,7 +4147,7 @@ checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" dependencies = [ "bytes", "heck 0.4.1", - "itertools 0.10.5", + "itertools 0.11.0", "log", "multimap", "once_cell", @@ -4182,7 +4168,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools 0.11.0", "proc-macro2", "quote", "syn 2.0.47", @@ -5108,7 +5094,7 @@ dependencies = [ [[package]] name = "shared-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=3901356e8ac7c68d1e77128729bf7669b30278ec#3901356e8ac7c68d1e77128729bf7669b30278ec" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=ca8dcdfd556495d13bd79683c9406e4d839ab464#ca8dcdfd556495d13bd79683c9406e4d839ab464" dependencies = [ "anyhow", "app-error", diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.toml index 47722c1864..e62e3f5c1d 100644 --- a/frontend/rust-lib/Cargo.toml +++ b/frontend/rust-lib/Cargo.toml @@ -115,7 +115,7 @@ rocksdb = { git = "https://github.com/LucasXu0/rust-rocksdb", rev = "21cf4a23ec1 # 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 = "3901356e8ac7c68d1e77128729bf7669b30278ec" } +client-api = { git = " https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "ca8dcdfd556495d13bd79683c9406e4d839ab464" } # Please use the following script to update collab. # Working directory: frontend #