Saxonberg Server API
    Preparing search index...

    Type Alias MqlQuantityValue

    MqlQuantityValue:
        | { kind: "count"; n: number }
        | { kind: "all" }
        | { kind: "measure"; unit: Unit; value: number }

    The value an MQL quantity carries — what the quantity is:

    • 'count' — a discrete integer count (5 coins, coin:{5}). Consumed by GlobbableApi.applyQuantity.
    • 'all' — the sentinel "the whole lot" (all coins, coin:{*}).
    • 'measure' — a continuous bulk measure (2 cups, water:{2 cups}). Carries a serializable { value, unit } (the Quantity.toJSON shape, NOT a live Quantity — the AST / wire layers stay plain-data). Consumed by BulkableApi.transfer via the bulk verbs; glob's count/all path ignores it.