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

DROID-1627 Protocol | Enhancement | MW 0.27.16 (#272)

This commit is contained in:
Konstantin Ivanov 2023-08-07 17:37:26 +02:00 committed by GitHub
parent 860ebd87d3
commit bf0747e6af
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 68 additions and 3 deletions

View file

@ -1,5 +1,5 @@
[versions]
middlewareVersion = "v0.27.15"
middlewareVersion = "v0.27.16"
kotlinVersion = '1.7.10'
androidxCoreVersion = "1.10.1"

View file

@ -257,8 +257,7 @@ message Rpc {
}
string storePath = 3; // Path to local storage
int64 icon = 4; // Option of pre-installed icon
string alphaInviteCode = 20; // DEPRECATED
bool disableLocalNetworkSync = 5; // Disable local network discovery
}
/**
@ -363,6 +362,7 @@ message Rpc {
option (no_auth) = true;
string id = 1; // Id of a selected account
string rootPath = 2; // Root path is optional, set if this is a first request
bool disableLocalNetworkSync = 3; // Disable local network discovery
}
/**
@ -548,6 +548,27 @@ message Rpc {
}
}
}
message EnableLocalNetworkSync {
message Request {
}
message Response {
Error error = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
ACCOUNT_IS_NOT_RUNNING = 4;
}
}
}
}
}
message Workspace {
@ -1498,6 +1519,7 @@ message Rpc {
}
}
}
message SetInternalFlags {
message Request {
string contextId = 1;
@ -1739,6 +1761,28 @@ message Rpc {
}
}
message ListSetObjectType {
message Request {
repeated string objectIds = 1;
string objectTypeId = 2;
}
message Response {
Error error = 1;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
UNKNOWN_OBJECT_TYPE_URL = 3;
}
}
}
}
message ApplyTemplate {
message Request {
string contextId = 1;
@ -5364,6 +5408,26 @@ message Rpc {
}
}
message OpenedObjects {
message Request {}
message Response {
Error error = 1;
repeated string objectIDs = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
}
}
}
}
message Ping {
message Request {
int32 index = 1;

View file

@ -581,6 +581,7 @@ message Account {
string localStoragePath = 103; // path to local storage
string timeZone = 104; // time zone from config
string analyticsId = 105;
string networkId = 106; // network id to which anytype is connected
}
}