@orderingstack/ordering-types 1.9.3 → 1.9.5
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 +6 -1
- package/dist/cjs/kiosk.d.ts +2 -1
- package/dist/esm/index.d.ts +6 -1
- package/dist/esm/kiosk.d.ts +2 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -234,7 +234,7 @@ export interface IOrder {
|
|
|
234
234
|
export interface IOrderCoupon {
|
|
235
235
|
coupon: string;
|
|
236
236
|
addedAt: string;
|
|
237
|
-
addedBy
|
|
237
|
+
addedBy?: string;
|
|
238
238
|
id: string;
|
|
239
239
|
data?: {
|
|
240
240
|
campaign?: string;
|
|
@@ -581,3 +581,8 @@ export interface INotificationMessage {
|
|
|
581
581
|
}[];
|
|
582
582
|
fiscal?: IFiscalData;
|
|
583
583
|
}
|
|
584
|
+
export interface ICategory {
|
|
585
|
+
id: string;
|
|
586
|
+
name: string;
|
|
587
|
+
img?: string;
|
|
588
|
+
}
|
package/dist/cjs/kiosk.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
2
|
import { UseFormRegisterReturn } from "react-hook-form";
|
|
3
3
|
import { UseTransitionProps } from "react-spring";
|
|
4
|
-
import { IProduct, IOrder, IProductStateSelected, IProductStateFilter, EOrderPaymentType, IKioskError, TUpsellKind } from "./index";
|
|
4
|
+
import { IProduct, IOrder, IProductStateSelected, IProductStateFilter, EOrderPaymentType, IKioskError, TUpsellKind, ICategory } from "./index";
|
|
5
5
|
import { IOrderLine } from "./index";
|
|
6
6
|
export declare enum EPaymentStatus {
|
|
7
7
|
UNINITIALIZED = "UNINITIALIZED",
|
|
@@ -80,6 +80,7 @@ export interface IMenuCategorySectionProps {
|
|
|
80
80
|
cols?: number;
|
|
81
81
|
colsLg?: number;
|
|
82
82
|
MenuTile?: React.FC<IMenuTileProps>;
|
|
83
|
+
setCategoryWithScroll?: (ICategory: ICategory) => void;
|
|
83
84
|
}
|
|
84
85
|
export interface IMenuTopNavProps {
|
|
85
86
|
goToStart: (state?: any) => void;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -234,7 +234,7 @@ export interface IOrder {
|
|
|
234
234
|
export interface IOrderCoupon {
|
|
235
235
|
coupon: string;
|
|
236
236
|
addedAt: string;
|
|
237
|
-
addedBy
|
|
237
|
+
addedBy?: string;
|
|
238
238
|
id: string;
|
|
239
239
|
data?: {
|
|
240
240
|
campaign?: string;
|
|
@@ -581,3 +581,8 @@ export interface INotificationMessage {
|
|
|
581
581
|
}[];
|
|
582
582
|
fiscal?: IFiscalData;
|
|
583
583
|
}
|
|
584
|
+
export interface ICategory {
|
|
585
|
+
id: string;
|
|
586
|
+
name: string;
|
|
587
|
+
img?: string;
|
|
588
|
+
}
|
package/dist/esm/kiosk.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
2
|
import { UseFormRegisterReturn } from "react-hook-form";
|
|
3
3
|
import { UseTransitionProps } from "react-spring";
|
|
4
|
-
import { IProduct, IOrder, IProductStateSelected, IProductStateFilter, EOrderPaymentType, IKioskError, TUpsellKind } from "./index";
|
|
4
|
+
import { IProduct, IOrder, IProductStateSelected, IProductStateFilter, EOrderPaymentType, IKioskError, TUpsellKind, ICategory } from "./index";
|
|
5
5
|
import { IOrderLine } from "./index";
|
|
6
6
|
export declare enum EPaymentStatus {
|
|
7
7
|
UNINITIALIZED = "UNINITIALIZED",
|
|
@@ -80,6 +80,7 @@ export interface IMenuCategorySectionProps {
|
|
|
80
80
|
cols?: number;
|
|
81
81
|
colsLg?: number;
|
|
82
82
|
MenuTile?: React.FC<IMenuTileProps>;
|
|
83
|
+
setCategoryWithScroll?: (ICategory: ICategory) => void;
|
|
83
84
|
}
|
|
84
85
|
export interface IMenuTopNavProps {
|
|
85
86
|
goToStart: (state?: any) => void;
|