PassioIngredient
Attribute
Description
name
The name of the ingredient.
refCode
The unique identifier of the ingredient.
iconId
The identifier of the icon associated with the ingredient.
weight
The weight of the ingredient.
referenceNutrients
PassioNutrients : The reference nutrients of the ingredient.
metadata
PassioFoodMetadata: The metadata associated with the ingredient.
amount
The amount of the ingredient.
export interface PassioIngredient {
// Reference code of Passio food item
refCode: RefCode
/** The name of the ingredient. */
name: string
/** The unique identifier of the ingredient. */
id: string
/** The identifier of the icon associated with the ingredient. */
iconId: PassioID | string
/** The weight of the ingredient. */
weight: UnitMass
/** The reference nutrients of the ingredient. */
referenceNutrients: PassioNutrients
/** The metadata associated with the ingredient. */
metadata?: PassioFoodMetadata
/** The amount of the ingredient. */
amount: PassioFoodAmount
}
Last updated