start adding of posts view
This commit is contained in:
features/content
binary
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
content
binary
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
content
server
storage
text
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
content
text
services/posts/client/src/commonMain/kotlin/dev/inmo/postssystem/services/posts/client/ui/posts_list
15
services/posts/client/src/commonMain/kotlin/dev/inmo/postssystem/services/posts/client/ui/posts_list/PostsListUIState.kt
Normal file
15
services/posts/client/src/commonMain/kotlin/dev/inmo/postssystem/services/posts/client/ui/posts_list/PostsListUIState.kt
Normal file
@ -0,0 +1,15 @@
|
||||
package dev.inmo.postssystem.services.posts.client.ui.posts_list
|
||||
|
||||
import dev.inmo.postssystem.features.posts.common.Post
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
sealed class PostsListUIState {
|
||||
@Serializable
|
||||
object Loading : PostsListUIState()
|
||||
@Serializable
|
||||
data class Show(
|
||||
val posts: List<Post>
|
||||
) : PostsListUIState()
|
||||
|
||||
}
|
Reference in New Issue
Block a user