diff --git a/frontend/lib/api/types/household.ts b/frontend/lib/api/types/household.ts index 3f635879c..b01fe7245 100644 --- a/frontend/lib/api/types/household.ts +++ b/frontend/lib/api/types/household.ts @@ -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; } diff --git a/frontend/lib/api/types/recipe.ts b/frontend/lib/api/types/recipe.ts index e87f95bdf..29e4f98bd 100644 --- a/frontend/lib/api/types/recipe.ts +++ b/frontend/lib/api/types/recipe.ts @@ -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 {