UNPKG

@villedemontreal/general-utils

Version:
17 lines 471 B
/** * Represents a paginated result set. This follows the doc : * https://villemontreal.atlassian.net/wiki/display/AES/REST+API#RESTAPI-Pagination.1 */ export interface IPaginatedResult<T> { paging: { offset: number; limit: number; totalCount: number; }; items: T[]; } /** * IPaginatedResult Type Guard */ export declare const isPaginatedResult: (obj: any) => obj is IPaginatedResult<any>; //# sourceMappingURL=pagination.d.ts.map