PlaguPoster/posts/src/commonMain/kotlin/repo/WritePostsRepo.kt

11 lines
341 B
Kotlin

package dev.inmo.plaguposter.posts.repo
import dev.inmo.micro_utils.repos.ReadCRUDRepo
import dev.inmo.micro_utils.repos.WriteCRUDRepo
import dev.inmo.plaguposter.posts.models.*
import kotlinx.coroutines.flow.Flow
interface WritePostsRepo : WriteCRUDRepo<RegisteredPost, PostId, NewPost> {
val removedPostsFlow: Flow<RegisteredPost>
}