Thankly SDK for JavaScript
    Preparing search index...

    Interface Ingredient

    One ingredient in a recipe.

    interface Ingredient {
        amount: string;
        imageSearchQuery?: string;
        imageUrl?: string;
        inCart: boolean;
        name: string;
    }
    Index
    amount: string

    Portion size with nutrient content (e.g., '~17g protein / 170g')

    imageSearchQuery?: string

    Search query for finding relevant images

    imageUrl?: string

    Resolved image URL (added by image resolver)

    inCart: boolean

    Whether the customer already has this ingredient.

    name: string

    Product name