@nomalism-com/types 0.40.19 → 0.40.20

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/dist/index.cjs CHANGED
@@ -5137,7 +5137,7 @@ import joi96 from "joi";
5137
5137
  var setBodyKeys = {
5138
5138
  provider_id: joi96.string().uuid().required(),
5139
5139
  product_id: joi96.string().uuid().required(),
5140
- quantity: joi96.number().positive().required()
5140
+ quantity: joi96.number().min(0).required()
5141
5141
  };
5142
5142
  var setBody = joi96.object().keys(setBodyKeys).messages(messages);
5143
5143
 
package/dist/index.js CHANGED
@@ -5137,7 +5137,7 @@ import joi96 from "joi";
5137
5137
  var setBodyKeys = {
5138
5138
  provider_id: joi96.string().uuid().required(),
5139
5139
  product_id: joi96.string().uuid().required(),
5140
- quantity: joi96.number().positive().required()
5140
+ quantity: joi96.number().min(0).required()
5141
5141
  };
5142
5142
  var setBody = joi96.object().keys(setBodyKeys).messages(messages);
5143
5143
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.40.19",
4
+ "version": "0.40.20",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",