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

    Interface LocalConstraints

    Constraints for the local shape factory.

    interface LocalConstraints {
        model?: LocalModel;
        minLength?: number;
        maxLength?: number;
        languageIn?: readonly string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    model?: LocalModel

    Prototype value for runtime model assembly.

    { "*": "" } (wildcard empty string)

    minLength?: number

    Minimum string length in characters.

    undefined (no minimum length)

    maxLength?: number

    Maximum string length in characters.

    undefined (no maximum length)

    languageIn?: readonly string[]

    Allowed language ranges for language-tagged strings.

    When specified, language tags must match one of the given BCP47 language ranges.

    undefined (no language constraint)