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:
parent
2517367f5a
commit
e05549ce6f
3 changed files with 27 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue