@orderingstack/ordering-types 1.0.13 → 1.0.14
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 +0 -4
- package/dist/cjs/kiosk.d.ts +2 -2
- package/dist/esm/index.d.ts +0 -4
- package/dist/esm/kiosk.d.ts +2 -2
- package/package.json +22 -22
package/dist/cjs/index.d.ts
CHANGED
|
@@ -117,10 +117,6 @@ export interface IProductStateSelected {
|
|
|
117
117
|
export interface IProductEmit {
|
|
118
118
|
[id: string]: string;
|
|
119
119
|
}
|
|
120
|
-
export interface ICategory {
|
|
121
|
-
id: string;
|
|
122
|
-
name: string;
|
|
123
|
-
}
|
|
124
120
|
export interface IProductFilter {
|
|
125
121
|
[fltCtx: string]: string[];
|
|
126
122
|
}
|
package/dist/cjs/kiosk.d.ts
CHANGED
|
@@ -60,8 +60,8 @@ export interface IMenuProps {
|
|
|
60
60
|
stacking: "vertical" | "horizontal";
|
|
61
61
|
transitionProps?: UseTransitionProps;
|
|
62
62
|
onMenuCategoryViewed?: (category: IProduct) => void;
|
|
63
|
-
goToCheckout: () => void;
|
|
64
|
-
goToStart: () => void;
|
|
63
|
+
goToCheckout: (state?: any) => void;
|
|
64
|
+
goToStart: (state?: any) => void;
|
|
65
65
|
order?: IOrder;
|
|
66
66
|
changeQuantity: (line: IOrderLine, quantity: number) => void;
|
|
67
67
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -117,10 +117,6 @@ export interface IProductStateSelected {
|
|
|
117
117
|
export interface IProductEmit {
|
|
118
118
|
[id: string]: string;
|
|
119
119
|
}
|
|
120
|
-
export interface ICategory {
|
|
121
|
-
id: string;
|
|
122
|
-
name: string;
|
|
123
|
-
}
|
|
124
120
|
export interface IProductFilter {
|
|
125
121
|
[fltCtx: string]: string[];
|
|
126
122
|
}
|
package/dist/esm/kiosk.d.ts
CHANGED
|
@@ -60,8 +60,8 @@ export interface IMenuProps {
|
|
|
60
60
|
stacking: "vertical" | "horizontal";
|
|
61
61
|
transitionProps?: UseTransitionProps;
|
|
62
62
|
onMenuCategoryViewed?: (category: IProduct) => void;
|
|
63
|
-
goToCheckout: () => void;
|
|
64
|
-
goToStart: () => void;
|
|
63
|
+
goToCheckout: (state?: any) => void;
|
|
64
|
+
goToStart: (state?: any) => void;
|
|
65
65
|
order?: IOrder;
|
|
66
66
|
changeQuantity: (line: IOrderLine, quantity: number) => void;
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@orderingstack/ordering-types",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Typescript types for @orderingstack",
|
|
5
|
-
"types": "dist/esm/index.d.ts",
|
|
6
|
-
"main": "dist/cjs/index.js",
|
|
7
|
-
"module": "dist/esm/index.js",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist/"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
|
|
13
|
-
"prepublishOnly": "npm run build"
|
|
14
|
-
},
|
|
15
|
-
"author": "Tomasz Rojek <tomasz.rojek@e3.pl>",
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@types/react": "^18.0.26",
|
|
18
|
-
"react": "^18.2.0",
|
|
19
|
-
"react-hook-form": "^7.42.0",
|
|
20
|
-
"react-spring": "^9.6.1",
|
|
21
|
-
"typescript": "next"
|
|
22
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@orderingstack/ordering-types",
|
|
3
|
+
"version": "1.0.14",
|
|
4
|
+
"description": "Typescript types for @orderingstack",
|
|
5
|
+
"types": "dist/esm/index.d.ts",
|
|
6
|
+
"main": "dist/cjs/index.js",
|
|
7
|
+
"module": "dist/esm/index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
|
|
13
|
+
"prepublishOnly": "npm run build"
|
|
14
|
+
},
|
|
15
|
+
"author": "Tomasz Rojek <tomasz.rojek@e3.pl>",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/react": "^18.0.26",
|
|
18
|
+
"react": "^18.2.0",
|
|
19
|
+
"react-hook-form": "^7.42.0",
|
|
20
|
+
"react-spring": "^9.6.1",
|
|
21
|
+
"typescript": "next"
|
|
22
|
+
}
|
|
23
23
|
}
|