@open-tender/utils 0.0.13 → 0.0.14
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/cjs/utils/cart.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare const calcPrices: (item: Partial<CartItem>) => {
|
|
|
96
96
|
isSoldOut?: boolean | undefined;
|
|
97
97
|
favorite?: import("@open-tender/types").Favorite | undefined;
|
|
98
98
|
};
|
|
99
|
-
export declare const makeOrderItem: (item: MenuItem, isEdit?: boolean, soldOut?:
|
|
99
|
+
export declare const makeOrderItem: (item: MenuItem, isEdit?: boolean, soldOut?: SoldOut, simpleItem?: Partial<CartItem>, hasPoints?: boolean) => {
|
|
100
100
|
groups: {
|
|
101
101
|
quantity: number;
|
|
102
102
|
options: {
|
package/dist/esm/utils/cart.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare const calcPrices: (item: Partial<CartItem>) => {
|
|
|
96
96
|
isSoldOut?: boolean | undefined;
|
|
97
97
|
favorite?: import("@open-tender/types").Favorite | undefined;
|
|
98
98
|
};
|
|
99
|
-
export declare const makeOrderItem: (item: MenuItem, isEdit?: boolean, soldOut?:
|
|
99
|
+
export declare const makeOrderItem: (item: MenuItem, isEdit?: boolean, soldOut?: SoldOut, simpleItem?: Partial<CartItem>, hasPoints?: boolean) => {
|
|
100
100
|
groups: {
|
|
101
101
|
quantity: number;
|
|
102
102
|
options: {
|
package/package.json
CHANGED