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

DROID-1387 Protocol | Enhancement | MW 0.27.1 (#67)

This commit is contained in:
Evgenii Kozlov 2023-06-13 20:02:26 +02:00 committed by uburoiubu
parent ad25ecfcaf
commit ccc3b955b0
No known key found for this signature in database
GPG key ID: C8FB80E0A595FBB6
4 changed files with 35 additions and 16 deletions

View file

@ -1146,7 +1146,7 @@ message Rpc {
int32 offset = 4;
int32 limit = 5;
// additional filter by objectTypes
repeated string objectTypeFilter = 6; // deprecated, to be removed
repeated string objectTypeFilter = 6; // DEPRECATED
// needed keys in details for return, when empty - will return all
repeated string keys = 7;
}
@ -1174,7 +1174,7 @@ message Rpc {
repeated anytype.model.Block.Content.Dataview.Filter filters = 1;
int32 limit = 2;
// additional filter by objectTypes
repeated string objectTypeFilter = 3;
repeated string objectTypeFilter = 3; // DEPRECATED
repeated string keys = 4;
}
@ -1967,6 +1967,34 @@ message Rpc {
};
}
}
message ImportUseCase {
message Request {
UseCase useCase = 1;
enum UseCase {
SKIP = 0;
PERSONAL_PROJECTS = 1;
KNOWLEDGE_BASE = 2;
NOTES_DIARY = 3;
}
}
message Response {
Error error = 1;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
}
}
}
}
}
@ -5344,6 +5372,7 @@ message Rpc {
message Request {
option (no_auth) = true;
string platform = 1;
string version = 2;
}
message Response {

View file

@ -7,12 +7,12 @@ import "models.proto";
message ObjectInfo {
string id = 1;
repeated string objectTypeUrls = 2; // deprecated
repeated string objectTypeUrls = 2; // DEPRECATED
google.protobuf.Struct details = 3;
repeated Relation relations = 4;
repeated Relation relations = 4; // DEPRECATED
string snippet = 5;
bool hasInboundLinks = 6;
bool hasInboundLinks = 6; // DEPRECATED
SmartBlockType objectType = 7;
}

View file

@ -638,16 +638,6 @@ message Restrictions {
}
}
message ThreadDeeplinkPayload {
string key = 1;
repeated string addrs = 2;
}
message ThreadCreateQueueEntry {
string collectionThread = 1;
string threadId = 2;
}
message Object {
message ChangePayload {
SmartBlockType smartBlockType = 1;