data-validation-proximity 1.2.1 → 1.2.3

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 +5 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -561,10 +561,11 @@ const schemaStore = joi.object({
561
561
  workingTime: workingTimeSchema,
562
562
  policy: policySchema,
563
563
  image: joi.string().min(3),
564
- storeCategories: joi.array(),
565
- productCategories: joi.array(),
566
- storeRayons: joi.array(),
567
- template: joi.number(),
564
+ storeCategories: joi.string(),
565
+ productCategories: joi.string(),
566
+ storeRayons: joi.string(),
567
+ template: joi.string(),
568
+ registrationNumber: joi.string(),
568
569
  });
569
570
 
570
571
  exports.schemaStoreValidation = (req, res, next) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-validation-proximity",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "A library of Joi-based validation middlewares for Express.js",
5
5
  "main": "index.js",
6
6
  "license": "MIT",