This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.
import { Pagination } from "@vercel/sdk/models/components/pagination.js";
let value: Pagination = {
count: 20,
next: 1540095775951,
prev: 1540095775951,
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
count |
number | ✔️ | Amount of items in the current page. | 20 |
next |
number | ✔️ | Timestamp that must be used to request the next page. | 1540095775951 |
prev |
number | ✔️ | Timestamp that must be used to request the previous page. | 1540095775951 |