@chopkola/common 1.0.199 → 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
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LucideIcon } from "lucide-react";
|
|
2
2
|
import { Category } from "./category";
|
|
3
|
-
import { JsonObject, MoneyString, Nullable, QuantityString, Timestamps, UUID } from "./global";
|
|
3
|
+
import { Currency, JsonObject, MoneyString, Nullable, QuantityString, Timestamps, UUID } from "./global";
|
|
4
4
|
import { ProductTypeEnum, StockMovementReasonEnum, StockStatusEnum, VendorProductsStatisticsIconEnum } from "./enum/collection";
|
|
5
5
|
export interface BackendVendorProductStatistic {
|
|
6
6
|
key: "total_products" | "low_stock" | "out_of_stock" | "top_category";
|
|
@@ -196,9 +196,11 @@ export interface VendorProductsManagementData {
|
|
|
196
196
|
export interface VendorCreateOrEditProductPageData {
|
|
197
197
|
categories: Category[];
|
|
198
198
|
product?: ProductAggregate;
|
|
199
|
+
currency: Currency;
|
|
199
200
|
}
|
|
200
201
|
export interface ProductDetailsData {
|
|
201
202
|
product: ProductAggregate;
|
|
203
|
+
currency: Currency;
|
|
202
204
|
}
|
|
203
205
|
export type WebApplicationProductsResourceData = {
|
|
204
206
|
products: InventoryItemAggregate[];
|