Sanity Library Reference Docs
    Preparing search index...

    Interface SlugSchemaType

    interface SlugSchemaType {
        __experimental_actions?: string[];
        __experimental_formPreviewTitle?: boolean;
        __experimental_omnisearch_visibility?: boolean;
        __experimental_search?: {
            mapWith?: string;
            path: (string | number)[];
            weight: number;
        }[];
        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>;
        };
        orderings?: SortOrdering[];
        placeholder?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    __experimental_actions?: string[]
    __experimental_formPreviewTitle?: boolean
    __experimental_omnisearch_visibility?: boolean
    __experimental_search?: {
        mapWith?: string;
        path: (string | number)[];
        weight: number;
    }[]

    Unused. Use the new field-level search config.

    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>;
    }
    orderings?: SortOrdering[]
    placeholder?: string

    This will be removed.