mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3053 Protocol | Enhancement | 0.37.0-alpha03 (#1785)
This commit is contained in:
parent
1d17141fc6
commit
a67b03f1d1
4 changed files with 35 additions and 12 deletions
|
@ -3357,6 +3357,7 @@ message Rpc {
|
|||
anytype.model.Block.Content.File.Style style = 5;
|
||||
google.protobuf.Struct details = 7; // additional details for file object
|
||||
anytype.model.ObjectOrigin origin = 8;
|
||||
anytype.model.ImageKind imageKind = 9;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -3690,6 +3691,7 @@ message Rpc {
|
|||
message Request {
|
||||
string pictureId = 1;
|
||||
string spaceId = 2;
|
||||
anytype.model.ImageKind imageKind = 3;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -5212,6 +5214,7 @@ message Rpc {
|
|||
string url = 4;
|
||||
string localPath = 5;
|
||||
anytype.model.Block.Content.File.Type fileType = 6;
|
||||
anytype.model.ImageKind imageKind = 7;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
|
|
@ -1122,15 +1122,27 @@ message Import {
|
|||
}
|
||||
|
||||
enum ErrorCode {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
INTERNAL_ERROR = 3;
|
||||
NO_OBJECTS_TO_IMPORT = 5;
|
||||
IMPORT_IS_CANCELED = 6;
|
||||
LIMIT_OF_ROWS_OR_RELATIONS_EXCEEDED = 7;
|
||||
FILE_LOAD_ERROR = 8;
|
||||
INSUFFICIENT_PERMISSIONS = 9;
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
INTERNAL_ERROR = 3;
|
||||
FILE_LOAD_ERROR = 8;
|
||||
IMPORT_IS_CANCELED = 6;
|
||||
|
||||
NOTION_NO_OBJECTS_IN_INTEGRATION= 5;
|
||||
NOTION_SERVER_IS_UNAVAILABLE = 12;
|
||||
NOTION_RATE_LIMIT_EXCEEDED= 13;
|
||||
|
||||
FILE_IMPORT_NO_OBJECTS_IN_ZIP_ARCHIVE = 14;
|
||||
FILE_IMPORT_NO_OBJECTS_IN_DIRECTORY = 17;
|
||||
|
||||
HTML_WRONG_HTML_STRUCTURE = 10;
|
||||
|
||||
PB_NOT_ANYBLOCK_FORMAT = 11;
|
||||
|
||||
CSV_LIMIT_OF_ROWS_OR_RELATIONS_EXCEEDED = 7;
|
||||
|
||||
INSUFFICIENT_PERMISSIONS = 9;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1172,6 +1184,7 @@ enum ImageKind {
|
|||
Basic = 0;
|
||||
Cover = 1;
|
||||
Icon = 2;
|
||||
AutomaticallyAdded = 3;
|
||||
}
|
||||
|
||||
enum FileIndexingStatus {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue