@r5v/mongoose-paginate 1.0.1 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,14 +4,14 @@
4
4
 
5
5
  Simple, Fast, Efficient
6
6
 
7
- This project was designed to accomodate more than 80% of your ddaily workflow. to remove the overhead of boilerplate code in handling each endpoint and keeping queries and query params simple. We didn't want you to have to learn a new language to use this product
7
+ This project was designed to accomodate more than 80% of your daily workflow to remove the overhead of boilerplate code in handling each endpoint and keeping queries and query params simple. We didn't want you to have to learn a new language to use this product
8
8
 
9
9
  ## Basic Usage
10
10
 
11
11
  ### PagingQuery
12
12
  ```typescript
13
13
  // userController.ts
14
- import {PagingQuery} from '@r5v/@r5v/mongoose-paginate'
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/@r5v/mongoose-paginate'
41
+ import {AggregationPagingQuery} from '@r5v/mongoose-paginate'
42
42
  import {UserModel} from "./models"
43
43
 
44
44
  const getUsersController: RequestHandler = async (res, res) => {
@@ -123,4 +123,4 @@ $ yarn run start
123
123
  5. remove protected fields
124
124
  6. \$count
125
125
  7. \$sort
126
- 8. apply options
126
+ 8. apply options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r5v/mongoose-paginate",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {