Sanity Library Reference Docs
    Preparing search index...

    Interface PartialDocumentNode

    Interface for partial document (focused on the document pane)

    interface PartialDocumentNode {
        child?: Child;
        i18n?: I18nTextRecord<"title">;
        id?: string;
        options?: Partial<DocumentOptions>;
        title?: string;
        views?: (View | ViewBuilder)[];
    }
    Index

    Properties

    child?: Child

    Document children of type Child

    i18n?: I18nTextRecord<"title">

    I18n key and namespace used to populate the localized title

    id?: string

    Document Id

    options?: Partial<DocumentOptions>

    Document options. See DocumentOptions

    title?: string

    Document title

    views?: (View | ViewBuilder)[]

    Views for the document pane. See ViewBuilder and View