Skip to content

@tmlmt/cooklang-parser / IngredientItem

Interface: IngredientItem

Represents an ingredient item in a recipe step.

Properties

displayName

displayName: string

The alias/name of the ingredient as it should be displayed in the preparation


itemQuantity?

optional itemQuantity: FixedValue | Range

Quantity specific to this step item for this ingredient which may also be referenced elsewhere


itemUnit?

optional itemUnit: string

Unit specific to this step item for this ingredient which may also be referenced elsewhere


type

type: "ingredient"

The type of the item.


value

value: number

The value of the item.