Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...

    One product's contribution to the current configured local-day commercial sales.

    productId is the stable identity the quantity is grouped by, so a catalog rename or relabel relabels this one entry rather than splitting its quantity into two unrelated counters. name and kitchenLabel come from the product's most recently finalized snapshot in the day, and kitchenLabel is the effective kitchen-facing label: the product's kitchen label when it has one, otherwise its captured product name.

    interface ProductSalesCount {
        kitchenLabel: string;
        name: string;
        productId: string;
        quantity: number;
    }
    Index
    kitchenLabel: string

    Effective kitchen label captured at this product's latest finalization today.

    name: string

    Product name captured at this product's latest finalization today.

    productId: string

    Stable catalog identity this quantity is grouped by; never a label or a name.

    quantity: number

    Sum of finalized whole-unit quantities for this product in the current day.