@r5v/mongoose-paginate 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ This project was designed to accomodate more than 80% of your ddaily workflow. t
|
|
|
11
11
|
### PagingQuery
|
|
12
12
|
```typescript
|
|
13
13
|
// userController.ts
|
|
14
|
-
import {PagingQuery} from '@r5v
|
|
14
|
+
import {PagingQuery} from '@r5v/mongoose-paginate'
|
|
15
15
|
import {UserModel} from "./models"
|
|
16
16
|
|
|
17
17
|
const getUsersController: RequestHandler = async (res, res) => {
|
|
@@ -38,7 +38,7 @@ const getUsersController: RequestHandler = async (res, res) => {
|
|
|
38
38
|
### AggregationPagingQuery
|
|
39
39
|
```typescript
|
|
40
40
|
// userController.ts
|
|
41
|
-
import {AggregationPagingQuery} from '@r5v
|
|
41
|
+
import {AggregationPagingQuery} from '@r5v/mongoose-paginate'
|
|
42
42
|
import {UserModel} from "./models"
|
|
43
43
|
|
|
44
44
|
const getUsersController: RequestHandler = async (res, res) => {
|