@tmlmt/cooklang-parser / RecipeChoices
Interface: RecipeChoices
Represents the choices to apply when computing ingredient quantities. Maps item/group IDs to the index of the selected alternative.
Properties
ingredientGroups?
optionalingredientGroups:Map<string,number>
Map of choices that can be made for Grouped Ingredient StepItem's
ingredientItems?
optionalingredientItems:Map<string,number>
Map of choices that can be made at Ingredient StepItem level