Type Alias: ServerPagination
ServerPagination = {
limitParam:string;offsetParam:string;type:"offset"; } | {firstPage:number;pageParam:string;sizeParam:string;type:"page"; } | {cursorParam:string;limitParam:string;type:"cursor"; }
Defined in: core/pagination.ts:56
Union Members
Type Literal
{ limitParam: string; offsetParam: string; type: "offset"; }
Type Literal
{ firstPage: number; pageParam: string; sizeParam: string; type: "page"; }
firstPage
firstPage:
number
Index of the first page (0 or 1).
pageParam
pageParam:
string
sizeParam
sizeParam:
string
type
type:
"page"
Type Literal
{ cursorParam: string; limitParam: string; type: "cursor"; }