@francesco_ksh/app-ksh-mgd-schemas 2.1.7 → 2.1.8

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/Listing.js +14 -0
  2. package/package.json +1 -1
package/models/Listing.js CHANGED
@@ -404,6 +404,20 @@ const listingSchema = new Schema(
404
404
  type: Boolean,
405
405
  default: false,
406
406
  },
407
+ aiMeasurements: {
408
+ weight: {
409
+ type: Number,
410
+ },
411
+ height: {
412
+ type: Number,
413
+ },
414
+ width: {
415
+ type: Number,
416
+ },
417
+ length: {
418
+ type: Number,
419
+ },
420
+ },
407
421
  },
408
422
  {
409
423
  suppressReservedKeysWarning: true, // Added schema option here
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {