@francesco_ksh/app-ksh-mgd-schemas 2.0.9 → 2.1.0

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/models/Listing.js CHANGED
@@ -407,6 +407,7 @@ const listingSchema = new Schema(
407
407
  listingSchema.index({ '$**': 'text' });
408
408
  listingSchema.index({ author: 1 });
409
409
  listingSchema.index({ region: 1 });
410
+ listingSchema.index({ 'newSchema.supervised': 1 });
410
411
  listingSchema.index({ date: -1 });
411
412
  listingSchema.index({ status: 1 });
412
413
  listingSchema.index({ kashewId: 1 }, { unique: true, sparse: true });
package/models/Order.js CHANGED
@@ -409,6 +409,9 @@ const orderSchema = new Schema(
409
409
  type: String,
410
410
  },
411
411
  paypal: {
412
+ authorizationId: {
413
+ type: String,
414
+ },
412
415
  orderId: {
413
416
  type: String,
414
417
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "2.0.9",
3
+ "version": "2.1.0",
4
4
  "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {