UNPKG

nestjs-paginate

Version:

Pagination and filtering helper method for TypeORM repositories or query builders using Nest.js framework.

14 lines 431 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updateGlobalConfig = void 0; const globalConfig = { defaultOrigin: undefined, defaultLimit: 20, defaultMaxLimit: 100, }; const updateGlobalConfig = (newConfig) => { Object.assign(globalConfig, newConfig); }; exports.updateGlobalConfig = updateGlobalConfig; exports.default = globalConfig; //# sourceMappingURL=global-config.js.map