⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

@tmlmt/cooklang-parser / ProductOptionCore

Interface: ProductOptionCore ​

Core properties for ProductOption

Properties ​

id ​

id: string

The ID of the product


ingredientAliases? ​

optional ingredientAliases?: string[]

The aliases of the ingredient it also corresponds to


ingredientName ​

ingredientName: string

The name of the ingredient it corresponds to


price ​

price: number

The price of the product


productName ​

productName: string

The name of the product