add publishing_autoschedule

This commit is contained in:
2023-03-18 13:12:05 +06:00
parent 7bc7bf6e8c
commit 7a4fb05bfb
9 changed files with 116 additions and 36 deletions

View File

@@ -4,5 +4,5 @@ import com.soywiz.klock.DateTime
import dev.inmo.plaguposter.posts.models.PostId
interface Selector {
suspend fun take(n: Int = 1, now: DateTime = DateTime.now()): List<PostId>
suspend fun take(n: Int = 1, now: DateTime = DateTime.now(), exclude: List<PostId> = emptyList()): List<PostId>
}