@orderingstack/ordering-types 1.2.0 → 1.2.1
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/kiosk.d.ts +6 -0
- package/dist/esm/kiosk.d.ts +6 -0
- package/package.json +1 -1
package/dist/cjs/kiosk.d.ts
CHANGED
|
@@ -89,10 +89,16 @@ export interface IMenuBottomNavProps {
|
|
|
89
89
|
fallbackImg?: string;
|
|
90
90
|
changeQuantity: (line: IOrderLine, quantity: number) => void;
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* @interface IMenuUpsizeProps
|
|
94
|
+
* @property {Array<IProduct>|undefined} products products to offer as upsize
|
|
95
|
+
* @property {IProduct|undefined} product original product being upsized
|
|
96
|
+
*/
|
|
92
97
|
export interface IMenuUpsizeProps {
|
|
93
98
|
show: boolean;
|
|
94
99
|
onClose: () => void;
|
|
95
100
|
products?: IProduct[];
|
|
101
|
+
product?: IProduct;
|
|
96
102
|
onProductClicked: (prod: IProduct) => void;
|
|
97
103
|
currency: string;
|
|
98
104
|
}
|
package/dist/esm/kiosk.d.ts
CHANGED
|
@@ -89,10 +89,16 @@ export interface IMenuBottomNavProps {
|
|
|
89
89
|
fallbackImg?: string;
|
|
90
90
|
changeQuantity: (line: IOrderLine, quantity: number) => void;
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* @interface IMenuUpsizeProps
|
|
94
|
+
* @property {Array<IProduct>|undefined} products products to offer as upsize
|
|
95
|
+
* @property {IProduct|undefined} product original product being upsized
|
|
96
|
+
*/
|
|
92
97
|
export interface IMenuUpsizeProps {
|
|
93
98
|
show: boolean;
|
|
94
99
|
onClose: () => void;
|
|
95
100
|
products?: IProduct[];
|
|
101
|
+
product?: IProduct;
|
|
96
102
|
onProductClicked: (prod: IProduct) => void;
|
|
97
103
|
currency: string;
|
|
98
104
|
}
|