fix of build
This commit is contained in:
client/src/jsMain/kotlin/dev/inmo/postssystem/client
features
auth
client
src
commonMain
kotlin
dev
inmo
postssystem
features
auth
client
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
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user