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

Tech | MW 0.17.2 (#1869)

* update to 0.17.1

* update to 0-17-2

* update version
This commit is contained in:
Konstantin Ivanov 2021-10-26 12:33:18 +03:00 committed by GitHub
parent 0c57ac20e3
commit 02adb12236
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 1 deletions

View file

@ -1759,6 +1759,7 @@ message Rpc {
message Request {
string contextId = 1; // id of the context blo1k
string blockId = 2;
string traceId = 3;
}
message Response {
@ -1773,6 +1774,8 @@ message Rpc {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
NOT_FOUND = 3;
ANYTYPE_NEEDS_UPGRADE = 10; // failed to read unknown data format need to upgrade anytype
// ...
}
@ -1784,6 +1787,7 @@ message Rpc {
message Request {
string contextId = 1; // id of the context blo1k
string blockId = 2;
string traceId = 3;
}
message Response {
@ -1798,6 +1802,7 @@ message Rpc {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
NOT_FOUND = 3;
ANYTYPE_NEEDS_UPGRADE = 10; // failed to read unknown data format need to upgrade anytype
// ...
}
@ -1832,6 +1837,7 @@ message Rpc {
message OpenBreadcrumbs {
message Request {
string contextId = 1; // id of the context blo1k
string traceId = 2;
}
message Response {
@ -2250,6 +2256,7 @@ message Rpc {
bool enableDataview = 1;
bool enableDebug = 2;
bool enableReleaseChannelSwitch = 3;
bool enableSpaces = 4;
google.protobuf.Struct extra = 100;
}
@ -2800,12 +2807,14 @@ message Rpc {
message Request {
string pageId = 1;
string versionId = 2;
string traceId = 3;
}
message Response {
Error error = 1;
Event.Object.Show objectShow = 2;
History.Versions.Version version = 3;
string traceId = 4;
message Error {
Code code = 1;

View file

@ -12,11 +12,13 @@ message Event {
repeated Message messages = 1;
string contextId = 2;
anytype.model.Account initiator = 3;
string traceId = 4;
message Message {
oneof value {
Account.Show accountShow = 1;
Account.Details accountDetails = 201;
Account.Config.Update accountConfigUpdate = 202;
Object.Details.Set objectDetailsSet = 16;
Object.Details.Amend objectDetailsAmend = 50;
@ -88,6 +90,12 @@ message Event {
string profileId = 1;
google.protobuf.Struct details = 2;
}
message Config {
message Update {
anytype.model.Account.Config config = 1;
}
}
}
message Object {
@ -748,6 +756,7 @@ message Event {
message ResponseEvent {
repeated Event.Message messages = 1;
string contextId = 2;
string traceId = 4;
}
message Model {

View file

@ -379,6 +379,14 @@ message Account {
string color = 2; // Color of the avatar, used if image not set.
}
}
message Config {
bool enableDataview = 1;
bool enableDebug = 2;
bool enableReleaseChannelSwitch = 3;
bool enableSpaces = 4;
google.protobuf.Struct extra = 100;
}
}
message LinkPreview {