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

DROID-3032 Protocol | Integrate 0.37.0-alpha01 (#1767)

This commit is contained in:
Konstantin Ivanov 2024-11-05 11:52:36 +01:00 committed by GitHub
parent d60a10f115
commit ad47b0159a
Signed by: github
GPG key ID: B5690EEEBB952194
11 changed files with 76 additions and 18 deletions

View file

@ -1131,6 +1131,7 @@ message Rpc {
message Request {
google.protobuf.Struct details = 1; // object details
anytype.Rpc.Object.ImportUseCase.Request.UseCase useCase = 2; // use case
bool withChat = 3; // create space-level chat; temporary solution, should be removed after chats released for all users
}
message Response {
@ -1154,6 +1155,7 @@ message Rpc {
message Open {
message Request {
string spaceId = 1;
bool withChat = 2; // create space-level chat if not exists; temporary solution, should be removed after chats released for all users
}
message Response {
@ -6523,6 +6525,30 @@ message Rpc {
}
}
message ExportLog {
message Request {
option (no_auth) = true;
string dir = 1; // empty means using OS-provided temp dir
}
message Response {
Error error = 1;
string path = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
NO_FOLDER = 3;
}
}
}
}
message Ping {
message Request {
int32 index = 1;
@ -6581,14 +6607,41 @@ message Rpc {
}
}
}
message NetCheck {
message Request {
string clientYml = 1;
}
message Response {
Error error = 1;
string result = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
}
}
}
}
}
message Metrics {
message Initial {
message SetParameters {
message Request {
option (no_auth) = true;
string platform = 1;
string version = 2;
string workdir = 3;
string logLevel = 4;
bool doNotSendLogs = 5;
bool doNotSaveLogs = 6;
bool doNotSendTelemetry = 7;
}
message Response {

View file

@ -639,6 +639,7 @@ message Account {
string archiveObjectId = 3; // archive block id
string profileObjectId = 4; // profile block id
string marketplaceWorkspaceId = 11; // marketplace workspace id
string workspaceObjectId = 15; // workspace object id. used for space-level chat
string deviceId = 8;
string accountSpaceId = 9;
@ -762,7 +763,7 @@ message ObjectType {
participant = 19;
pdf = 20;
chat = 21;
chat = 21; // deprecated
chatDerived = 22;
tag = 23;
}