@tmlmt/cooklang-parser / Ingredient
Interface: Ingredient
Defined in: types.ts:92
Represents an ingredient in a recipe.
Properties
hidden?
optional
hidden:boolean
Defined in: types.ts:104
Whether the ingredient is hidden.
isRecipe?
optional
isRecipe:boolean
Defined in: types.ts:106
Whether the ingredient is a recipe.
name
name:
string
Defined in: types.ts:94
The name of the ingredient.
optional?
optional
optional:boolean
Defined in: types.ts:102
Whether the ingredient is optional.
preparation?
optional
preparation:string
Defined in: types.ts:100
The preparation of the ingredient.
quantity?
optional
quantity:string
|number
Defined in: types.ts:96
The quantity of the ingredient.
unit?
optional
unit:string
Defined in: types.ts:98
The unit of the ingredient.