fixes and fills

This commit is contained in:
2022-09-07 00:23:14 +06:00
parent f3f7761bf9
commit 53675ca598
13 changed files with 91 additions and 13 deletions

View File

@@ -1,7 +1,8 @@
package dev.inmo.plaguposter.ratings.selector
import com.soywiz.klock.DateTime
import dev.inmo.plaguposter.posts.models.PostId
interface Selector {
suspend fun take(n: Int = 1): List<PostId>
suspend fun take(n: Int = 1, now: DateTime = DateTime.now()): List<PostId>
}