Saxonberg Server API
    Preparing search index...

    Type Alias TransferAmount

    TransferAmount:
        | { kind: "all" }
        | { kind: "measure"; litres: number; mode: "strict" | "lenient" }

    How much matter to move.

    • { kind: 'all' } — the whole of the source slot (drink, spill). No clamp note; you get what's there.
    • { kind: 'measure'; litres; mode } — a specific volume in the canonical unit (fill-to-capacity, sip, pour 2 cups). When it overflows the source or destination, mode decides: 'strict' rejects entirely (quantity-clamped-rejected), 'lenient' moves what fits (quantity-clamped).