1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 09:35:00 +09:00

GO-4780 Merge branch 'go-4779-show-last-message-preview-from-chat-in-vault' into go-4780-change-orderid-to-afterorderid-in-subscriptiongo

# Conflicts:
#	go.mod
#	go.sum
This commit is contained in:
Sergey 2025-03-03 15:33:05 +01:00
commit d1bf282df1
No known key found for this signature in database
GPG key ID: 3B6BEF79160221C6
237 changed files with 15157 additions and 7610 deletions

View file

@ -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 {

View file

@ -162,6 +162,9 @@ service ClientCommands {
rpc ObjectCreateObjectType (anytype.Rpc.Object.CreateObjectType.Request) returns (anytype.Rpc.Object.CreateObjectType.Response);
rpc ObjectTypeRelationAdd (anytype.Rpc.ObjectType.Relation.Add.Request) returns (anytype.Rpc.ObjectType.Relation.Add.Response);
rpc ObjectTypeRelationRemove (anytype.Rpc.ObjectType.Relation.Remove.Request) returns (anytype.Rpc.ObjectType.Relation.Remove.Response);
rpc ObjectTypeRecommendedRelationsSet (anytype.Rpc.ObjectType.Recommended.RelationsSet.Request) returns (anytype.Rpc.ObjectType.Recommended.RelationsSet.Response);
rpc ObjectTypeRecommendedFeaturedRelationsSet (anytype.Rpc.ObjectType.Recommended.FeaturedRelationsSet.Request) returns (anytype.Rpc.ObjectType.Recommended.FeaturedRelationsSet.Response);
rpc ObjectTypeListConflictingRelations (anytype.Rpc.ObjectType.ListConflictingRelations.Request) returns (anytype.Rpc.ObjectType.ListConflictingRelations.Response);
rpc HistoryShowVersion (anytype.Rpc.History.ShowVersion.Request) returns (anytype.Rpc.History.ShowVersion.Response);
rpc HistoryGetVersions (anytype.Rpc.History.GetVersions.Request) returns (anytype.Rpc.History.GetVersions.Response);