1
0
Fork 0
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:
Konstantin Ivanov 2025-04-04 09:30:16 +02:00 committed by GitHub
parent 6138ee309b
commit 5264490f3b
Signed by: github
GPG key ID: B5690EEEBB952194
21 changed files with 500 additions and 241 deletions

View file

@ -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,

View file

@ -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,