mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-1273 Protocol | Enhancement | MW 0.26.0-rc14 (#3165)
This commit is contained in:
parent
d5c4a15b29
commit
83e7ff86fa
4 changed files with 37 additions and 8 deletions
|
@ -84,6 +84,8 @@ com.anytype.ci=true - for CI/CD pipeline
|
|||
|
||||
### Updating MW (basics)
|
||||
|
||||
Prerequisite: `brew install jq`
|
||||
|
||||
1. Run the following command in Terminal or Makefile:
|
||||
|
||||
```
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[versions]
|
||||
middlewareVersion = "v0.26.0-rc12"
|
||||
middlewareVersion = "v0.26.0-rc14"
|
||||
kotlinVersion = '1.7.10'
|
||||
androidxCoreVersion = "1.9.0"
|
||||
androidxComposeVersion1 = '1.3.1'
|
||||
|
|
|
@ -2490,6 +2490,36 @@ message Rpc {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
message SpaceUsage {
|
||||
message Request {}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
Usage usage = 2;
|
||||
|
||||
message Usage {
|
||||
uint64 filesCount = 1;
|
||||
uint64 cidsCount = 2;
|
||||
uint64 bytesUsage = 3;
|
||||
uint64 bytesLeft = 4;
|
||||
uint64 bytesLimit = 5;
|
||||
uint64 localBytesUsage = 6;
|
||||
}
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message Navigation {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo -n "Starting script for normalizing imports"
|
||||
echo "Starting script for normalizing imports"
|
||||
|
||||
echo -n "Normalizing imports... "
|
||||
echo "Normalizing imports... "
|
||||
|
||||
cd protocol/src/main/proto/ || exit
|
||||
|
||||
|
@ -18,10 +18,7 @@ sed -i '' 's/pb\/protos\///g' changes.proto
|
|||
sed -i '' 's/pkg\/lib\/pb\/model\/protos\///g' localstore.proto
|
||||
sed -i '' 's/pb\/protos\///g' localstore.proto
|
||||
|
||||
sed -i '' 's/pkg\/lib\/pb\/model\/protos\///g' snapshot.proto
|
||||
sed -i '' 's/pb\/protos\///g' snapshot.proto
|
||||
echo "Done normalizing imports."
|
||||
|
||||
echo -n "Done normalizing imports."
|
||||
|
||||
echo -n ">>> Make sure to update mw version in libs.versions.toml >>>"
|
||||
echo ">>> Make sure to update mw version in libs.versions.toml >>>"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue