mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
Tech | MW 0.18.1 (#2211)
This commit is contained in:
parent
766df72bd4
commit
4a7f8df07b
2 changed files with 23 additions and 3 deletions
|
@ -86,7 +86,7 @@ ext {
|
|||
|
||||
// Anytype
|
||||
|
||||
middleware_version = 'v0.17.37'
|
||||
middleware_version = 'v0.18.1'
|
||||
|
||||
mainApplication = [
|
||||
kotlin: "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version",
|
||||
|
|
|
@ -3720,6 +3720,28 @@ message Rpc {
|
|||
}
|
||||
|
||||
message ObjectList {
|
||||
message Duplicate {
|
||||
message Request {
|
||||
repeated string objectIds = 1;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
repeated string ids = 2;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
message Delete {
|
||||
// Deletes the object, keys from the local store and unsubscribe from remote changes. Also offloads all orphan files
|
||||
message Request {
|
||||
|
@ -3991,13 +4013,11 @@ message Rpc {
|
|||
|
||||
message ObjectDuplicate {
|
||||
message Request {
|
||||
// id of template block for cloning
|
||||
string contextId = 1;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
// created template id
|
||||
string id = 2;
|
||||
|
||||
message Error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue