Sanity Library Reference Docs
    Preparing search index...

    Interface BaseGenericList

    Interface for base generic list

    interface BaseGenericList {
        canHandleIntent?: IntentChecker;
        child: Child;
        defaultLayout?: PreviewLayoutKey;
        displayOptions?: ListDisplayOptions;
        id: string;
        initialValueTemplates?: any[];
        title?: string;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    canHandleIntent?: IntentChecker

    Can handle intent. See IntentChecker

    child: Child

    List child. See Child

    defaultLayout?: PreviewLayoutKey

    List layout key.

    displayOptions?: ListDisplayOptions

    List display options. See ListDisplayOptions

    id: string

    Node ID

    initialValueTemplates?: any[]

    List initial values array. See InitialValueTemplateItem and InitialValueTemplateItemBuilder

    title?: string

    Node ID

    type?: string

    Node type