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

    Interface LocalsConstraints

    Constraints for the locals shape factory.

    interface LocalsConstraints {
        model?: LocalsModel;
        minLength?: number;
        maxLength?: number;
        languageIn?: readonly string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    model?: LocalsModel

    Prototype value for runtime model assembly.

    { "*": [""] } (wildcard empty string array)

    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)