@francesco_ksh/app-ksh-mgd-schemas 1.1.8 → 1.2.1

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/models/Order.js +0 -1
  2. package/package.json +4 -5
package/models/Order.js CHANGED
@@ -387,7 +387,6 @@ const orderSchema = new Schema({
387
387
  });
388
388
 
389
389
  orderSchema.index({ '$**': 'text' });
390
- orderSchema.index({ _id: 1 });
391
390
  orderSchema.index({ seller: 1 });
392
391
  orderSchema.index({ status: 1 });
393
392
  orderSchema.index({ buyer: 1 });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "1.1.8",
4
- "description": "Private Mongoose schema definitions for Kashew",
3
+ "version": "1.2.1",
4
+ "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {
7
7
  "type": "git",
@@ -10,7 +10,6 @@
10
10
  "keywords": [
11
11
  "mongoose",
12
12
  "models",
13
- "private",
14
13
  "schemas",
15
14
  "kashew"
16
15
  ],
@@ -18,9 +17,9 @@
18
17
  "license": "MIT",
19
18
  "dependencies": {
20
19
  "moment": "^2.30.1",
21
- "mongoose": "^8.6.3"
20
+ "mongoose": "^6.2.10"
22
21
  },
23
22
  "peerDependencies": {
24
- "mongoose": "^8.6.3"
23
+ "mongoose": "^6.2.10"
25
24
  }
26
25
  }