mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-1319 Protocol | Enhancement | MW 0.26.0 (#3196)
This commit is contained in:
parent
e3af70f7a0
commit
6df9bf11ee
3 changed files with 21 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
[versions]
|
||||
middlewareVersion = "v0.26.0-rc17"
|
||||
middlewareVersion = "v0.26.0"
|
||||
kotlinVersion = '1.7.10'
|
||||
androidxCoreVersion = "1.9.0"
|
||||
androidxComposeVersion1 = '1.3.1'
|
||||
|
|
|
@ -90,6 +90,10 @@ message Event {
|
|||
Process.Done processDone = 103;
|
||||
|
||||
Status.Thread threadStatus = 110;
|
||||
|
||||
File.LimitReached fileLimitReached = 111;
|
||||
File.SpaceUsage fileSpaceUsage = 112;
|
||||
File.LocalUsage fileLocalUsage = 113;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -976,6 +980,21 @@ message Event {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
message File {
|
||||
message LimitReached {
|
||||
string spaceId = 1;
|
||||
string fileId = 2;
|
||||
}
|
||||
|
||||
message SpaceUsage {
|
||||
uint64 bytesUsage = 1;
|
||||
}
|
||||
|
||||
message LocalUsage {
|
||||
uint64 localBytesUsage = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message ResponseEvent {
|
||||
|
|
|
@ -27,7 +27,7 @@ version=`curl -H "Authorization: token $TOKEN" -H "Accept: application/vnd.githu
|
|||
tag=`echo $version | jq ".tag_name"`
|
||||
asset_id=`echo $version | jq ".assets | map(select(.name | match(\"android_lib_\";\"i\")))[0].id"`
|
||||
|
||||
if [ "$asset_id" = "" ]; then
|
||||
if [ "$asset_id" = "null" ]; then
|
||||
echo "ERROR: version not found"
|
||||
exit 1
|
||||
fi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue