@techallee/foodverse 1.4.3 → 1.4.4
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/package.json +1 -1
- package/src/types/api/menu.d.ts +3 -1
package/package.json
CHANGED
package/src/types/api/menu.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type MenuSource = 'foodverse' | 'lieferando' | 'wolt' | 'uber_eats';
|
|
2
|
+
type MenuStatus = 'public' | 'private' | 'draft';
|
|
2
3
|
type LanguageCode = 'de' | 'en' | 'vi'
|
|
3
4
|
|
|
4
5
|
declare interface Menu {
|
|
@@ -70,7 +71,7 @@ declare interface Product {
|
|
|
70
71
|
allergies: any[];
|
|
71
72
|
extras: any[];
|
|
72
73
|
vatLevel: string; // Replace with VatLevelEnum if defined
|
|
73
|
-
status:
|
|
74
|
+
status: MenuStatus;
|
|
74
75
|
discount: any[];
|
|
75
76
|
categoryId: string;
|
|
76
77
|
variants: Variant[];
|
|
@@ -83,6 +84,7 @@ declare interface Category {
|
|
|
83
84
|
id: string;
|
|
84
85
|
externalId?: string | null;
|
|
85
86
|
source: MenuSource;
|
|
87
|
+
status: MenuStatus;
|
|
86
88
|
name: string;
|
|
87
89
|
description: string;
|
|
88
90
|
rank: number;
|