Skip to content

Commit

Permalink
EVA-PIMP relax page filed type (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rattenkrieg committed Jan 18, 2024
1 parent 71a933e commit 4f64b24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/CI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.lang.Boolean.parseBoolean
object Ci {

private const val SNAPSHOT_BASE = "0.6.0"
private const val RELEASE_VERSION = "0.5.6"
private const val RELEASE_VERSION = "0.5.7"
private val githubSha = System.getenv("GITHUB_SHA") ?: "latest"

val publishRelease = System.getProperty("release", "true").let(::parseBoolean)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ import com.razz.eva.paging.Offset
import com.razz.eva.paging.Page
import com.razz.eva.paging.PagedList
import com.razz.eva.paging.Size
import org.jooq.Field
import org.jooq.Record
import org.jooq.Select
import org.jooq.SelectOrderByStep
import org.jooq.SortOrder
import org.jooq.TableField

abstract class PagingStrategy<ID, M, S, P, R>
where ID : Comparable<ID>,
S : M,
P : Comparable<P>,
R : Record {

protected abstract fun tableOrdering(): TableField<R, P>
protected abstract fun tableOrdering(): Field<P>

protected abstract fun tableId(): TableField<R, ID>
protected abstract fun tableId(): Field<ID>

protected abstract fun tableOffset(offset: Offset): ID

Expand Down

0 comments on commit 4f64b24

Please sign in to comment.