diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 836e6fd8bd..1811139a43 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -middlewareVersion = "v0.37.4" +middlewareVersion = "v0.38.0" 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 570d85fc0c..563c963bb1 100644 --- a/protocol/src/main/proto/commands.proto +++ b/protocol/src/main/proto/commands.proto @@ -2776,10 +2776,6 @@ message Rpc { enum UseCase { NONE = 0; GET_STARTED = 1; - PERSONAL_PROJECTS = 2; - KNOWLEDGE_BASE = 3; - NOTES_DIARY = 4; - STRATEGIC_WRITING = 5; EMPTY = 6; } } @@ -2826,6 +2822,29 @@ message Rpc { } } } + + message DateByTimestamp { + message Request { + string spaceId = 1; + int64 timestamp = 2; + } + + message Response { + Error error = 1; + google.protobuf.Struct details = 2; + + message Error { + Code code = 1; + string description = 2; + + enum Code { + NULL = 0; + UNKNOWN_ERROR = 1; + BAD_INPUT = 2; + } + } + } + } } message ObjectCollection { diff --git a/protocol/src/main/proto/models.proto b/protocol/src/main/proto/models.proto index b1cc771f06..0f6cc2c7bd 100644 --- a/protocol/src/main/proto/models.proto +++ b/protocol/src/main/proto/models.proto @@ -407,17 +407,18 @@ message Block { enum FormulaType { None = 0; Count = 1; - CountDistinct = 2; - CountEmpty = 3; - CountNotEmpty = 4; - PercentEmpty = 5; - PercentNotEmpty = 6; - MathSum = 7; - MathAverage = 8; - MathMedian = 9; - MathMin = 10; - MathMax = 11; - Range = 12; + CountValue = 2; + CountDistinct = 3; + CountEmpty = 4; + CountNotEmpty = 5; + PercentEmpty = 6; + PercentNotEmpty = 7; + MathSum = 8; + MathAverage = 9; + MathMedian = 10; + MathMin = 11; + MathMax = 12; + Range = 13; } }