mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
parent
71245756b7
commit
6af7da4881
3 changed files with 29 additions and 2 deletions
|
@ -88,7 +88,7 @@ ext {
|
|||
|
||||
// Anytype
|
||||
|
||||
middleware_version = 'v0.17.2'
|
||||
middleware_version = 'v0.17.3'
|
||||
|
||||
mainApplication = [
|
||||
kotlin: "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version",
|
||||
|
|
|
@ -3634,6 +3634,33 @@ message Rpc {
|
|||
}
|
||||
}
|
||||
|
||||
message ExportLocalstore {
|
||||
message Request {
|
||||
// the path where export files will place
|
||||
string path = 1;
|
||||
// ids of documents for export, when empty - will export all available docs
|
||||
repeated string docIds = 2;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string path = 2;
|
||||
ResponseEvent event = 3;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
message MakeTemplate {
|
||||
message Request {
|
||||
|
|
|
@ -7,7 +7,7 @@ import "models.proto";
|
|||
|
||||
message ObjectInfo {
|
||||
string id = 1;
|
||||
repeated string objectTypeUrls = 2;
|
||||
repeated string objectTypeUrls = 2; // deprecated
|
||||
google.protobuf.Struct details = 3;
|
||||
repeated Relation relations = 4;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue