@nyig/models 0.4.7 → 0.4.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.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -771,7 +771,7 @@ var zBEventTicket = import_zod27.z.object({
|
|
|
771
771
|
/**
|
|
772
772
|
* @optional max limit is 1 unless maxPerOrder is specified
|
|
773
773
|
*/
|
|
774
|
-
maxPerOrder: import_zod27.z.number().int().min(2).optional()
|
|
774
|
+
maxPerOrder: import_zod27.z.coerce.number().int().min(2).optional()
|
|
775
775
|
});
|
|
776
776
|
var zEventTicket = addAutoProps(zBEventTicket);
|
|
777
777
|
|
package/index.mjs
CHANGED
|
@@ -664,7 +664,7 @@ var zBEventTicket = z27.object({
|
|
|
664
664
|
/**
|
|
665
665
|
* @optional max limit is 1 unless maxPerOrder is specified
|
|
666
666
|
*/
|
|
667
|
-
maxPerOrder: z27.number().int().min(2).optional()
|
|
667
|
+
maxPerOrder: z27.coerce.number().int().min(2).optional()
|
|
668
668
|
});
|
|
669
669
|
var zEventTicket = addAutoProps(zBEventTicket);
|
|
670
670
|
|