@uniteverses/shared 1.0.8 → 1.0.9

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.
@@ -181,6 +181,18 @@ export interface FoodGroupWithChildren {
181
181
  foodItems: FoodGroupItem[];
182
182
  childGroups: FoodGroupWithChildren[];
183
183
  }
184
+ export interface Unit {
185
+ id: string;
186
+ name: string;
187
+ label: string;
188
+ createdAt: string | Date;
189
+ }
190
+ export interface Size {
191
+ id: string;
192
+ name: string;
193
+ label: string;
194
+ createdAt: string | Date;
195
+ }
184
196
  export interface OrgFoodGroup {
185
197
  id: string;
186
198
  organizationId: string;
@@ -199,6 +211,17 @@ export interface OrgFoodItemType {
199
211
  createdAt: string | Date;
200
212
  foodItem: FoodItem;
201
213
  }
214
+ export interface OrgFoodItemPrice {
215
+ id: string;
216
+ orgFoodItemId: string;
217
+ price: string;
218
+ unitId: string;
219
+ sizeId: string | null;
220
+ quantityPerUnit: number | null;
221
+ createdAt: string | Date;
222
+ unit: Unit;
223
+ size: Size | null;
224
+ }
202
225
  export interface OrgFoodItem {
203
226
  id: string;
204
227
  organizationId: string;
@@ -208,6 +231,7 @@ export interface OrgFoodItem {
208
231
  foodGroups: number;
209
232
  };
210
233
  foodItemTypes?: OrgFoodItemType[];
234
+ prices?: OrgFoodItemPrice[];
211
235
  }
212
236
  export interface OrgFoodGroupItem {
213
237
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [