@chopkola/common 1.0.200 → 1.0.202

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
  }
@@ -192,6 +192,7 @@ export interface InventoryItemAggregate {
192
192
  export interface VendorProductsManagementData {
193
193
  products: ProductAggregate[];
194
194
  stats: VendorProductsStats;
195
+ currency: Currency;
195
196
  }
196
197
  export interface VendorCreateOrEditProductPageData {
197
198
  categories: Category[];
@@ -200,6 +201,7 @@ export interface VendorCreateOrEditProductPageData {
200
201
  }
201
202
  export interface ProductDetailsData {
202
203
  product: ProductAggregate;
204
+ currency: Currency;
203
205
  }
204
206
  export type WebApplicationProductsResourceData = {
205
207
  products: InventoryItemAggregate[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.200",
3
+ "version": "1.0.202",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",