mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	feat: Remove "Is Food" and "Disable Amounts" Flags (#5684)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
		| @@ -22,7 +22,6 @@ export interface CreateHouseholdPreferences { | ||||
|   recipeShowAssets?: boolean; | ||||
|   recipeLandscapeView?: boolean; | ||||
|   recipeDisableComments?: boolean; | ||||
|   recipeDisableAmount?: boolean; | ||||
| } | ||||
| export interface CreateInviteToken { | ||||
|   uses: number; | ||||
| @@ -191,7 +190,6 @@ export interface ReadHouseholdPreferences { | ||||
|   recipeShowAssets?: boolean; | ||||
|   recipeLandscapeView?: boolean; | ||||
|   recipeDisableComments?: boolean; | ||||
|   recipeDisableAmount?: boolean; | ||||
|   id: string; | ||||
| } | ||||
| export interface HouseholdUserSummary { | ||||
| @@ -269,7 +267,6 @@ export interface SaveHouseholdPreferences { | ||||
|   recipeShowAssets?: boolean; | ||||
|   recipeLandscapeView?: boolean; | ||||
|   recipeDisableComments?: boolean; | ||||
|   recipeDisableAmount?: boolean; | ||||
|   householdId: string; | ||||
| } | ||||
| export interface SaveInviteToken { | ||||
| @@ -303,8 +300,6 @@ export interface RecipeIngredient { | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean | null; | ||||
|   disableAmount?: boolean; | ||||
|   display?: string; | ||||
|   title?: string | null; | ||||
|   originalText?: string | null; | ||||
| @@ -409,8 +404,6 @@ export interface ShoppingListItemBase { | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean; | ||||
|   disableAmount?: boolean | null; | ||||
|   display?: string; | ||||
|   shoppingListId: string; | ||||
|   checked?: boolean; | ||||
| @@ -427,8 +420,6 @@ export interface ShoppingListItemCreate { | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean; | ||||
|   disableAmount?: boolean | null; | ||||
|   display?: string; | ||||
|   shoppingListId: string; | ||||
|   checked?: boolean; | ||||
| @@ -453,8 +444,6 @@ export interface ShoppingListItemOut { | ||||
|   unit?: IngredientUnit | null; | ||||
|   food?: IngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean; | ||||
|   disableAmount?: boolean | null; | ||||
|   display?: string; | ||||
|   shoppingListId: string; | ||||
|   checked?: boolean; | ||||
| @@ -494,8 +483,6 @@ export interface ShoppingListItemUpdate { | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean; | ||||
|   disableAmount?: boolean | null; | ||||
|   display?: string; | ||||
|   shoppingListId: string; | ||||
|   checked?: boolean; | ||||
| @@ -513,8 +500,6 @@ export interface ShoppingListItemUpdateBulk { | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean; | ||||
|   disableAmount?: boolean | null; | ||||
|   display?: string; | ||||
|   shoppingListId: string; | ||||
|   checked?: boolean; | ||||
| @@ -679,14 +664,11 @@ export interface UpdateHouseholdPreferences { | ||||
|   recipeShowAssets?: boolean; | ||||
|   recipeLandscapeView?: boolean; | ||||
|   recipeDisableComments?: boolean; | ||||
|   recipeDisableAmount?: boolean; | ||||
| } | ||||
| export interface RecipeIngredientBase { | ||||
|   quantity?: number | null; | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean | null; | ||||
|   disableAmount?: boolean | null; | ||||
|   display?: string; | ||||
| } | ||||
|   | ||||
| @@ -31,7 +31,6 @@ export interface RecipeSettings { | ||||
|   showAssets?: boolean; | ||||
|   landscapeView?: boolean; | ||||
|   disableComments?: boolean; | ||||
|   disableAmount?: boolean; | ||||
|   locked?: boolean; | ||||
| } | ||||
| export interface AssignTags { | ||||
| @@ -212,8 +211,6 @@ export interface RecipeIngredient { | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean | null; | ||||
|   disableAmount?: boolean; | ||||
|   display?: string; | ||||
|   title?: string | null; | ||||
|   originalText?: string | null; | ||||
| @@ -347,8 +344,6 @@ export interface RecipeIngredientBase { | ||||
|   unit?: IngredientUnit | CreateIngredientUnit | null; | ||||
|   food?: IngredientFood | CreateIngredientFood | null; | ||||
|   note?: string | null; | ||||
|   isFood?: boolean | null; | ||||
|   disableAmount?: boolean | null; | ||||
|   display?: string; | ||||
| } | ||||
| export interface RecipeLastMade { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user