Skip to content

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.

chore: bump client api (#7249)

Lucas0c057243bc35
diff --git a/frontend/appflowy_flutter/integration_test/desktop/cloud/workspace/workspace_settings_test.dart b/frontend/appflowy_flutter/integration_test/desktop/cloud/workspace/workspace_settings_test.dart
index 420793bcc4..a58fea25b8 100644
--- a/frontend/appflowy_flutter/integration_test/desktop/cloud/workspace/workspace_settings_test.dart
+++ b/frontend/appflowy_flutter/integration_test/desktop/cloud/workspace/workspace_settings_test.dart
@@ -261,6 +261,10 @@ More actions for published page:
widget is PublishedViewItem &&
widget.publishInfoView.view.name == pageName,
);
+ if (pageItem.evaluate().isEmpty) {
+ return;
+ }
+
expect(pageItem, findsOneWidget);
final copyLinkItem = find.text(LocaleKeys.shareAction_copyLink.tr());
diff --git a/frontend/rust-lib/Cargo.lock b/frontend/rust-lib/Cargo.lock
index c78fb2c9cb..a8db89812b 100644
--- a/frontend/rust-lib/Cargo.lock
+++ b/frontend/rust-lib/Cargo.lock
@@ -163,7 +163,7 @@ checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
[[package]]
name = "app-error"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
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=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"bytes",
@@ -786,7 +786,7 @@ dependencies = [
[[package]]
name = "client-api"
version = "0.2.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"again",
"anyhow",
@@ -843,7 +843,7 @@ dependencies = [
[[package]]
name = "client-api-entity"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"collab-entity",
"collab-rt-entity",
@@ -856,7 +856,7 @@ dependencies = [
[[package]]
name = "client-websocket"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"futures-channel",
"futures-util",
@@ -1128,7 +1128,7 @@ dependencies = [
[[package]]
name = "collab-rt-entity"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"bincode",
@@ -1153,7 +1153,7 @@ dependencies = [
[[package]]
name = "collab-rt-protocol"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"async-trait",
@@ -1548,7 +1548,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"
[[package]]
name = "database-entity"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"app-error",
@@ -2970,7 +2970,7 @@ dependencies = [
[[package]]
name = "gotrue"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"futures-util",
@@ -2987,7 +2987,7 @@ dependencies = [
[[package]]
name = "gotrue-entity"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"app-error",
@@ -3598,7 +3598,7 @@ dependencies = [
[[package]]
name = "infra"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"bytes",
@@ -6154,7 +6154,7 @@ dependencies = [
[[package]]
name = "shared-entity"
version = "0.1.0"
-source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560#b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560"
+source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=5d9efb4#5d9efb42433db33d593987efe07259fcff123e60"
dependencies = [
"anyhow",
"app-error",
diff --git a/frontend/rust-lib/Cargo.toml b/frontend/rust-lib/Cargo.toml
index bdf2481220..38995fd527 100644
--- a/frontend/rust-lib/Cargo.toml
+++ b/frontend/rust-lib/Cargo.toml
@@ -103,8 +103,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 = "b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560" }
-client-api-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560" }
+client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "5d9efb4" }
+client-api-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "5d9efb4" }
[profile.dev]
opt-level = 0
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.rs
index a5e0b2e853..5457164a87 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
@@ -222,6 +222,8 @@ where
metadata: meta.metadata,
},
data,
+ comments_enabled: true,
+ duplicate_enabled: true,
})
})
.collect::<Vec<_>>();
@@ -277,6 +279,8 @@ where
&[PatchPublishedCollab {
view_id,
publish_name: Some(new_name),
+ comments_enabled: Some(true),
+ duplicate_enabled: Some(true),
}],
)
.await