@francesco_ksh/app-ksh-mgd-schemas 2.2.2 → 2.2.4

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 +17 -1
  2. package/package.json +1 -1
package/models/Listing.js CHANGED
@@ -258,7 +258,23 @@ const listingSchema = new Schema(
258
258
  store: {
259
259
  type: Schema.Types.ObjectId,
260
260
  ref: 'Store',
261
- required: true,
261
+ },
262
+ cannotShipWith: {
263
+ fedEx: {
264
+ type: Boolean,
265
+ },
266
+ uShip: {
267
+ type: Boolean,
268
+ },
269
+ goShare: {
270
+ type: Boolean,
271
+ },
272
+ freightClub: {
273
+ type: Boolean,
274
+ },
275
+ kashew: {
276
+ type: Boolean,
277
+ },
262
278
  },
263
279
  condition: {
264
280
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {