Chatoyant - v0.2.2
    Preparing search index...

    Interface StringFieldOptions

    Options for Schema.String() fields.

    interface StringFieldOptions {
        description?: string;
        optional?: boolean;
        default?: string;
        minLength?: number;
        maxLength?: number;
        pattern?: string;
        format?: StringFormat;
    }

    Hierarchy (View Summary)

    Index

    Properties

    description?: string

    Human-readable description for documentation

    optional?: boolean

    Whether the field can be omitted

    default?: string

    Default value

    minLength?: number

    Minimum string length

    maxLength?: number

    Maximum string length

    pattern?: string

    Regex pattern the string must match

    format?: StringFormat

    Semantic format hint