data-validation-proximity 1.3.10 → 1.3.11

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -571,7 +571,7 @@ const schemaStore = joi.object({
571
571
  image: joi.string().min(3),
572
572
  storeCategories: joi.string(),
573
573
  productCategories: joi.string(),
574
- storeRayons: joi.string(),
574
+ storeRayons: joi.string().allow('').allow(null),
575
575
  template: joi.string(),
576
576
  registrationNumber: joi.string(),
577
577
  });
@@ -604,7 +604,7 @@ const schemaUpdateStore = joi.object({
604
604
  image: joi.string().min(3),
605
605
  storeCategories: joi.string(),
606
606
  productCategories: joi.string(),
607
- storeRayons: joi.string(),
607
+ storeRayons: joi.string().allow('').allow(null),
608
608
  template: joi.string(),
609
609
  registrationNumber: joi.string(),
610
610
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-validation-proximity",
3
- "version": "1.3.10",
3
+ "version": "1.3.11",
4
4
  "description": "A library of Joi-based validation middlewares for Express.js",
5
5
  "main": "index.js",
6
6
  "license": "MIT",