mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3411 Protocol | Integrate 0.40.0-rc1 + AGP 8.8.1 (#2119)
This commit is contained in:
parent
8ae50b27a2
commit
45f59c951d
5 changed files with 92 additions and 37 deletions
|
@ -1686,6 +1686,7 @@ message Rpc {
|
|||
google.protobuf.Struct details = 1;
|
||||
string spaceId = 2;
|
||||
bool withChat = 3;
|
||||
string templateId = 4;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -1820,6 +1821,7 @@ message Rpc {
|
|||
google.protobuf.Struct details = 4;
|
||||
bool addPageContent = 5;
|
||||
bool withChat = 6;
|
||||
string templateId = 7;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -3336,6 +3338,80 @@ message Rpc {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
message Recommended {
|
||||
message RelationsSet {
|
||||
message Request {
|
||||
string typeObjectId = 1;
|
||||
repeated string relationObjectIds = 2;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
READONLY_OBJECT_TYPE = 3;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message FeaturedRelationsSet {
|
||||
message Request {
|
||||
string typeObjectId = 1;
|
||||
repeated string relationObjectIds = 2;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
READONLY_OBJECT_TYPE = 3;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message ListConflictingRelations {
|
||||
message Request {
|
||||
string spaceId = 1;
|
||||
string typeObjectId = 2;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
repeated string relationIds = 2;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
READONLY_OBJECT_TYPE = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message Relation {
|
||||
|
@ -5759,6 +5835,7 @@ message Rpc {
|
|||
string contextId = 1;
|
||||
string blockId = 2;
|
||||
string url = 3;
|
||||
string templateId = 4;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -5784,6 +5861,7 @@ message Rpc {
|
|||
string targetId = 2;
|
||||
anytype.model.Block.Position position = 3;
|
||||
string url = 4;
|
||||
string templateId = 5;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -6135,31 +6213,6 @@ message Rpc {
|
|||
}
|
||||
}
|
||||
|
||||
message CreateBookmark {
|
||||
message Request {
|
||||
string contextId = 1;
|
||||
string blockId = 2;
|
||||
string url = 3;
|
||||
string spaceId = 4;
|
||||
}
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string id = 2;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message Filter {
|
||||
message Add {
|
||||
message Request {
|
||||
|
|
|
@ -732,7 +732,7 @@ message Event {
|
|||
FaviconHash faviconHash = 6;
|
||||
Type type = 7;
|
||||
TargetObjectId targetObjectId = 8;
|
||||
|
||||
|
||||
|
||||
message Url {
|
||||
string value = 1;
|
||||
|
|
|
@ -769,6 +769,8 @@ message ObjectType {
|
|||
string key = 12; // name of objectType (can be localized for bundled types)
|
||||
int64 revision = 13; // revision of system objectType. Used to check if we should change type content or not
|
||||
bool restrictObjectCreation = 14; // restricts creating objects of this type for users
|
||||
int64 iconColor = 15; // color of object type icon
|
||||
string iconName = 16; // name of object type icon
|
||||
|
||||
enum Layout {
|
||||
basic = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue