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: fix ws conn (#4582)
Nathan.fooo722691c9221b
diff --git a/frontend/appflowy_flutter/lib/env/cloud_env.dart b/frontend/appflowy_flutter/lib/env/cloud_env.dartindex 066695025f..783b8177d1 100644--- a/frontend/appflowy_flutter/lib/env/cloud_env.dart+++ b/frontend/appflowy_flutter/lib/env/cloud_env.dart@@ -54,7 +54,10 @@ Future<AuthenticatorType> getAuthenticatorType() async {final value = await getIt<KeyValueStorage>().get(KVKeys.kCloudType);if (value.isNone() && !integrationMode().isUnitTest) {// if the cloud type is not set, then set it to AppFlowy Cloud as default.- await useAppFlowyBetaCloudWithURL(kAppflowyCloudUrl);+ await useAppFlowyBetaCloudWithURL(+ kAppflowyCloudUrl,+ AuthenticatorType.appflowyCloud,+ );return AuthenticatorType.appflowyCloud;}@@ -70,7 +73,10 @@ Future<AuthenticatorType> getAuthenticatorType() async {case "4":return AuthenticatorType.appflowyCloudDevelop;default:- await useAppFlowyBetaCloudWithURL(kAppflowyCloudUrl);+ await useAppFlowyBetaCloudWithURL(+ kAppflowyCloudUrl,+ AuthenticatorType.appflowyCloud,+ );return AuthenticatorType.appflowyCloud;}}@@ -183,8 +189,11 @@ Future<void> useSelfHostedAppFlowyCloudWithURL(String url) async {await _setAppFlowyCloudUrl(Some(url));}-Future<void> useAppFlowyBetaCloudWithURL(String url) async {- await _setAuthenticatorType(AuthenticatorType.appflowyCloud);+Future<void> useAppFlowyBetaCloudWithURL(+ String url,+ AuthenticatorType authenticatorType,+) async {+ await _setAuthenticatorType(authenticatorType);await _setAppFlowyCloudUrl(Some(url));}diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_appflowy_cloud.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_appflowy_cloud.dartindex ca4083c663..ab9473baac 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_appflowy_cloud.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_appflowy_cloud.dart@@ -69,7 +69,10 @@ class AppFlowyCloudViewSetting extends StatelessWidget {NavigatorAlertDialog(title: LocaleKeys.settings_menu_restartAppTip.tr(),confirm: () async {- await useAppFlowyBetaCloudWithURL(serverURL);+ await useAppFlowyBetaCloudWithURL(+ serverURL,+ authenticatorType,+ );restartAppFlowy();},).show(context);diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.lock b/frontend/appflowy_tauri/src-tauri/Cargo.lockindex a107bc046e..796485aca5 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=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"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=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["again","anyhow",@@ -1311,7 +1311,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"[[package]]name = "database-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -2574,7 +2574,7 @@ dependencies = [[[package]]name = "gotrue"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","futures-util",@@ -2591,7 +2591,7 @@ dependencies = [[[package]]name = "gotrue-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -3028,7 +3028,7 @@ dependencies = [[[package]]name = "infra"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","reqwest",@@ -4706,7 +4706,7 @@ dependencies = [[[package]]name = "realtime-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","bincode",@@ -4729,7 +4729,7 @@ dependencies = [[[package]]name = "realtime-protocol"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","bincode",@@ -5377,7 +5377,7 @@ dependencies = [[[package]]name = "shared-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -6857,7 +6857,7 @@ checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc"[[package]]name = "websocket"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["futures-channel","futures-util",@@ -7257,7 +7257,7 @@ dependencies = [[[package]]name = "workspace-template"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","async-trait",diff --git a/frontend/appflowy_tauri/src-tauri/Cargo.toml b/frontend/appflowy_tauri/src-tauri/Cargo.tomlindex b16784524a..a2e4a784b7 100644--- a/frontend/appflowy_tauri/src-tauri/Cargo.toml+++ b/frontend/appflowy_tauri/src-tauri/Cargo.toml@@ -62,7 +62,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 = "199452d3b77a352c03810d4146b39d76bab0313c" }+client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "c1b797a2c46839cb0a1e8c785cb6abbfac01fa13" }# 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.lockindex 8cc4e86da7..ce207cb67a 100644--- a/frontend/appflowy_web/wasm-libs/Cargo.lock+++ b/frontend/appflowy_web/wasm-libs/Cargo.lock@@ -216,7 +216,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca"[[package]]name = "app-error"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","bincode",@@ -534,7 +534,7 @@ dependencies = [[[package]]name = "client-api"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["again","anyhow",@@ -888,7 +888,7 @@ dependencies = ["cssparser-macros","dtoa-short","itoa",- "phf 0.8.0",+ "phf 0.11.2","smallvec",]@@ -933,7 +933,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"[[package]]name = "database-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -1646,7 +1646,7 @@ dependencies = [[[package]]name = "gotrue"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","futures-util",@@ -1663,7 +1663,7 @@ dependencies = [[[package]]name = "gotrue-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -1979,7 +1979,7 @@ dependencies = [[[package]]name = "infra"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","reqwest",@@ -2681,7 +2681,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",]@@ -2701,6 +2701,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",]@@ -2768,6 +2769,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"@@ -3171,7 +3185,7 @@ dependencies = [[[package]]name = "realtime-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","bincode",@@ -3194,7 +3208,7 @@ dependencies = [[[package]]name = "realtime-protocol"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","bincode",@@ -3641,7 +3655,7 @@ dependencies = [[[package]]name = "shared-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -4583,7 +4597,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10"[[package]]name = "websocket"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["futures-channel","futures-util",diff --git a/frontend/appflowy_web/wasm-libs/Cargo.toml b/frontend/appflowy_web/wasm-libs/Cargo.tomlindex 2c20f888ac..2e808d1b5b 100644--- a/frontend/appflowy_web/wasm-libs/Cargo.toml+++ b/frontend/appflowy_web/wasm-libs/Cargo.toml@@ -62,7 +62,7 @@ lto = 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 = "199452d3b77a352c03810d4146b39d76bab0313c" }+client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "c1b797a2c46839cb0a1e8c785cb6abbfac01fa13" }# Please use the following script to update collab.# Working directory: frontend#diff --git a/frontend/rust-lib/Cargo.lock b/frontend/rust-lib/Cargo.lockindex d9c755fa9f..3ca6ff07f0 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=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"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=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["again","anyhow",@@ -1102,7 +1102,7 @@ dependencies = ["cssparser-macros","dtoa-short","itoa",- "phf 0.8.0",+ "phf 0.11.2","smallvec",]@@ -1235,7 +1235,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"[[package]]name = "database-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -2404,7 +2404,7 @@ dependencies = [[[package]]name = "gotrue"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","futures-util",@@ -2421,7 +2421,7 @@ dependencies = [[[package]]name = "gotrue-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -2797,7 +2797,7 @@ dependencies = [[[package]]name = "infra"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","reqwest",@@ -3587,7 +3587,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",]@@ -3607,6 +3607,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",]@@ -3674,6 +3675,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"@@ -4227,7 +4241,7 @@ dependencies = [[[package]]name = "realtime-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","bincode",@@ -4250,7 +4264,7 @@ dependencies = [[[package]]name = "realtime-protocol"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","bincode",@@ -4838,7 +4852,7 @@ dependencies = [[[package]]name = "shared-entity"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","app-error",@@ -6013,7 +6027,7 @@ checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc"[[package]]name = "websocket"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["futures-channel","futures-util",@@ -6234,7 +6248,7 @@ dependencies = [[[package]]name = "workspace-template"version = "0.1.0"-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=199452d3b77a352c03810d4146b39d76bab0313c#199452d3b77a352c03810d4146b39d76bab0313c"+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=c1b797a2c46839cb0a1e8c785cb6abbfac01fa13#c1b797a2c46839cb0a1e8c785cb6abbfac01fa13"dependencies = ["anyhow","async-trait",diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.tomlindex 4b53bbbadf..8547a463bb 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 = "199452d3b77a352c03810d4146b39d76bab0313c" }+client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "c1b797a2c46839cb0a1e8c785cb6abbfac01fa13" }# Please use the following script to update collab.# Working directory: frontend#