mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-26 09:43:19 -05:00
code gen
This commit is contained in:
@@ -329,6 +329,8 @@ export interface IngredientUnit {
|
|||||||
pluralAbbreviation?: string | null;
|
pluralAbbreviation?: string | null;
|
||||||
useAbbreviation?: boolean;
|
useAbbreviation?: boolean;
|
||||||
aliases?: IngredientUnitAlias[];
|
aliases?: IngredientUnitAlias[];
|
||||||
|
standardQuantity?: number | null;
|
||||||
|
standardUnit?: string | null;
|
||||||
createdAt?: string | null;
|
createdAt?: string | null;
|
||||||
updatedAt?: string | null;
|
updatedAt?: string | null;
|
||||||
}
|
}
|
||||||
@@ -348,6 +350,8 @@ export interface CreateIngredientUnit {
|
|||||||
pluralAbbreviation?: string | null;
|
pluralAbbreviation?: string | null;
|
||||||
useAbbreviation?: boolean;
|
useAbbreviation?: boolean;
|
||||||
aliases?: CreateIngredientUnitAlias[];
|
aliases?: CreateIngredientUnitAlias[];
|
||||||
|
standardQuantity?: number | null;
|
||||||
|
standardUnit?: string | null;
|
||||||
}
|
}
|
||||||
export interface CreateIngredientUnitAlias {
|
export interface CreateIngredientUnitAlias {
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
@@ -85,6 +85,8 @@ export interface CreateIngredientUnit {
|
|||||||
pluralAbbreviation?: string | null;
|
pluralAbbreviation?: string | null;
|
||||||
useAbbreviation?: boolean;
|
useAbbreviation?: boolean;
|
||||||
aliases?: CreateIngredientUnitAlias[];
|
aliases?: CreateIngredientUnitAlias[];
|
||||||
|
standardQuantity?: number | null;
|
||||||
|
standardUnit?: string | null;
|
||||||
}
|
}
|
||||||
export interface CreateIngredientUnitAlias {
|
export interface CreateIngredientUnitAlias {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -174,6 +176,8 @@ export interface IngredientUnit {
|
|||||||
pluralAbbreviation?: string | null;
|
pluralAbbreviation?: string | null;
|
||||||
useAbbreviation?: boolean;
|
useAbbreviation?: boolean;
|
||||||
aliases?: IngredientUnitAlias[];
|
aliases?: IngredientUnitAlias[];
|
||||||
|
standardQuantity?: number | null;
|
||||||
|
standardUnit?: string | null;
|
||||||
createdAt?: string | null;
|
createdAt?: string | null;
|
||||||
updatedAt?: string | null;
|
updatedAt?: string | null;
|
||||||
}
|
}
|
||||||
@@ -498,6 +502,8 @@ export interface SaveIngredientUnit {
|
|||||||
pluralAbbreviation?: string | null;
|
pluralAbbreviation?: string | null;
|
||||||
useAbbreviation?: boolean;
|
useAbbreviation?: boolean;
|
||||||
aliases?: CreateIngredientUnitAlias[];
|
aliases?: CreateIngredientUnitAlias[];
|
||||||
|
standardQuantity?: number | null;
|
||||||
|
standardUnit?: string | null;
|
||||||
groupId: string;
|
groupId: string;
|
||||||
}
|
}
|
||||||
export interface ScrapeRecipe {
|
export interface ScrapeRecipe {
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ from .recipe_ingredient import (
|
|||||||
RegisteredParser,
|
RegisteredParser,
|
||||||
SaveIngredientFood,
|
SaveIngredientFood,
|
||||||
SaveIngredientUnit,
|
SaveIngredientUnit,
|
||||||
|
StandardizedUnitType,
|
||||||
UnitFoodBase,
|
UnitFoodBase,
|
||||||
)
|
)
|
||||||
from .recipe_notes import RecipeNote
|
from .recipe_notes import RecipeNote
|
||||||
@@ -159,6 +160,7 @@ __all__ = [
|
|||||||
"RegisteredParser",
|
"RegisteredParser",
|
||||||
"SaveIngredientFood",
|
"SaveIngredientFood",
|
||||||
"SaveIngredientUnit",
|
"SaveIngredientUnit",
|
||||||
|
"StandardizedUnitType",
|
||||||
"UnitFoodBase",
|
"UnitFoodBase",
|
||||||
"RecipeSuggestionQuery",
|
"RecipeSuggestionQuery",
|
||||||
"RecipeSuggestionResponse",
|
"RecipeSuggestionResponse",
|
||||||
|
|||||||
Reference in New Issue
Block a user