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

    Interface OrderMetadataChangeRecord

    One append-only old-to-new operational metadata fact.

    interface OrderMetadataChangeRecord {
        changedAt: Date;
        field: "queueNumber" | "note";
        newValue: string | null;
        oldValue: string | null;
        orderId: string;
    }
    Index
    changedAt: Date

    Database transaction time at which the correction committed.

    field: "queueNumber" | "note"

    The corrected operational field.

    newValue: string | null

    Value committed by this correction.

    oldValue: string | null

    Value immediately before this committed correction.

    orderId: string

    Finalized order whose operational value changed.