mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3484 Primitives | Create type screen, part 1 (#2229)
This commit is contained in:
parent
6138ee309b
commit
5264490f3b
21 changed files with 500 additions and 241 deletions
|
@ -609,15 +609,9 @@ class BlockDataRepository(
|
|||
prefilled = prefilled
|
||||
)
|
||||
|
||||
override suspend fun createType(
|
||||
space: Id,
|
||||
name: String,
|
||||
emojiUnicode: String?,
|
||||
): Struct? = remote.createType(
|
||||
space = space,
|
||||
name = name,
|
||||
emojiUnicode = emojiUnicode
|
||||
)
|
||||
override suspend fun createType(command: Command.CreateObjectType): String {
|
||||
return remote.createType(command)
|
||||
}
|
||||
|
||||
override suspend fun createRelationOption(
|
||||
space: Id,
|
||||
|
|
|
@ -260,10 +260,8 @@ interface BlockRemote {
|
|||
): ObjectWrapper.Relation
|
||||
|
||||
suspend fun createType(
|
||||
space: Id,
|
||||
name: String,
|
||||
emojiUnicode: String?
|
||||
): Struct?
|
||||
command: Command.CreateObjectType
|
||||
): String
|
||||
|
||||
suspend fun createRelationOption(
|
||||
space: Id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue