Preparing search index...

    Ingredient data structure with complete metadata Supports both database storage and recipe usage

    type ingredientTableElement = {
        id?: number;
        name: string;
        unit: string;
        quantity?: string;
        type: ingredientType;
        season: string[];
        note?: string;
    }
    Index

    Properties

    id?: number

    Optional database ID (undefined for new ingredients)

    name: string

    Ingredient name

    unit: string

    Unit of measurement (cups, grams, pieces, etc.)

    quantity?: string

    Quantity as string to support fractional and textual amounts

    Categorization type for organization and shopping

    season: string[]

    Array of month numbers when ingredient is in season

    note?: string

    Usage context or preparation note for this ingredient occurrence Allows distinguishing duplicate ingredients used in different steps

    "For the sauce", "Pour la pâte", "To garnish"