1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3470 Protocol | Integrate 0.40.0-rc7 (#2155)

This commit is contained in:
Konstantin Ivanov 2025-03-13 10:10:02 +01:00 committed by GitHub
parent 58f64ffd61
commit 3512703594
Signed by: github
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View file

@ -1,5 +1,5 @@
[versions]
middlewareVersion = "v0.40.0-rc6"
middlewareVersion = "v0.40.0-rc7"
kotlinVersion = '2.0.21'
kspVersion = "2.0.21-1.0.25"

View file

@ -1664,6 +1664,7 @@ message Rpc {
string spaceId = 4;
string objectTypeUniqueKey = 5;
bool withChat = 6;
bool createTypeWidgetIfMissing = 7; // experimental flag to auto-create type widget if missing
}
message Response {
@ -2841,6 +2842,7 @@ message Rpc {
bool noProgress = 11;
StateFilters linksStateFilters = 12;
bool includeBacklinks = 13;
bool includeSpace = 14;
}
message StateFilters {
repeated RelationsWhiteList relationsWhiteList = 1;
@ -3716,6 +3718,7 @@ message Rpc {
google.protobuf.Struct details = 7; // additional details for file object
anytype.model.ObjectOrigin origin = 8;
anytype.model.ImageKind imageKind = 9;
bool createTypeWidgetIfMissing = 10; // experimental flag to auto-create type widget if missing
}
message Response {

View file

@ -336,7 +336,7 @@ message Block {
}
message Dataview {
repeated string source = 1;
repeated string source = 1; // can be set for detached(without TargetObjectId) inline sets
repeated View views = 2;
string activeView = 3; // do not generate changes for this field
// deprecated
@ -344,7 +344,7 @@ message Block {
repeated GroupOrder groupOrders = 12;
repeated ObjectOrder objectOrders = 13;
repeated anytype.model.RelationLink relationLinks = 5;
string TargetObjectId = 6;
string TargetObjectId = 6; // empty for original set/collection objects and for detached inline sets
bool isCollection = 14;
message View {
@ -1019,6 +1019,12 @@ enum SpaceAccessType {
Shared = 2;
}
enum SpaceUxType {
Chat = 0; // chat-first UX
Data = 1; // objects-first UX
Stream = 2; // stream UX (chat with limited amount of owners)
}
message Metadata {
oneof payload {
Payload.IdentityPayload identity = 1;