@uniteverses/shared 1.0.7 → 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;
|
|
@@ -192,6 +204,24 @@ export interface OrgFoodGroup {
|
|
|
192
204
|
childGroups: number;
|
|
193
205
|
};
|
|
194
206
|
}
|
|
207
|
+
export interface OrgFoodItemType {
|
|
208
|
+
id: string;
|
|
209
|
+
orgFoodItemId: string;
|
|
210
|
+
foodItemId: string;
|
|
211
|
+
createdAt: string | Date;
|
|
212
|
+
foodItem: FoodItem;
|
|
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
|
+
}
|
|
195
225
|
export interface OrgFoodItem {
|
|
196
226
|
id: string;
|
|
197
227
|
organizationId: string;
|
|
@@ -200,6 +230,8 @@ export interface OrgFoodItem {
|
|
|
200
230
|
_count?: {
|
|
201
231
|
foodGroups: number;
|
|
202
232
|
};
|
|
233
|
+
foodItemTypes?: OrgFoodItemType[];
|
|
234
|
+
prices?: OrgFoodItemPrice[];
|
|
203
235
|
}
|
|
204
236
|
export interface OrgFoodGroupItem {
|
|
205
237
|
id: string;
|