@orderingstack/ordering-types 1.2.0 → 1.2.2
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/index.d.ts +2 -1
- package/dist/cjs/kiosk.d.ts +6 -0
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/kiosk.d.ts +6 -0
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -54,10 +54,11 @@ export declare enum EProductKindBucket {
|
|
|
54
54
|
}
|
|
55
55
|
export type TLiterals = {
|
|
56
56
|
name: string;
|
|
57
|
+
upsizeName?: string;
|
|
57
58
|
fiscal?: string;
|
|
58
59
|
"target-product-id"?: string;
|
|
59
60
|
description?: string;
|
|
60
|
-
}
|
|
61
|
+
} & Record<string, string>;
|
|
61
62
|
export type TMedia = {
|
|
62
63
|
url: string;
|
|
63
64
|
name: string;
|
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/index.d.ts
CHANGED
|
@@ -54,10 +54,11 @@ export declare enum EProductKindBucket {
|
|
|
54
54
|
}
|
|
55
55
|
export type TLiterals = {
|
|
56
56
|
name: string;
|
|
57
|
+
upsizeName?: string;
|
|
57
58
|
fiscal?: string;
|
|
58
59
|
"target-product-id"?: string;
|
|
59
60
|
description?: string;
|
|
60
|
-
}
|
|
61
|
+
} & Record<string, string>;
|
|
61
62
|
export type TMedia = {
|
|
62
63
|
url: string;
|
|
63
64
|
name: string;
|
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
|
}
|