Sanity Library Reference Docs
    Preparing search index...

    Interface DocumentNode

    Interface for the document list builder (focused on the document pane)

    interface DocumentNode {
        child?: Child;
        id: string;
        options: {
            id: string;
            template?: string;
            templateParameters?: { [key: string]: any };
            type?: string;
        };
        title?: string;
        type?: string;
        views: View[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    child?: Child

    Document children. See Child

    id: string

    Node ID

    options: {
        id: string;
        template?: string;
        templateParameters?: { [key: string]: any };
        type?: string;
    }

    Options for the document pane

    Type declaration

    • id: string

      Document Id

    • Optionaltemplate?: string

      Document Template

    • OptionaltemplateParameters?: { [key: string]: any }

      Template parameters

    • Optionaltype?: string

      Document Type

    title?: string

    Node ID

    type?: string

    Node type

    views: View[]

    View array for the document pane. See View