Preparing search index...

    Menu item representing a recipe added to the user's cooking menu. The menu is the single source of truth - the shopping list is generated from it.

    type menuTableElement = {
        id?: number;
        recipeId: number;
        recipeTitle: string;
        imageSource: string;
        isCooked: boolean;
        count: number;
    }
    Index

    Properties

    id?: number

    Optional database ID (undefined for new menu items)

    recipeId: number

    Recipe ID from the recipes table

    recipeTitle: string

    Recipe title (denormalized for quick display)

    imageSource: string

    Recipe image source (denormalized for quick display)

    isCooked: boolean

    Whether the recipe has been cooked

    count: number

    Number of times this recipe should be cooked (default 1)