1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-07 21:37:02 +09:00

DROID-3076 Protocol | Enhancement | MW 0.37.0-alpha05 (#1812)

This commit is contained in:
Evgenii Kozlov 2024-11-19 11:44:36 +01:00 committed by GitHub
parent ddb77f7107
commit 2a98d06429
Signed by: github
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 2 deletions

View file

@ -1,5 +1,5 @@
[versions]
middlewareVersion = "v0.37.0-alpha04"
middlewareVersion = "v0.37.0-alpha05"
kotlinVersion = '2.0.21'
kspVersion = "2.0.21-1.0.25"

View file

@ -1811,7 +1811,7 @@ message Rpc {
repeated string keys = 7;
bool returnMeta = 8; // add ResultMeta to each result
bool returnMetaRelationDetails = 9; // add relation option details to meta
bool returnHTMLHighlightsInsteadOfRanges = 10;
bool returnHTMLHighlightsInsteadOfRanges = 10; //DEPRECATED
}
message Response {

View file

@ -389,6 +389,7 @@ message Block {
bool dateIncludeTime = 5;
TimeFormat timeFormat = 6;
DateFormat dateFormat = 7;
FormulaType formula = 8;
enum DateFormat {
MonthAbbrBeforeDay = 0; // Jul 30, 2020
@ -402,6 +403,22 @@ message Block {
Format12 = 0;
Format24 = 1;
}
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;
}
}
message Sort {