@jsdev_ninja/core 0.12.3 → 0.12.5
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/core.cjs.js +1 -1
- package/dist/core.cjs.js.map +1 -1
- package/dist/core.es.js +1 -2
- package/dist/core.es.js.map +1 -1
- package/dist/core.umd.js +1 -1
- package/dist/core.umd.js.map +1 -1
- package/dist/entities/Cart.js +1 -1
- package/dist/entities/Order.d.ts +0 -3
- package/dist/entities/Order.d.ts.map +1 -1
- package/dist/entities/Order.js +0 -1
- package/lib/entities/Cart.ts +1 -1
- package/lib/entities/Order.ts +0 -1
- package/package.json +1 -1
package/dist/core.es.js
CHANGED
|
@@ -3057,7 +3057,7 @@ const H = i.object({
|
|
|
3057
3057
|
originalPrice: i.number().optional(),
|
|
3058
3058
|
finalPrice: i.number().optional(),
|
|
3059
3059
|
finalDiscount: i.number().optional(),
|
|
3060
|
-
amount: i.number().
|
|
3060
|
+
amount: i.number().positive({ message: "Quantity must be a positive number." })
|
|
3061
3061
|
}), Sr = i.object({
|
|
3062
3062
|
type: i.literal("Cart"),
|
|
3063
3063
|
id: i.string().uuid(),
|
|
@@ -3155,7 +3155,6 @@ const Nr = i.object({
|
|
|
3155
3155
|
// what store charge
|
|
3156
3156
|
date: i.number(),
|
|
3157
3157
|
deliveryDate: i.coerce.number().optional(),
|
|
3158
|
-
createdAt: i.number().optional(),
|
|
3159
3158
|
client: pr.required({}),
|
|
3160
3159
|
nameOnInvoice: i.string().optional(),
|
|
3161
3160
|
clientComment: i.string().optional()
|