From 1a34366a3f09d14b3ff8f29b46b317074055ef43 Mon Sep 17 00:00:00 2001 From: "Nathan.fooo" <86001920+appflowy@users.noreply.github.com> Date: Thu, 14 Mar 2024 12:24:49 +0800 Subject: [PATCH] chore: bump client api that adding constraints for init sync (#4897) --- frontend/appflowy_tauri/src-tauri/Cargo.lock | 24 ++++++++++---------- frontend/appflowy_tauri/src-tauri/Cargo.toml | 2 +- frontend/appflowy_web/wasm-libs/Cargo.lock | 21 +++++++++-------- frontend/appflowy_web/wasm-libs/Cargo.toml | 2 +- frontend/rust-lib/Cargo.lock | 22 +++++++++--------- frontend/rust-lib/Cargo.toml | 2 +- 6 files changed, 37 insertions(+), 36 deletions(-) diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.lock b/frontend/appflowy_tauri/src-tauri/Cargo.lock index 30c6d31682..c4e9f09b5f 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=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" 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=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "again", "anyhow", @@ -1204,7 +1204,7 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa 1.0.6", - "phf 0.11.2", + "phf 0.8.0", "smallvec", ] @@ -1315,7 +1315,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "database-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -2590,7 +2590,7 @@ dependencies = [ [[package]] name = "gotrue" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "futures-util", @@ -2607,7 +2607,7 @@ dependencies = [ [[package]] name = "gotrue-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -3062,7 +3062,7 @@ dependencies = [ [[package]] name = "infra" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "reqwest", @@ -4804,7 +4804,7 @@ dependencies = [ [[package]] name = "realtime-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -4828,7 +4828,7 @@ dependencies = [ [[package]] name = "realtime-protocol" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -5500,7 +5500,7 @@ dependencies = [ [[package]] name = "shared-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -6996,7 +6996,7 @@ checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" [[package]] name = "websocket" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "futures-channel", "futures-util", @@ -7459,7 +7459,7 @@ dependencies = [ [[package]] name = "workspace-template" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "async-trait", diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.toml b/frontend/appflowy_tauri/src-tauri/Cargo.toml index 0a9926c194..9061fb0b8b 100644 --- a/frontend/appflowy_tauri/src-tauri/Cargo.toml +++ b/frontend/appflowy_tauri/src-tauri/Cargo.toml @@ -83,7 +83,7 @@ custom-protocol = ["tauri/custom-protocol"] # Run the script: # scripts/tool/update_client_api_rev.sh new_rev_id # ⚠️⚠️⚠️️ -client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "40fc18a49997bb445c312f725b6850850b5f4db3" } +client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "d0bdbb795ca18a68144d0587496e6dce38692839" } # 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 ee941279f4..cb4da47921 100644 --- a/frontend/appflowy_web/wasm-libs/Cargo.lock +++ b/frontend/appflowy_web/wasm-libs/Cargo.lock @@ -221,7 +221,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "app-error" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -545,7 +545,7 @@ dependencies = [ [[package]] name = "client-api" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "again", "anyhow", @@ -947,7 +947,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "database-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -1400,6 +1400,7 @@ dependencies = [ "mime_guess", "parking_lot 0.12.1", "postgrest", + "rand 0.8.5", "reqwest", "serde", "serde_json", @@ -1701,7 +1702,7 @@ dependencies = [ [[package]] name = "gotrue" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "futures-util", @@ -1718,7 +1719,7 @@ dependencies = [ [[package]] name = "gotrue-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -2052,7 +2053,7 @@ dependencies = [ [[package]] name = "infra" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "reqwest", @@ -3296,7 +3297,7 @@ dependencies = [ [[package]] name = "realtime-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -3320,7 +3321,7 @@ dependencies = [ [[package]] name = "realtime-protocol" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -3773,7 +3774,7 @@ dependencies = [ [[package]] name = "shared-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -4715,7 +4716,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" [[package]] name = "websocket" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "futures-channel", "futures-util", diff --git a/frontend/appflowy_web/wasm-libs/Cargo.toml b/frontend/appflowy_web/wasm-libs/Cargo.toml index c9e1567e7f..41ed3ebe4b 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 = "40fc18a49997bb445c312f725b6850850b5f4db3" } +client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "d0bdbb795ca18a68144d0587496e6dce38692839" } # 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 041993fc90..5fc5dc54cb 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=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -673,7 +673,7 @@ dependencies = [ [[package]] name = "client-api" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "again", "anyhow", @@ -1239,7 +1239,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "database-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -2414,7 +2414,7 @@ dependencies = [ [[package]] name = "gotrue" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "futures-util", @@ -2431,7 +2431,7 @@ dependencies = [ [[package]] name = "gotrue-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -2825,7 +2825,7 @@ dependencies = [ [[package]] name = "infra" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "reqwest", @@ -4308,7 +4308,7 @@ dependencies = [ [[package]] name = "realtime-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -4332,7 +4332,7 @@ dependencies = [ [[package]] name = "realtime-protocol" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "bincode", @@ -4926,7 +4926,7 @@ dependencies = [ [[package]] name = "shared-entity" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "app-error", @@ -6116,7 +6116,7 @@ checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" [[package]] name = "websocket" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "futures-channel", "futures-util", @@ -6357,7 +6357,7 @@ dependencies = [ [[package]] name = "workspace-template" version = "0.1.0" -source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=40fc18a49997bb445c312f725b6850850b5f4db3#40fc18a49997bb445c312f725b6850850b5f4db3" +source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=d0bdbb795ca18a68144d0587496e6dce38692839#d0bdbb795ca18a68144d0587496e6dce38692839" dependencies = [ "anyhow", "async-trait", diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.toml index a066acdb5b..e66389ccff 100644 --- a/frontend/rust-lib/Cargo.toml +++ b/frontend/rust-lib/Cargo.toml @@ -105,7 +105,7 @@ incremental = false # Run the script: # scripts/tool/update_client_api_rev.sh new_rev_id # ⚠️⚠️⚠️️ -client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "40fc18a49997bb445c312f725b6850850b5f4db3" } +client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "d0bdbb795ca18a68144d0587496e6dce38692839" } # Please use the following script to update collab. # Working directory: frontend #