Interface

CommonPaginateDataTypes

CommonPaginateDataTypes

Properties:
Name Type Description
items T

Generic data

meta.totalItems number

total items data

meta.itemsPerPage number

total items per page

meta.totalPages number

total page

meta.currentPage number

current page

links.first number

First link (example: http://localhost:8081/v1/collections?page=1&limit=300)

links.previous number

Previous link page (example: http://localhost:8081/v1/collections?page=1&limit=300)

links.next number

Next page (example: http://localhost:8081/v1/collections?page=2&limit=300)

links.last number

Last page (example: http://localhost:8081/v1/collections?page=10&limit=300)

View Source types/CommonTypes.ts, line 65