@orderingstack/ordering-types 1.17.0 → 1.18.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/index.d.ts +3 -3
- package/dist/cjs/kiosk.d.ts +1 -0
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/kiosk.d.ts +1 -0
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -472,11 +472,11 @@ export declare enum EOrderLineStatus {
|
|
|
472
472
|
export interface IDiscount {
|
|
473
473
|
layer: string;
|
|
474
474
|
name?: string;
|
|
475
|
-
discountPrice: number;
|
|
475
|
+
discountPrice: number | string;
|
|
476
476
|
type: string;
|
|
477
|
-
product
|
|
477
|
+
product?: string;
|
|
478
478
|
path?: string;
|
|
479
|
-
price
|
|
479
|
+
price?: number | string;
|
|
480
480
|
}
|
|
481
481
|
export declare enum EOrderProductKind {
|
|
482
482
|
GROUP = "group",
|
package/dist/cjs/kiosk.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export interface IMenuCategorySectionProps {
|
|
|
83
83
|
MenuTile?: React.FC<IMenuTileProps>;
|
|
84
84
|
setCategoryWithScroll?: (ICategory: ICategory) => void;
|
|
85
85
|
selectedCategory?: ICategory;
|
|
86
|
+
menu?: IProduct[];
|
|
86
87
|
}
|
|
87
88
|
export interface IMenuTopNavProps {
|
|
88
89
|
goToStart: (state?: any) => void;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -472,11 +472,11 @@ export declare enum EOrderLineStatus {
|
|
|
472
472
|
export interface IDiscount {
|
|
473
473
|
layer: string;
|
|
474
474
|
name?: string;
|
|
475
|
-
discountPrice: number;
|
|
475
|
+
discountPrice: number | string;
|
|
476
476
|
type: string;
|
|
477
|
-
product
|
|
477
|
+
product?: string;
|
|
478
478
|
path?: string;
|
|
479
|
-
price
|
|
479
|
+
price?: number | string;
|
|
480
480
|
}
|
|
481
481
|
export declare enum EOrderProductKind {
|
|
482
482
|
GROUP = "group",
|
package/dist/esm/kiosk.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export interface IMenuCategorySectionProps {
|
|
|
83
83
|
MenuTile?: React.FC<IMenuTileProps>;
|
|
84
84
|
setCategoryWithScroll?: (ICategory: ICategory) => void;
|
|
85
85
|
selectedCategory?: ICategory;
|
|
86
|
+
menu?: IProduct[];
|
|
86
87
|
}
|
|
87
88
|
export interface IMenuTopNavProps {
|
|
88
89
|
goToStart: (state?: any) => void;
|