UNPKG

@aequum/mongoose

Version:

aequum mongoose tools for repository, pagination, CRUD/CRUDL, configs and utils

14 lines (13 loc) 447 B
import mongoose from 'mongoose'; import 'mongoose-paginate-v2'; /** * Default options passsed to `mongoose-paginate-v2` * paginated queries. * * By default we just change the labels of a * standard paginated query to match. Notice the * `hasNextPage`, `hasPrevPage` and * `pagingCounter` properties are mapped to `_` * property this means will be ignored. */ export declare const defaultMongoosePaginateOptions: mongoose.PaginateOptions;