@metreeca/blue - v0.10.0
    Preparing search index...

    Interface DictionaryConstraints

    Constraints for the dictionary shape factory.

    interface DictionaryConstraints {
        minLength?: number;
        maxLength?: number;
        languageIn?: readonly string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    minLength?: number

    Minimum string length in characters.

    Inheritance — child value must be ≥ parent value, narrowing the lower bound.

    undefined (no minimum length)

    maxLength?: number

    Maximum string length in characters.

    Inheritance — child value must be ≤ parent value, narrowing the upper bound.

    undefined (no maximum length)

    languageIn?: readonly string[]

    Allowed language ranges for language-tagged strings.

    When specified, language tags must match one of the given TagRange values under RFC 4647 basic filtering. Each range is a basic language range (a sequence of subtags or the standalone * wildcard); extended ranges such as en-* are not accepted. Empty arrays are ignored.

    Inheritance — intersection of parent and child sets; empty result is reported as an error.

    undefined (no language constraint)