UNPKG

@ifit/mongoose-dao

Version:

Mongo helper methods for working with data in a DAO or repository pattern

15 lines 425 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ListOptions = void 0; class ListOptions { constructor(options = {}) { this.page = 0; this.pageSize = 30; this.sortAsc = true; this.sortField = "createdAt"; this.lean = false; Object.assign(this, options); } } exports.ListOptions = ListOptions; //# sourceMappingURL=list-options.js.map