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

DROID-2268 Protocol | Enhancement | MW 0.32.0-rc7 (#934)

This commit is contained in:
Evgenii Kozlov 2024-02-27 12:22:33 +01:00 committed by uburoiubu
parent a4b3992df8
commit 5194d06e45
No known key found for this signature in database
GPG key ID: C8FB80E0A595FBB6
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,5 @@
[versions]
middlewareVersion = "v0.32.0-rc6"
middlewareVersion = "v0.32.0-rc7"
kotlinVersion = '1.8.22'
androidxCoreVersion = "1.12.0"

View file

@ -663,6 +663,8 @@ message Restrictions {
Template = 7;
// restricts duplicate object
Duplicate = 8;
// can be set only for types. Restricts creating objects of this type
CreateObjectOfThisType = 9;
}
@ -705,6 +707,7 @@ message ObjectType {
bool installedByDefault = 11;
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
enum Layout {
basic = 0;