mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3444 Chats | Enhancement | Bookmark flow updates (#2399)
This commit is contained in:
parent
191b675fc9
commit
1d8501f7a0
20 changed files with 282 additions and 15 deletions
|
@ -14,6 +14,7 @@ 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
|
||||
import com.anytypeio.anytype.core_models.LinkPreview
|
||||
import com.anytypeio.anytype.core_models.ManifestInfo
|
||||
import com.anytypeio.anytype.core_models.NodeUsageInfo
|
||||
import com.anytypeio.anytype.core_models.ObjectType
|
||||
|
@ -1122,4 +1123,9 @@ class BlockDataRepository(
|
|||
override suspend fun setDataViewProperties(command: Command.SetDataViewProperties): Payload {
|
||||
return remote.setDataViewProperties(command)
|
||||
}
|
||||
|
||||
override suspend fun getLinkPreview(url: Url): LinkPreview = remote.getLinkPreview(url)
|
||||
|
||||
override suspend fun createObjectFromUrl(space: SpaceId, url: Url): ObjectWrapper.Basic =
|
||||
remote.createObjectFromUrl(space = space, url = url)
|
||||
}
|
|
@ -14,6 +14,7 @@ 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
|
||||
import com.anytypeio.anytype.core_models.LinkPreview
|
||||
import com.anytypeio.anytype.core_models.ManifestInfo
|
||||
import com.anytypeio.anytype.core_models.NodeUsageInfo
|
||||
import com.anytypeio.anytype.core_models.ObjectType
|
||||
|
@ -476,4 +477,8 @@ interface BlockRemote {
|
|||
suspend fun objectTypeSetRecommendedFields(command: Command.ObjectTypeSetRecommendedFields)
|
||||
|
||||
suspend fun setDataViewProperties(command: Command.SetDataViewProperties): Payload
|
||||
|
||||
suspend fun getLinkPreview(url: Url): LinkPreview
|
||||
|
||||
suspend fun createObjectFromUrl(space: SpaceId, url: Url): ObjectWrapper.Basic
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue