@ptkl/sdk - v1.3.4
    Preparing search index...

    Type Alias FieldConstraints

    type FieldConstraints = {
        date?: {
            disable_future_dates?: boolean;
            disable_past_dates?: boolean;
            disabled_dates?: {
                dates?: string[];
                days?: number[];
                days_of_month?: number[];
                from?: string;
                ranges?: { from: string; to: string }[];
                to?: string;
            };
            highlighted_dates?: {
                dates?: string[];
                days?: number[];
                days_of_month?: number[];
                from?: string;
                include_disabled?: boolean;
                ranges?: { from: string; to: string }[];
                to?: string;
            };
            pattern?: string;
        };
        default?: string;
        length?: { max?: number
        | null; min?: number | null };
        not_allowed_words?: string;
        placeholder?: string;
        regex?: string;
        relation?: { label?: string; searchOn?: string[] };
        required?: boolean;
        selectables?: {
            custom?: boolean;
            items?: any[];
            multiple?: boolean;
            range?: { from: number; to: number };
        };
        table?: {
            fields?: SettingsField[];
            per_page?: number;
            save_on_create?: boolean;
            search?: boolean;
        };
        unique?: boolean;
    }
    Index

    Properties

    date?: {
        disable_future_dates?: boolean;
        disable_past_dates?: boolean;
        disabled_dates?: {
            dates?: string[];
            days?: number[];
            days_of_month?: number[];
            from?: string;
            ranges?: { from: string; to: string }[];
            to?: string;
        };
        highlighted_dates?: {
            dates?: string[];
            days?: number[];
            days_of_month?: number[];
            from?: string;
            include_disabled?: boolean;
            ranges?: { from: string; to: string }[];
            to?: string;
        };
        pattern?: string;
    }
    default?: string
    length?: { max?: number | null; min?: number | null }
    not_allowed_words?: string
    placeholder?: string
    regex?: string
    relation?: { label?: string; searchOn?: string[] }
    required?: boolean
    selectables?: {
        custom?: boolean;
        items?: any[];
        multiple?: boolean;
        range?: { from: number; to: number };
    }
    table?: {
        fields?: SettingsField[];
        per_page?: number;
        save_on_create?: boolean;
        search?: boolean;
    }
    unique?: boolean