feat: Add the ability to flag a food as "on hand", to exclude from shopping list (#3777)

This commit is contained in:
boc-the-git
2024-06-29 01:16:04 +10:00
committed by GitHub
parent 4831adb0f3
commit a062a4beaa
8 changed files with 112 additions and 9 deletions

View File

@@ -63,6 +63,7 @@ export interface CreateIngredientFood {
};
labelId?: string;
aliases?: CreateIngredientFoodAlias[];
onHand?: boolean;
}
export interface CreateIngredientFoodAlias {
name: string;
@@ -135,6 +136,7 @@ export interface IngredientFood {
label?: MultiPurposeLabelSummary;
createdAt?: string;
updateAt?: string;
onHand?: boolean;
}
export interface IngredientFoodAlias {
name: string;
@@ -464,7 +466,7 @@ export interface ScrapeRecipe {
export interface ScrapeRecipeTest {
url: string;
}
export interface SlugResponse {}
export interface SlugResponse { }
export interface TagIn {
name: string;
}