Enhance RecipePreview and RecipesService with additional inventory item properties and conversion logic
This commit is contained in:
@@ -80,9 +80,11 @@ export type RecipePreviewInventoryItem = {
|
||||
id: number;
|
||||
quantity: string;
|
||||
unit: string;
|
||||
brand: string | null;
|
||||
location: string | null;
|
||||
bestBeforeDate: string | null;
|
||||
brand?: string | null;
|
||||
location?: string | null;
|
||||
bestBeforeDate?: string | null;
|
||||
canConvert?: boolean;
|
||||
convertedQuantity?: number;
|
||||
};
|
||||
|
||||
export type RecipeInventoryPreviewIngredient = {
|
||||
|
||||
Reference in New Issue
Block a user