12345678910111213141516 |
- import { PaginatedResult as PaginatedResultInterface } from "../interfaces/paginated_result";
- import { Keyable } from "../interfaces/keyable";
- export declare class PaginatedResult implements PaginatedResultInterface {
- totalResults: number;
- totalPages: number;
- resultsPerPage: number;
- currentPage: number;
- items: any[];
- constructor(items: any[], headers: Keyable);
- hasNextPage(): boolean;
- hasPrevPage(): boolean;
- isLastPage(): boolean;
- isFirstPage(): boolean;
- nextPage(): number;
- prevPage(): number;
- }
|