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

DROID-3271 Protocol | Integrate 0.39.0-rc07 (#2018)

This commit is contained in:
Konstantin Ivanov 2025-01-21 13:05:15 +01:00 committed by konstantiniiv
parent 50a979d6e7
commit 52253fc1c2
5 changed files with 134 additions and 2 deletions

View file

@ -759,6 +759,7 @@ fun MObjectRestriction.toCoreModel(): ObjectRestriction = when (this) {
MObjectRestriction.None -> ObjectRestriction.NONE
MObjectRestriction.Duplicate -> ObjectRestriction.DUPLICATE
MObjectRestriction.CreateObjectOfThisType -> ObjectRestriction.CREATE_OBJECT_OF_THIS_TYPE
MObjectRestriction.Publish -> ObjectRestriction.PUBLISH
}
fun MDVRestrictions.toCoreModel(): DataViewRestrictions {