Saxonberg Server API
    Preparing search index...

    Type Alias MqlQuantity

    A resolved quantity hint riding on an MQL result.

    value.kind is what the quantity is — see MqlQuantityValue.

    mode is transport-only: it carries the syntax-form signal (formal :{N} → strict; natural-language 2 X → lenient) from the resolver to the helper. GlobbableApi.applyQuantity is its only legitimate consumer. Controllers don't read mode — they pass the whole MqlQuantity through to the helper without branching. The one exception is a controller that wants to deliberately override policy (applyQuantity(stuff, { ...quantity, mode: 'strict' }, action)), which is a loud, explicit signal; v1 has no such verbs.

    type MqlQuantity = {
        mode: "strict" | "lenient";
        value: MqlQuantityValue;
    }
    Index

    Properties

    Properties

    mode: "strict" | "lenient"