start adding of posts view

This commit is contained in:
2022-03-18 15:43:10 +06:00
parent 709e7a8583
commit 787f8d7526
4 changed files with 40 additions and 5 deletions
features/content
binary
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
content
text
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
services/posts/client/src/commonMain/kotlin/dev/inmo/postssystem/services/posts/client/ui/posts_list

@ -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()
}