UNPKG
@terabits/grapi
Version:
latest (2.2.11)
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
Grapi Schema Generator For GraphQL Server
github.com/hareeshbabu82ns/grapi
hareeshbabu82ns/grapi
@terabits/grapi
/
lib
/
helper
/
paginator.d.ts
8 lines
(7 loc)
•
203 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Pagination
}
from
'..'
;
export
declare
const
paginate
:
(
rows
:
any
[],
pagination
?:
Pagination
) =>
{
data
:
any
[];
total
:
number
;
hasNextPage
:
boolean
;
hasPreviousPage
:
boolean
; };