mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3056 Protocol | Integrate 0.37.0-alpha04 (#1792)
This commit is contained in:
parent
92ee1b4ce5
commit
fbe7242d0f
7 changed files with 83 additions and 40 deletions
|
@ -3119,8 +3119,12 @@ message Rpc {
|
|||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
repeated string relationKeys = 2;
|
||||
repeated int64 counters = 3;
|
||||
repeated ResponseItem list = 2;
|
||||
|
||||
message ResponseItem {
|
||||
string relationKey = 1;
|
||||
int64 counter = 2;
|
||||
}
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
|
@ -6703,6 +6707,42 @@ message Rpc {
|
|||
string id = 1;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
message Subscribe {
|
||||
message Request {}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
message Unsubscribe {
|
||||
message Request {}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
||||
|
|
|
@ -1160,19 +1160,25 @@ message ResponseEvent {
|
|||
message Model {
|
||||
message Process {
|
||||
string id = 1;
|
||||
Type type = 2;
|
||||
State state = 3;
|
||||
Progress progress = 4;
|
||||
string spaceId = 5;
|
||||
|
||||
enum Type {
|
||||
DropFiles = 0;
|
||||
Import = 1;
|
||||
Export = 2;
|
||||
SaveFile = 3;
|
||||
RecoverAccount = 4;
|
||||
Migration = 5;
|
||||
oneof message {
|
||||
DropFiles dropFiles = 6;
|
||||
Import import= 7;
|
||||
Export export= 8;
|
||||
SaveFile saveFile = 9;
|
||||
Migration migration = 10;
|
||||
}
|
||||
|
||||
string error = 11;
|
||||
message DropFiles {}
|
||||
message Import {}
|
||||
message Export {}
|
||||
message SaveFile {}
|
||||
message Migration {}
|
||||
|
||||
enum State {
|
||||
None = 0;
|
||||
Running = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue