Dankoss Docs - v0.1.0
    Preparing search index...

    Type Alias DealCard

    Defines the core data structure for a product deal or recipe card.

    type DealCard = {
        allergens?: string[];
        description: string;
        discount: string;
        image: string;
        market: string;
        notes?: string[];
        nutrition: NutritionFacts;
        oldPrice: string;
        price: string;
        quantity: string;
        rating: string;
        title: string;
    }
    Index

    Properties

    allergens?: string[]

    Optional list of potential allergens.

    description: string

    Short promotional or descriptive text.

    discount: string

    Percentage or amount saved (e.g., "-32%").

    image: string

    URL to the product/recipe image.

    market: string

    The store offering the deal (or source of the recipe ingredients).

    notes?: string[]

    Optional storage, cooking, or usage tips.

    nutrition: NutritionFacts

    Detailed nutritional breakdown.

    oldPrice: string

    Original price before discount.

    price: string

    Current discounted price.

    quantity: string

    Pack size, weight, or servings (e.g., "500 g", "2 portions").

    rating: string

    User rating out of 5.0.

    title: string

    The name of the product or recipe.