UNPKG

@herlinus/coloquent

Version:

Library for retrieving model objects from a JSON-API, with a fluent syntax inspired by Laravel Eloquent.

10 lines (9 loc) 357 B
import { QueryParam } from './../QueryParam'; export declare abstract class PaginationSpec { abstract getPaginationParameters(): QueryParam[]; /** * @param page the page number, starting with 1 (0 and 1 both lead to the first page) */ abstract setPage(value: number): any; abstract setPageLimit(pageLimit: number): any; }