Sanity Library Reference Docs
    Preparing search index...

    Interface BooleanSchemaType

    Make all properties in T optional

    interface BooleanSchemaType {
        components?: {
            annotation?: ComponentType<any>;
            block?: ComponentType<any>;
            diff?: ComponentType<any>;
            field?: ComponentType<any>;
            inlineBlock?: ComponentType<any>;
            input?: ComponentType<any>;
            item?: ComponentType<any>;
            portableText?: { plugins?: ComponentType<any> };
            preview?: ComponentType<any>;
        };
        deprecated?: DeprecatedProperty;
        description?: string;
        hidden?: ConditionalProperty;
        icon?: ComponentType;
        initialValue?: InitialValueProperty<any, boolean>;
        jsonType: "boolean";
        liveEdit?: boolean;
        name: string;
        options?: BooleanOptions;
        placeholder?: string;
        preview?: PreviewConfig;
        readOnly?: ConditionalProperty;
        title?: string;
        type?: SchemaType;
        validation?: SchemaValidationValue;
    }

    Hierarchy (View Summary)

    Index

    Properties

    components?: {
        annotation?: ComponentType<any>;
        block?: ComponentType<any>;
        diff?: ComponentType<any>;
        field?: ComponentType<any>;
        inlineBlock?: ComponentType<any>;
        input?: ComponentType<any>;
        item?: ComponentType<any>;
        portableText?: { plugins?: ComponentType<any> };
        preview?: ComponentType<any>;
    }
    deprecated?: DeprecatedProperty
    description?: string
    icon?: ComponentType
    initialValue?: InitialValueProperty<any, boolean>
    jsonType: "boolean"
    liveEdit?: boolean
    name: string
    options?: BooleanOptions
    placeholder?: string

    This will be removed.

    preview?: PreviewConfig
    title?: string
    type?: SchemaType