mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
GO-4932 Merge remote-tracking branch 'refs/remotes/origin/main' into go-4932-type-dataview-widget
# Conflicts: # core/block/editor/converter/layout.go # core/block/object/objectcreator/set.go # pb/commands.pb.go # pkg/lib/bundle/relation.gen.go # pkg/lib/pb/model/models.pb.go
This commit is contained in:
commit
6c444a6102
281 changed files with 14358 additions and 11066 deletions
|
@ -1687,6 +1687,7 @@ message Rpc {
|
|||
google.protobuf.Struct details = 1;
|
||||
string spaceId = 2;
|
||||
bool withChat = 3;
|
||||
string templateId = 4;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -1821,6 +1822,7 @@ message Rpc {
|
|||
google.protobuf.Struct details = 4;
|
||||
bool addPageContent = 5;
|
||||
bool withChat = 6;
|
||||
string templateId = 7;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -3337,6 +3339,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 {
|
||||
|
@ -5761,6 +5837,7 @@ message Rpc {
|
|||
string contextId = 1;
|
||||
string blockId = 2;
|
||||
string url = 3;
|
||||
string templateId = 4;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -5786,6 +5863,7 @@ message Rpc {
|
|||
string targetId = 2;
|
||||
anytype.model.Block.Position position = 3;
|
||||
string url = 4;
|
||||
string templateId = 5;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -6137,31 +6215,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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue