From 444aa357483b2889926d12fde5343c44f5a85b08 Mon Sep 17 00:00:00 2001 From: Evgenii Kozlov Date: Mon, 2 Jun 2025 12:54:42 +0200 Subject: [PATCH] DROID-3717 Protocol | Enhancement | MW 0.41.0-rc16 (#2485) --- gradle/libs.versions.toml | 2 +- protocol/src/main/proto/commands.proto | 22 ++++++++++++++++++++++ protocol/src/main/proto/events.proto | 1 + protocol/src/main/proto/models.proto | 1 + 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f93747cfab..481fca96a6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -middlewareVersion = "v0.41.0-rc15" +middlewareVersion = "v0.41.0-rc16" kotlinVersion = '2.0.21' kspVersion = "2.0.21-1.0.25" diff --git a/protocol/src/main/proto/commands.proto b/protocol/src/main/proto/commands.proto index d4852a15c8..1ed4a41ff7 100644 --- a/protocol/src/main/proto/commands.proto +++ b/protocol/src/main/proto/commands.proto @@ -8508,6 +8508,28 @@ message Rpc { } } } + + + message ReadAll { + message Request {} + + message Response { + Error error = 1; + + message Error { + Code code = 1; + string description = 2; + + enum Code { + NULL = 0; + UNKNOWN_ERROR = 1; + BAD_INPUT = 2; + // ... + } + } + } + } + } message PushNotification { message RegisterToken { diff --git a/protocol/src/main/proto/events.proto b/protocol/src/main/proto/events.proto index 31da241fbb..394f6c9d55 100644 --- a/protocol/src/main/proto/events.proto +++ b/protocol/src/main/proto/events.proto @@ -817,6 +817,7 @@ message Event { anytype.model.Block.Content.Dataview.View.Size cardSize = 5; // Gallery card size bool coverFit = 6; // Image fits container string groupRelationKey = 7; // Group view by this relationKey + string endRelationKey = 16; bool groupBackgroundColors = 8; // Enable backgrounds in groups int32 pageLimit = 9; // Limit of objects shown in widget string defaultTemplateId = 10; // Id of template object set default for the view diff --git a/protocol/src/main/proto/models.proto b/protocol/src/main/proto/models.proto index a5a4bf4ca4..bdf88f5f3f 100644 --- a/protocol/src/main/proto/models.proto +++ b/protocol/src/main/proto/models.proto @@ -363,6 +363,7 @@ message Block { int32 pageLimit = 13; // Limit of objects shown in widget string defaultTemplateId = 14; // Default template that is chosen for new object created within the view string defaultObjectTypeId = 15; // Default object type that is chosen for new object created within the view + string endRelationKey = 16; // Group view by this relationKey enum Type { Table = 0;