@solid-nestjs/rest-api
Version:
solid-nestjs Rest-API utilities
24 lines • 967 B
TypeScript
import { PaginationResult as CommonPaginationResult } from '@solid-nestjs/common';
/**
* Represents the result of a paginated query.
*
* @implements {CommonPaginationResult}
*
* @property {number} total - The total number of items available.
* @property {number} count - The number of items returned in the current page.
* @property {number} [limit] - The maximum number of items per page (optional).
* @property {number} page - The current page number.
* @property {number} pageCount - The total number of pages available.
* @property {boolean} hasNextPage - Indicates if there is a next page.
* @property {boolean} hasPreviousPage - Indicates if there is a previous page.
*/
export declare class PaginationResult implements CommonPaginationResult {
total: number;
count: number;
limit?: number;
page: number;
pageCount: number;
hasNextPage: boolean;
hasPreviousPage: boolean;
}
//# sourceMappingURL=pagination-result.d.ts.map