diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 49d0dff820..dee8d2b36d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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' diff --git a/protocol/src/main/proto/events.proto b/protocol/src/main/proto/events.proto index ad2e5fb0a8..a55d3454e3 100644 --- a/protocol/src/main/proto/events.proto +++ b/protocol/src/main/proto/events.proto @@ -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 { diff --git a/scripts/mw/update-mw.sh b/scripts/mw/update-mw.sh index b4f6cb1f91..3fc5bb4775 100755 --- a/scripts/mw/update-mw.sh +++ b/scripts/mw/update-mw.sh @@ -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;