@jsdev_ninja/core 0.10.5 → 0.10.6
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 +3 -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/Discount.js +1 -1
- package/dist/entities/Store.d.ts +3 -0
- package/dist/entities/Store.d.ts.map +1 -1
- package/dist/entities/Store.js +1 -0
- package/lib/entities/Store.ts +1 -0
- package/package.json +1 -1
package/dist/core.es.js
CHANGED
|
@@ -3160,7 +3160,8 @@ i.object({
|
|
|
3160
3160
|
tenantId: i.string(),
|
|
3161
3161
|
// firebase auth tenantId
|
|
3162
3162
|
paymentType: i.enum(["external", "j5"]),
|
|
3163
|
-
allowAnonymousClients: i.boolean()
|
|
3163
|
+
allowAnonymousClients: i.boolean(),
|
|
3164
|
+
isVatIncludedInPrice: i.boolean()
|
|
3164
3165
|
});
|
|
3165
3166
|
const Se = i.string().min(1), yr = i.object({
|
|
3166
3167
|
type: i.literal("Discount"),
|
|
@@ -3172,7 +3173,7 @@ const Se = i.string().min(1), yr = i.object({
|
|
|
3172
3173
|
variant: i.discriminatedUnion("variantType", [
|
|
3173
3174
|
i.object({
|
|
3174
3175
|
variantType: i.literal("bundle"),
|
|
3175
|
-
productsId: i.array(i.string()),
|
|
3176
|
+
productsId: i.array(i.string()).min(1),
|
|
3176
3177
|
requiredQuantity: i.number().positive(),
|
|
3177
3178
|
discountPrice: i.number().positive()
|
|
3178
3179
|
})
|