mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3513 Protocol | Enhancement | MW 0.40.3 (#2226)
This commit is contained in:
parent
e77d630218
commit
8835800699
4 changed files with 38 additions and 1 deletions
|
@ -2908,6 +2908,35 @@ message Rpc {
|
|||
|
||||
}
|
||||
|
||||
message Export {
|
||||
message Request {
|
||||
string spaceId = 10;
|
||||
// ids of documents for export, when empty - will export all available docs
|
||||
string objectId = 2;
|
||||
// export format
|
||||
anytype.model.Export.Format format = 3;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string result = 2;
|
||||
ResponseEvent event = 3;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
message Import {
|
||||
message Request {
|
||||
option (no_auth) = true;
|
||||
|
|
|
@ -108,6 +108,7 @@ message Event {
|
|||
Membership.Update membershipUpdate = 117;
|
||||
|
||||
Space.SyncStatus.Update spaceSyncStatusUpdate = 119;
|
||||
Space.AutoWidgetAdded spaceAutoWidgetAdded = 122;
|
||||
|
||||
P2PStatus.Update p2pStatusUpdate = 120;
|
||||
|
||||
|
@ -1154,6 +1155,12 @@ message Event {
|
|||
IncompatibleVersion = 2;
|
||||
NetworkError = 3;
|
||||
}
|
||||
|
||||
message AutoWidgetAdded {
|
||||
string targetId = 1;
|
||||
string targetName = 2; // pluralName (if exists) for types, fallback to name. Special cases for "bin" and "favorites"
|
||||
string widgetBlockId = 3;
|
||||
}
|
||||
}
|
||||
message P2PStatus {
|
||||
message Update {
|
||||
|
|
|
@ -593,6 +593,7 @@ message Block {
|
|||
Layout layout = 1;
|
||||
int32 limit = 2;
|
||||
string viewId = 3;
|
||||
bool autoAdded = 4;
|
||||
|
||||
enum Layout {
|
||||
Link = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue