1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

Middleware | 0.15.22 (#1638)

This commit is contained in:
Evgenii Kozlov 2021-07-14 16:29:58 +03:00 committed by GitHub
parent 2517367f5a
commit e05549ce6f
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 2 deletions

View file

@ -86,7 +86,7 @@ ext {
// Anytype
middleware_version = '0.15.20'
middleware_version = '0.15.22'
mainApplication = [
kotlin: "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version",

View file

@ -3085,6 +3085,31 @@ message Rpc {
}
}
}
message SetLayout {
message Request {
string contextId = 1;
anytype.model.ObjectType.Layout layout = 3;
}
message Response {
Error error = 1;
ResponseEvent event = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
// ...
}
}
}
}
}
message Export {

View file

@ -107,7 +107,7 @@ message Block {
*/
message Link {
string targetBlockId = 1; // id of the target block
Style style = 2;
Style style = 2; // deprecated
google.protobuf.Struct fields = 3;
enum Style {