UNPKG

nestjs-typeorm-paginate

Version:

A simple pagination function to build a pagination object with types

24 lines (23 loc) 461 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Pagination = void 0; class Pagination { constructor( /** * a list of items to be returned */ items, /** * associated meta information (e.g., counts) */ meta, /** * associated links */ links) { this.items = items; this.meta = meta; this.links = links; } } exports.Pagination = Pagination;