Package-level declarations

Types

Link copied to clipboard
@Serializable
data class PaginatedResponse<T>(val items: List<T>, val page: Int, val limit: Int, val totalItems: Long, val totalPages: Int, val hasNext: Boolean, val hasPrevious: Boolean)

A response containing a paginated list of items.

Link copied to clipboard
interface Pagination

An interface for a pagination contract, providing information necessary for manual pagination.