@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.
@@ -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: string;
477
+ product?: string;
478
478
  path?: string;
479
- price: number;
479
+ price?: number | string;
480
480
  }
481
481
  export declare enum EOrderProductKind {
482
482
  GROUP = "group",
@@ -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;
@@ -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: string;
477
+ product?: string;
478
478
  path?: string;
479
- price: number;
479
+ price?: number | string;
480
480
  }
481
481
  export declare enum EOrderProductKind {
482
482
  GROUP = "group",
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.17.0",
3
+ "version": "1.18.1",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",