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