@chopkola/common 1.0.200 → 1.0.201
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Category } from "./category";
|
|
2
|
-
import { MoneyString, Timestamps, TimeString, UUID } from "./global";
|
|
2
|
+
import { Currency, MoneyString, Timestamps, TimeString, UUID } from "./global";
|
|
3
3
|
export type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
|
|
4
4
|
export type DietaryFlag = "vegan" | "vegetarian" | "gluten-free" | "spicy" | "halal" | "kosher";
|
|
5
5
|
export interface AvailabilityScheduleEntry {
|
|
@@ -87,14 +87,18 @@ export type UpdateModifierOptionInput = Partial<CreateModifierOptionInput>;
|
|
|
87
87
|
export interface VendorMenusManagementData {
|
|
88
88
|
categories: Category[];
|
|
89
89
|
menus: MenuWithMeals[];
|
|
90
|
+
currency?: Currency;
|
|
90
91
|
}
|
|
91
92
|
export interface VendorCreateOrEditMenuPageData {
|
|
92
93
|
categories: Category[];
|
|
93
94
|
menu?: MenuWithMeals;
|
|
95
|
+
currency?: Currency;
|
|
94
96
|
}
|
|
95
97
|
export interface MealDetailsData {
|
|
96
98
|
meal: MealWithModifiers;
|
|
99
|
+
currency?: Currency;
|
|
97
100
|
}
|
|
98
101
|
export interface MenuDetailsData {
|
|
99
102
|
menu: MenuWithMeals;
|
|
103
|
+
currency?: Currency;
|
|
100
104
|
}
|
|
@@ -200,6 +200,7 @@ export interface VendorCreateOrEditProductPageData {
|
|
|
200
200
|
}
|
|
201
201
|
export interface ProductDetailsData {
|
|
202
202
|
product: ProductAggregate;
|
|
203
|
+
currency: Currency;
|
|
203
204
|
}
|
|
204
205
|
export type WebApplicationProductsResourceData = {
|
|
205
206
|
products: InventoryItemAggregate[];
|