mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
remove isFood and disableAmount flags from frontend schema
This commit is contained in:
parent
7d4ba5d092
commit
8d5f775f48
2 changed files with 0 additions and 23 deletions
|
@ -22,7 +22,6 @@ export interface CreateHouseholdPreferences {
|
||||||
recipeShowAssets?: boolean;
|
recipeShowAssets?: boolean;
|
||||||
recipeLandscapeView?: boolean;
|
recipeLandscapeView?: boolean;
|
||||||
recipeDisableComments?: boolean;
|
recipeDisableComments?: boolean;
|
||||||
recipeDisableAmount?: boolean;
|
|
||||||
}
|
}
|
||||||
export interface CreateInviteToken {
|
export interface CreateInviteToken {
|
||||||
uses: number;
|
uses: number;
|
||||||
|
@ -191,7 +190,6 @@ export interface ReadHouseholdPreferences {
|
||||||
recipeShowAssets?: boolean;
|
recipeShowAssets?: boolean;
|
||||||
recipeLandscapeView?: boolean;
|
recipeLandscapeView?: boolean;
|
||||||
recipeDisableComments?: boolean;
|
recipeDisableComments?: boolean;
|
||||||
recipeDisableAmount?: boolean;
|
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
export interface HouseholdUserSummary {
|
export interface HouseholdUserSummary {
|
||||||
|
@ -269,7 +267,6 @@ export interface SaveHouseholdPreferences {
|
||||||
recipeShowAssets?: boolean;
|
recipeShowAssets?: boolean;
|
||||||
recipeLandscapeView?: boolean;
|
recipeLandscapeView?: boolean;
|
||||||
recipeDisableComments?: boolean;
|
recipeDisableComments?: boolean;
|
||||||
recipeDisableAmount?: boolean;
|
|
||||||
householdId: string;
|
householdId: string;
|
||||||
}
|
}
|
||||||
export interface SaveInviteToken {
|
export interface SaveInviteToken {
|
||||||
|
@ -303,8 +300,6 @@ export interface RecipeIngredient {
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean | null;
|
|
||||||
disableAmount?: boolean;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
title?: string | null;
|
title?: string | null;
|
||||||
originalText?: string | null;
|
originalText?: string | null;
|
||||||
|
@ -409,8 +404,6 @@ export interface ShoppingListItemBase {
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean;
|
|
||||||
disableAmount?: boolean | null;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
shoppingListId: string;
|
shoppingListId: string;
|
||||||
checked?: boolean;
|
checked?: boolean;
|
||||||
|
@ -427,8 +420,6 @@ export interface ShoppingListItemCreate {
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean;
|
|
||||||
disableAmount?: boolean | null;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
shoppingListId: string;
|
shoppingListId: string;
|
||||||
checked?: boolean;
|
checked?: boolean;
|
||||||
|
@ -453,8 +444,6 @@ export interface ShoppingListItemOut {
|
||||||
unit?: IngredientUnit | null;
|
unit?: IngredientUnit | null;
|
||||||
food?: IngredientFood | null;
|
food?: IngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean;
|
|
||||||
disableAmount?: boolean | null;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
shoppingListId: string;
|
shoppingListId: string;
|
||||||
checked?: boolean;
|
checked?: boolean;
|
||||||
|
@ -494,8 +483,6 @@ export interface ShoppingListItemUpdate {
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean;
|
|
||||||
disableAmount?: boolean | null;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
shoppingListId: string;
|
shoppingListId: string;
|
||||||
checked?: boolean;
|
checked?: boolean;
|
||||||
|
@ -513,8 +500,6 @@ export interface ShoppingListItemUpdateBulk {
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean;
|
|
||||||
disableAmount?: boolean | null;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
shoppingListId: string;
|
shoppingListId: string;
|
||||||
checked?: boolean;
|
checked?: boolean;
|
||||||
|
@ -679,14 +664,11 @@ export interface UpdateHouseholdPreferences {
|
||||||
recipeShowAssets?: boolean;
|
recipeShowAssets?: boolean;
|
||||||
recipeLandscapeView?: boolean;
|
recipeLandscapeView?: boolean;
|
||||||
recipeDisableComments?: boolean;
|
recipeDisableComments?: boolean;
|
||||||
recipeDisableAmount?: boolean;
|
|
||||||
}
|
}
|
||||||
export interface RecipeIngredientBase {
|
export interface RecipeIngredientBase {
|
||||||
quantity?: number | null;
|
quantity?: number | null;
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean | null;
|
|
||||||
disableAmount?: boolean | null;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,6 @@ export interface RecipeSettings {
|
||||||
showAssets?: boolean;
|
showAssets?: boolean;
|
||||||
landscapeView?: boolean;
|
landscapeView?: boolean;
|
||||||
disableComments?: boolean;
|
disableComments?: boolean;
|
||||||
disableAmount?: boolean;
|
|
||||||
locked?: boolean;
|
locked?: boolean;
|
||||||
}
|
}
|
||||||
export interface AssignTags {
|
export interface AssignTags {
|
||||||
|
@ -212,8 +211,6 @@ export interface RecipeIngredient {
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean | null;
|
|
||||||
disableAmount?: boolean;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
title?: string | null;
|
title?: string | null;
|
||||||
originalText?: string | null;
|
originalText?: string | null;
|
||||||
|
@ -347,8 +344,6 @@ export interface RecipeIngredientBase {
|
||||||
unit?: IngredientUnit | CreateIngredientUnit | null;
|
unit?: IngredientUnit | CreateIngredientUnit | null;
|
||||||
food?: IngredientFood | CreateIngredientFood | null;
|
food?: IngredientFood | CreateIngredientFood | null;
|
||||||
note?: string | null;
|
note?: string | null;
|
||||||
isFood?: boolean | null;
|
|
||||||
disableAmount?: boolean | null;
|
|
||||||
display?: string;
|
display?: string;
|
||||||
}
|
}
|
||||||
export interface RecipeLastMade {
|
export interface RecipeLastMade {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue