fix of build

This commit is contained in:
2022-05-18 23:41:07 +06:00
parent 9216c013ec
commit 5bbe0b8a0e
5 changed files with 23 additions and 25 deletions
client/src/jsMain/kotlin/dev/inmo/postssystem/client
features
auth
client
src
commonMain
kotlin
dev
inmo
postssystem
features
auth
posts
common
src
commonMain
kotlin
dev
inmo
postssystem
features
posts
common
services/posts/client/src/commonMain/kotlin/dev/inmo/postssystem/services/posts/client/ui

@ -3,14 +3,14 @@ package dev.inmo.postssystem.services.posts.client.ui.create
import kotlinx.serialization.Serializable
@Serializable
sealed class PostCreateUIState {
@Serializable
object Init : PostCreateUIState()
@Serializable
object Uploading : PostCreateUIState()
@Serializable
object Fail : PostCreateUIState()
@Serializable
object Completed : PostCreateUIState()
sealed interface PostCreateUIState {
// @Serializable
object Init : PostCreateUIState
// @Serializable
object Uploading : PostCreateUIState
// @Serializable
object Fail : PostCreateUIState
// @Serializable
object Completed : PostCreateUIState
}

@ -4,13 +4,13 @@ import dev.inmo.postssystem.features.posts.common.RegisteredPostWithContent
import kotlinx.serialization.Serializable
@Serializable
sealed class PostsListUIState {
@Serializable
object Loading : PostsListUIState()
sealed interface PostsListUIState {
// @Serializable
object Loading : PostsListUIState
@Serializable
data class Show(
val posts: List<RegisteredPostWithContent>
) : PostsListUIState()
) : PostsListUIState
}