mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2775 Protocol | Enhancement | MW 0.36.0-rc2 (#1509)
Co-authored-by: konstantiniiv <ki@anytype.io>
This commit is contained in:
parent
e8075026d6
commit
f2122670b4
12 changed files with 63 additions and 15 deletions
|
@ -2417,6 +2417,35 @@ message Rpc {
|
|||
}
|
||||
}
|
||||
|
||||
message ListModifyDetailValues {
|
||||
message Request {
|
||||
repeated string objectIds = 1;
|
||||
repeated Operation operations = 2;
|
||||
|
||||
message Operation {
|
||||
string relationKey = 1;
|
||||
google.protobuf.Value add = 2;
|
||||
google.protobuf.Value set = 3;
|
||||
google.protobuf.Value remove = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message ApplyTemplate {
|
||||
message Request {
|
||||
string contextId = 1;
|
||||
|
@ -2559,9 +2588,9 @@ message Rpc {
|
|||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string collectionId = 2;
|
||||
int64 objectsCount = 3;
|
||||
Error error = 1; // deprecated
|
||||
string collectionId = 2; // deprecated
|
||||
int64 objectsCount = 3; // deprecated
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
|
|
|
@ -108,6 +108,8 @@ message Event {
|
|||
Space.SyncStatus.Update spaceSyncStatusUpdate = 119;
|
||||
|
||||
P2PStatus.Update p2pStatusUpdate = 120;
|
||||
|
||||
Import.Finish importFinish = 121;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1086,6 +1088,7 @@ message Event {
|
|||
Syncing = 1;
|
||||
Error = 2;
|
||||
Offline = 3;
|
||||
NetworkNeedsUpdate = 4;
|
||||
}
|
||||
enum Network {
|
||||
Anytype = 0;
|
||||
|
@ -1112,6 +1115,14 @@ message Event {
|
|||
Connected = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message Import {
|
||||
message Finish {
|
||||
string rootCollectionID = 1;
|
||||
int64 objectsCount = 2;
|
||||
model.Import.Type importType = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message ResponseEvent {
|
||||
|
|
|
@ -432,10 +432,12 @@ message Block {
|
|||
QuickOption quickOption = 6;
|
||||
RelationFormat format = 7;
|
||||
bool includeTime = 8;
|
||||
repeated Filter nestedFilters = 10;
|
||||
|
||||
enum Operator {
|
||||
And = 0;
|
||||
No = 0;
|
||||
Or = 1;
|
||||
And = 2;
|
||||
}
|
||||
|
||||
enum Condition {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue