@tmlmt/cooklang-parser / RecipeWithServings
Interface: RecipeWithServings
Represents a recipe together with a servings value for scaling
Properties
choices?
optionalchoices:RecipeChoices
The choices for alternative ingredients.
path?
optionalpath:string
The recipe file path for serialization (e.g. "./Complex Recipe")
recipe
recipe:
Recipe
The recipe that was added.
servings
servings:
number
The servings the recipe is scaled to