mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2831 Tech | Implement Device.Network.State.Set (#1915)
This commit is contained in:
parent
da52fee2b5
commit
31da9e2333
16 changed files with 204 additions and 5 deletions
|
@ -9,6 +9,7 @@ import com.anytypeio.anytype.core_models.DVFilter
|
|||
import com.anytypeio.anytype.core_models.DVSort
|
||||
import com.anytypeio.anytype.core_models.DVViewer
|
||||
import com.anytypeio.anytype.core_models.DVViewerType
|
||||
import com.anytypeio.anytype.core_models.DeviceNetworkType
|
||||
import com.anytypeio.anytype.core_models.Event
|
||||
import com.anytypeio.anytype.core_models.Id
|
||||
import com.anytypeio.anytype.core_models.Key
|
||||
|
@ -1096,4 +1097,8 @@ class BlockDataRepository(
|
|||
override suspend fun objectDateByTimestamp(command: Command.ObjectDateByTimestamp): Struct? {
|
||||
return remote.objectDateByTimestamp(command)
|
||||
}
|
||||
|
||||
override suspend fun setDeviceNetworkState(type: DeviceNetworkType) {
|
||||
remote.setDeviceNetworkState(type)
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@ import com.anytypeio.anytype.core_models.DVFilter
|
|||
import com.anytypeio.anytype.core_models.DVSort
|
||||
import com.anytypeio.anytype.core_models.DVViewer
|
||||
import com.anytypeio.anytype.core_models.DVViewerType
|
||||
import com.anytypeio.anytype.core_models.DeviceNetworkType
|
||||
import com.anytypeio.anytype.core_models.Event
|
||||
import com.anytypeio.anytype.core_models.Id
|
||||
import com.anytypeio.anytype.core_models.Key
|
||||
|
@ -465,4 +466,6 @@ interface BlockRemote {
|
|||
suspend fun objectRelationListWithValue(command: Command.RelationListWithValue): List<RelationListWithValueItem>
|
||||
|
||||
suspend fun debugAccountSelectTrace(dir: String): String
|
||||
|
||||
suspend fun setDeviceNetworkState(type: DeviceNetworkType)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue