mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: bump collab and client api (#5069)
* chore: bump collab that do not emit awareness by default * chore: bump collab
This commit is contained in:
22
frontend/appflowy_tauri/src-tauri/Cargo.lock
generated
22
frontend/appflowy_tauri/src-tauri/Cargo.lock
generated
@ -156,7 +156,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "app-error"
|
name = "app-error"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -712,7 +712,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-api"
|
name = "client-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"again",
|
"again",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -759,7 +759,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-websocket"
|
name = "client-websocket"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-channel",
|
"futures-channel",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -998,7 +998,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-entity"
|
name = "collab-rt-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -1023,7 +1023,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-protocol"
|
name = "collab-rt-protocol"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -1371,7 +1371,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "database-entity"
|
name = "database-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -2687,7 +2687,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue"
|
name = "gotrue"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -2704,7 +2704,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue-entity"
|
name = "gotrue-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -3155,7 +3155,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "infra"
|
name = "infra"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
@ -5599,7 +5599,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "shared-entity"
|
name = "shared-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -7587,7 +7587,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "workspace-template"
|
name = "workspace-template"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -87,7 +87,7 @@ yrs = { git = "https://github.com/appflowy/y-crdt", rev = "3f25bb510ca5274e7657d
|
|||||||
# Run the script:
|
# Run the script:
|
||||||
# scripts/tool/update_client_api_rev.sh new_rev_id
|
# scripts/tool/update_client_api_rev.sh new_rev_id
|
||||||
# ⚠️⚠️⚠️️
|
# ⚠️⚠️⚠️️
|
||||||
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "aa4df32f6d3b53bec5e3715f5abfe4fb9079021b" }
|
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "01f1af98f50fa18db495a948918f35dc6fa6ae92" }
|
||||||
# Please use the following script to update collab.
|
# Please use the following script to update collab.
|
||||||
# Working directory: frontend
|
# Working directory: frontend
|
||||||
#
|
#
|
||||||
|
20
frontend/appflowy_web/wasm-libs/Cargo.lock
generated
20
frontend/appflowy_web/wasm-libs/Cargo.lock
generated
@ -215,7 +215,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "app-error"
|
name = "app-error"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -541,7 +541,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-api"
|
name = "client-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"again",
|
"again",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -587,7 +587,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-websocket"
|
name = "client-websocket"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-channel",
|
"futures-channel",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -765,7 +765,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-entity"
|
name = "collab-rt-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -790,7 +790,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-protocol"
|
name = "collab-rt-protocol"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -1001,7 +1001,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "database-entity"
|
name = "database-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -1769,7 +1769,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue"
|
name = "gotrue"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -1786,7 +1786,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue-entity"
|
name = "gotrue-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -2116,7 +2116,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "infra"
|
name = "infra"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
@ -3816,7 +3816,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "shared-entity"
|
name = "shared-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
|
@ -55,7 +55,7 @@ codegen-units = 1
|
|||||||
# Run the script:
|
# Run the script:
|
||||||
# scripts/tool/update_client_api_rev.sh new_rev_id
|
# scripts/tool/update_client_api_rev.sh new_rev_id
|
||||||
# ⚠️⚠️⚠️️
|
# ⚠️⚠️⚠️️
|
||||||
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "aa4df32f6d3b53bec5e3715f5abfe4fb9079021b" }
|
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "01f1af98f50fa18db495a948918f35dc6fa6ae92" }
|
||||||
# Please use the following script to update collab.
|
# Please use the following script to update collab.
|
||||||
# Working directory: frontend
|
# Working directory: frontend
|
||||||
#
|
#
|
||||||
|
22
frontend/appflowy_web_app/src-tauri/Cargo.lock
generated
22
frontend/appflowy_web_app/src-tauri/Cargo.lock
generated
@ -147,7 +147,7 @@ checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "app-error"
|
name = "app-error"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -687,7 +687,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-api"
|
name = "client-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"again",
|
"again",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -734,7 +734,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-websocket"
|
name = "client-websocket"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-channel",
|
"futures-channel",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -982,7 +982,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-entity"
|
name = "collab-rt-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -1007,7 +1007,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-protocol"
|
name = "collab-rt-protocol"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -1359,7 +1359,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "database-entity"
|
name = "database-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -2757,7 +2757,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue"
|
name = "gotrue"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -2774,7 +2774,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue-entity"
|
name = "gotrue-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -3221,7 +3221,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "infra"
|
name = "infra"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
@ -5678,7 +5678,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "shared-entity"
|
name = "shared-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -7880,7 +7880,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "workspace-template"
|
name = "workspace-template"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -87,7 +87,7 @@ yrs = { git = "https://github.com/appflowy/y-crdt", rev = "3f25bb510ca5274e7657d
|
|||||||
# Run the script:
|
# Run the script:
|
||||||
# scripts/tool/update_client_api_rev.sh new_rev_id
|
# scripts/tool/update_client_api_rev.sh new_rev_id
|
||||||
# ⚠️⚠️⚠️️
|
# ⚠️⚠️⚠️️
|
||||||
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "aa4df32f6d3b53bec5e3715f5abfe4fb9079021b" }
|
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "01f1af98f50fa18db495a948918f35dc6fa6ae92" }
|
||||||
# Please use the following script to update collab.
|
# Please use the following script to update collab.
|
||||||
# Working directory: frontend
|
# Working directory: frontend
|
||||||
#
|
#
|
||||||
|
22
frontend/rust-lib/Cargo.lock
generated
22
frontend/rust-lib/Cargo.lock
generated
@ -157,7 +157,7 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "app-error"
|
name = "app-error"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -669,7 +669,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-api"
|
name = "client-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"again",
|
"again",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -716,7 +716,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "client-websocket"
|
name = "client-websocket"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-channel",
|
"futures-channel",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -924,7 +924,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-entity"
|
name = "collab-rt-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -949,7 +949,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "collab-rt-protocol"
|
name = "collab-rt-protocol"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"bincode",
|
"bincode",
|
||||||
@ -1293,7 +1293,7 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "database-entity"
|
name = "database-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -2482,7 +2482,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue"
|
name = "gotrue"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
@ -2499,7 +2499,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "gotrue-entity"
|
name = "gotrue-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -2889,7 +2889,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "infra"
|
name = "infra"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
@ -4967,7 +4967,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "shared-entity"
|
name = "shared-entity"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"app-error",
|
"app-error",
|
||||||
@ -6405,7 +6405,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "workspace-template"
|
name = "workspace-template"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=aa4df32f6d3b53bec5e3715f5abfe4fb9079021b#aa4df32f6d3b53bec5e3715f5abfe4fb9079021b"
|
source = "git+https://github.com/AppFlowy-IO/AppFlowy-Cloud?rev=01f1af98f50fa18db495a948918f35dc6fa6ae92#01f1af98f50fa18db495a948918f35dc6fa6ae92"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -111,7 +111,7 @@ rocksdb = { git = "https://github.com/LucasXu0/rust-rocksdb", rev = "21cf4a23ec1
|
|||||||
# Run the script.add_workspace_members:
|
# Run the script.add_workspace_members:
|
||||||
# scripts/tool/update_client_api_rev.sh new_rev_id
|
# scripts/tool/update_client_api_rev.sh new_rev_id
|
||||||
# ⚠️⚠️⚠️️
|
# ⚠️⚠️⚠️️
|
||||||
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "aa4df32f6d3b53bec5e3715f5abfe4fb9079021b" }
|
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "01f1af98f50fa18db495a948918f35dc6fa6ae92" }
|
||||||
# Please use the following script to update collab.
|
# Please use the following script to update collab.
|
||||||
# Working directory: frontend
|
# Working directory: frontend
|
||||||
#
|
#
|
||||||
|
@ -30,8 +30,8 @@ lib-dispatch = { workspace = true }
|
|||||||
|
|
||||||
# Core
|
# Core
|
||||||
#flowy-core = { workspace = true, features = ["profiling"] }
|
#flowy-core = { workspace = true, features = ["profiling"] }
|
||||||
#flowy-core = { workspace = true, features = ["verbose_log"] }
|
flowy-core = { workspace = true, features = ["verbose_log"] }
|
||||||
flowy-core = { workspace = true }
|
#flowy-core = { workspace = true }
|
||||||
|
|
||||||
flowy-notification = { workspace = true, features = ["dart"] }
|
flowy-notification = { workspace = true, features = ["dart"] }
|
||||||
flowy-document = { workspace = true, features = ["dart"] }
|
flowy-document = { workspace = true, features = ["dart"] }
|
||||||
|
@ -51,7 +51,6 @@ pub struct FolderCollabParams {
|
|||||||
pub object_id: String,
|
pub object_id: String,
|
||||||
pub encoded_collab_v1: Vec<u8>,
|
pub encoded_collab_v1: Vec<u8>,
|
||||||
pub collab_type: CollabType,
|
pub collab_type: CollabType,
|
||||||
pub override_if_exist: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct FolderSnapshot {
|
pub struct FolderSnapshot {
|
||||||
|
@ -157,7 +157,6 @@ where
|
|||||||
object_id: object.object_id,
|
object_id: object.object_id,
|
||||||
encoded_collab_v1: object.encoded_collab_v1,
|
encoded_collab_v1: object.encoded_collab_v1,
|
||||||
collab_type: object.collab_type,
|
collab_type: object.collab_type,
|
||||||
override_if_exist: object.override_if_exist,
|
|
||||||
})
|
})
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
try_get_client?
|
try_get_client?
|
||||||
|
@ -278,7 +278,6 @@ where
|
|||||||
&self,
|
&self,
|
||||||
collab_object: &CollabObject,
|
collab_object: &CollabObject,
|
||||||
data: Vec<u8>,
|
data: Vec<u8>,
|
||||||
override_if_exist: bool,
|
|
||||||
) -> FutureResult<(), FlowyError> {
|
) -> FutureResult<(), FlowyError> {
|
||||||
let try_get_client = self.server.try_get_client();
|
let try_get_client = self.server.try_get_client();
|
||||||
let collab_object = collab_object.clone();
|
let collab_object = collab_object.clone();
|
||||||
@ -289,7 +288,6 @@ where
|
|||||||
object_id: collab_object.object_id.clone(),
|
object_id: collab_object.object_id.clone(),
|
||||||
encoded_collab_v1: data,
|
encoded_collab_v1: data,
|
||||||
collab_type: collab_object.collab_type.clone(),
|
collab_type: collab_object.collab_type.clone(),
|
||||||
override_if_exist,
|
|
||||||
};
|
};
|
||||||
client.create_collab(params).await?;
|
client.create_collab(params).await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
@ -310,7 +308,6 @@ where
|
|||||||
object_id: object.object_id,
|
object_id: object.object_id,
|
||||||
encoded_collab_v1: object.encoded_collab,
|
encoded_collab_v1: object.encoded_collab,
|
||||||
collab_type: object.collab_type,
|
collab_type: object.collab_type,
|
||||||
override_if_exist: false,
|
|
||||||
})
|
})
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
try_get_client?
|
try_get_client?
|
||||||
|
@ -166,7 +166,6 @@ impl UserCloudService for LocalServerUserAuthServiceImpl {
|
|||||||
&self,
|
&self,
|
||||||
_collab_object: &CollabObject,
|
_collab_object: &CollabObject,
|
||||||
_data: Vec<u8>,
|
_data: Vec<u8>,
|
||||||
_override_if_exist: bool,
|
|
||||||
) -> FutureResult<(), FlowyError> {
|
) -> FutureResult<(), FlowyError> {
|
||||||
FutureResult::new(async { Ok(()) })
|
FutureResult::new(async { Ok(()) })
|
||||||
}
|
}
|
||||||
|
@ -333,7 +333,6 @@ where
|
|||||||
&self,
|
&self,
|
||||||
collab_object: &CollabObject,
|
collab_object: &CollabObject,
|
||||||
data: Vec<u8>,
|
data: Vec<u8>,
|
||||||
_override_if_exist: bool,
|
|
||||||
) -> FutureResult<(), FlowyError> {
|
) -> FutureResult<(), FlowyError> {
|
||||||
let try_get_postgrest = self.server.try_get_weak_postgrest();
|
let try_get_postgrest = self.server.try_get_weak_postgrest();
|
||||||
let cloned_collab_object = collab_object.clone();
|
let cloned_collab_object = collab_object.clone();
|
||||||
|
@ -231,7 +231,6 @@ pub trait UserCloudService: Send + Sync + 'static {
|
|||||||
&self,
|
&self,
|
||||||
collab_object: &CollabObject,
|
collab_object: &CollabObject,
|
||||||
data: Vec<u8>,
|
data: Vec<u8>,
|
||||||
override_if_exist: bool,
|
|
||||||
) -> FutureResult<(), FlowyError>;
|
) -> FutureResult<(), FlowyError>;
|
||||||
|
|
||||||
fn batch_create_collab_object(
|
fn batch_create_collab_object(
|
||||||
|
@ -109,7 +109,7 @@ fn sync_view(
|
|||||||
doc_state.len()
|
doc_state.len()
|
||||||
);
|
);
|
||||||
user_service
|
user_service
|
||||||
.create_collab_object(&collab_object, doc_state, false)
|
.create_collab_object(&collab_object, doc_state)
|
||||||
.await?;
|
.await?;
|
||||||
},
|
},
|
||||||
ViewLayout::Grid | ViewLayout::Board | ViewLayout::Calendar => {
|
ViewLayout::Grid | ViewLayout::Board | ViewLayout::Calendar => {
|
||||||
@ -121,7 +121,7 @@ fn sync_view(
|
|||||||
database_doc_state.len()
|
database_doc_state.len()
|
||||||
);
|
);
|
||||||
user_service
|
user_service
|
||||||
.create_collab_object(&collab_object, database_doc_state, false)
|
.create_collab_object(&collab_object, database_doc_state)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
// sync database's row
|
// sync database's row
|
||||||
@ -145,7 +145,7 @@ fn sync_view(
|
|||||||
);
|
);
|
||||||
|
|
||||||
let _ = user_service
|
let _ = user_service
|
||||||
.create_collab_object(&database_row_collab_object, database_row_doc_state, false)
|
.create_collab_object(&database_row_collab_object, database_row_doc_state)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
let database_row_document = CollabObject::new(
|
let database_row_document = CollabObject::new(
|
||||||
@ -165,7 +165,7 @@ fn sync_view(
|
|||||||
document_doc_state.len()
|
document_doc_state.len()
|
||||||
);
|
);
|
||||||
let _ = user_service
|
let _ = user_service
|
||||||
.create_collab_object(&database_row_document, document_doc_state, false)
|
.create_collab_object(&database_row_document, document_doc_state)
|
||||||
.await;
|
.await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -287,7 +287,7 @@ async fn sync_folder(
|
|||||||
update.len()
|
update.len()
|
||||||
);
|
);
|
||||||
if let Err(err) = user_service
|
if let Err(err) = user_service
|
||||||
.create_collab_object(&collab_object, update.to_vec(), false)
|
.create_collab_object(&collab_object, update.to_vec())
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
tracing::error!("🔴sync folder failed: {:?}", err);
|
tracing::error!("🔴sync folder failed: {:?}", err);
|
||||||
@ -334,7 +334,7 @@ async fn sync_database_views(
|
|||||||
|
|
||||||
if let Ok((records, doc_state)) = result {
|
if let Ok((records, doc_state)) = result {
|
||||||
let _ = user_service
|
let _ = user_service
|
||||||
.create_collab_object(&collab_object, doc_state.to_vec(), false)
|
.create_collab_object(&collab_object, doc_state.to_vec())
|
||||||
.await;
|
.await;
|
||||||
records.into_iter().map(Arc::new).collect()
|
records.into_iter().map(Arc::new).collect()
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user