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

DROID-3411 Protocol | Integrate 0.40.0-rc1 + AGP 8.8.1 (#2119)

This commit is contained in:
Konstantin Ivanov 2025-02-26 09:55:26 +01:00 committed by GitHub
parent 8ae50b27a2
commit 45f59c951d
Signed by: github
GPG key ID: B5690EEEBB952194
5 changed files with 92 additions and 37 deletions

View file

@ -1,13 +1,13 @@
[versions]
middlewareVersion = "v0.40.0-alpha02"
middlewareVersion = "v0.40.0-rc1"
kotlinVersion = '2.0.21'
kspVersion = "2.0.21-1.0.25"
androidxCoreVersion = "1.15.0"
androidxComposeVersion = '1.7.7'
androidxComposeVersion = '1.7.8'
composeMaterial3Version = '1.3.1'
composeMaterialVersion = '1.7.7'
composeMaterialVersion = '1.7.8'
composeConstraintLayoutVersion = '1.1.0'
dokkaVersion = '1.9.20'
@ -16,7 +16,7 @@ activityComposeVersion = '1.10.0'
composeReorderableVersion = 'e9ef693f63'
accompanistVersion = "0.34.0"
appcompatVersion = '1.7.0'
fragmentVersion = "1.8.5"
fragmentVersion = "1.8.6"
exoplayerVersion = "2.19.1"
wireVersion = "4.9.8"
glideVersion = "4.16.0"
@ -37,14 +37,14 @@ recyclerviewVersion = '1.4.0'
emojiCompatVersion = '1.1.0'
lifecycleVersion = '2.8.7'
lifecycleRuntimeComposeVersion = '2.8.7'
navigationVersion = '2.8.5'
navigationComposeVersion = '2.8.5'
navigationVersion = '2.8.7'
navigationComposeVersion = '2.8.7'
shimmerLayoutVersion = '0.5.0'
photoViewVersion = '2.3.0'
daggerVersion = '2.51'
javaxAnnotationsVersion = '1.0'
javaxInjectVersion = '1'
gsonVersion = '2.10.1'
gsonVersion = '2.11.0'
betterLinkMethodVersion = '2.2.0'
picktVersion = '2.0.5'
zxingVersion = '4.3.0'
@ -64,7 +64,7 @@ coilComposeVersion = '2.6.0'
sentryVersion = '7.13.0'
composeQrCodeVersion = '1.0.1'
fragmentComposeVersion = "1.8.5"
fragmentComposeVersion = "1.8.6"
[libraries]
middleware = { module = "io.anyproto:anytype-heart-android", version.ref = "middlewareVersion" }
@ -157,8 +157,8 @@ fragmentCompose = { group = "androidx.fragment", name = "fragment-compose", vers
[bundles]
[plugins]
application = { id = "com.android.application", version = "8.7.1" }
library = { id = "com.android.library", version = "8.7.1" }
application = { id = "com.android.application", version = "8.8.1" }
library = { id = "com.android.library", version = "8.8.1" }
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlinVersion" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlinVersion" }
dokka = { id = "org.jetbrains.dokka", version.ref = "dokkaVersion" }

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

View file

@ -1686,6 +1686,7 @@ message Rpc {
google.protobuf.Struct details = 1;
string spaceId = 2;
bool withChat = 3;
string templateId = 4;
}
message Response {
@ -1820,6 +1821,7 @@ message Rpc {
google.protobuf.Struct details = 4;
bool addPageContent = 5;
bool withChat = 6;
string templateId = 7;
}
message Response {
@ -3336,6 +3338,80 @@ message Rpc {
}
}
}
message Recommended {
message RelationsSet {
message Request {
string typeObjectId = 1;
repeated string relationObjectIds = 2;
}
message Response {
Error error = 1;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
READONLY_OBJECT_TYPE = 3;
// ...
}
}
}
}
message FeaturedRelationsSet {
message Request {
string typeObjectId = 1;
repeated string relationObjectIds = 2;
}
message Response {
Error error = 1;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
READONLY_OBJECT_TYPE = 3;
// ...
}
}
}
}
}
message ListConflictingRelations {
message Request {
string spaceId = 1;
string typeObjectId = 2;
}
message Response {
Error error = 1;
repeated string relationIds = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
READONLY_OBJECT_TYPE = 3;
}
}
}
}
}
message Relation {
@ -5759,6 +5835,7 @@ message Rpc {
string contextId = 1;
string blockId = 2;
string url = 3;
string templateId = 4;
}
message Response {
@ -5784,6 +5861,7 @@ message Rpc {
string targetId = 2;
anytype.model.Block.Position position = 3;
string url = 4;
string templateId = 5;
}
message Response {
@ -6135,31 +6213,6 @@ message Rpc {
}
}
message CreateBookmark {
message Request {
string contextId = 1;
string blockId = 2;
string url = 3;
string spaceId = 4;
}
message Response {
Error error = 1;
string id = 2;
message Error {
Code code = 1;
string description = 2;
enum Code {
NULL = 0;
UNKNOWN_ERROR = 1;
BAD_INPUT = 2;
// ...
}
}
}
}
message Filter {
message Add {
message Request {

View file

@ -732,7 +732,7 @@ message Event {
FaviconHash faviconHash = 6;
Type type = 7;
TargetObjectId targetObjectId = 8;
message Url {
string value = 1;

View file

@ -769,6 +769,8 @@ message ObjectType {
string key = 12; // name of objectType (can be localized for bundled types)
int64 revision = 13; // revision of system objectType. Used to check if we should change type content or not
bool restrictObjectCreation = 14; // restricts creating objects of this type for users
int64 iconColor = 15; // color of object type icon
string iconName = 16; // name of object type icon
enum Layout {
basic = 0;