mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2622 Protocol | Integrate 0.35.0-rc2 (#1364)
This commit is contained in:
parent
90d493bb95
commit
730dd698b7
3 changed files with 93 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
[versions]
|
||||
middlewareVersion = "v0.34.3"
|
||||
middlewareVersion = "v0.35.0-rc2"
|
||||
kotlinVersion = '2.0.0'
|
||||
kspVersion = "2.0.0-1.0.22"
|
||||
|
||||
|
|
|
@ -3103,6 +3103,23 @@ message Rpc {
|
|||
}
|
||||
|
||||
message File {
|
||||
message Reconcile {
|
||||
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 Offload {
|
||||
message Request {
|
||||
string id = 1;
|
||||
|
@ -6333,6 +6350,50 @@ message Rpc {
|
|||
}
|
||||
}
|
||||
|
||||
message RunProfiler {
|
||||
message Request {
|
||||
option (no_auth) = true;
|
||||
int32 durationInSeconds = 1;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string path = 2;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
message AccountSelectTrace {
|
||||
message Request {
|
||||
option (no_auth) = true;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string path = 2;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message Ping {
|
||||
message Request {
|
||||
int32 index = 1;
|
||||
|
|
|
@ -104,6 +104,8 @@ message Event {
|
|||
Payload.Broadcast payloadBroadcast = 116;
|
||||
|
||||
Membership.Update membershipUpdate = 117;
|
||||
|
||||
Space.SyncStatus.Update spaceSyncStatusUpdate = 119;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1066,6 +1068,35 @@ message Event {
|
|||
string payload = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message Space {
|
||||
message SyncStatus {
|
||||
message Update {
|
||||
string id = 1;
|
||||
Status status = 2;
|
||||
Network network = 3;
|
||||
SyncError error = 4;
|
||||
int64 syncingObjectsCounter = 5;
|
||||
}
|
||||
}
|
||||
enum Status {
|
||||
Synced = 0;
|
||||
Syncing = 1;
|
||||
Error = 2;
|
||||
Offline = 3;
|
||||
}
|
||||
enum Network {
|
||||
Anytype = 0;
|
||||
SelfHost = 1;
|
||||
LocalOnly = 2;
|
||||
}
|
||||
enum SyncError {
|
||||
Null = 0;
|
||||
StorageLimitExceed = 1;
|
||||
IncompatibleVersion = 2;
|
||||
NetworkError = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message ResponseEvent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue