Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.85 KB

pagination.md

File metadata and controls

23 lines (17 loc) · 1.85 KB

Pagination

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.

Example Usage

import { Pagination } from "@vercel/sdk/models/components/pagination.js";

let value: Pagination = {
  count: 20,
  next: 1540095775951,
  prev: 1540095775951,
};

Fields

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