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

    One committed fulfillment transition of an order.

    The server reports the states the order moved between and the database time it happened. Clients use it to confirm the change immediately; the authoritative current state is still the queue read, never this response.

    interface OrderStatusTransition {
        fromStatus: "Queued" | "Preparing" | "Ready" | "Delivered";
        orderId: string;
        toStatus: "Queued" | "Preparing" | "Ready" | "Delivered" | "Refunded";
        transitionedAt: string;
    }
    Index
    fromStatus: "Queued" | "Preparing" | "Ready" | "Delivered"

    Fulfillment state the order left.

    orderId: string

    Owning immutable order identity, never the queue number.

    toStatus: "Queued" | "Preparing" | "Ready" | "Delivered" | "Refunded"

    Fulfillment state the order entered.

    transitionedAt: string

    Database time at which the transition committed, as an ISO-8601 string.