Sanity Library Reference Docs
    Preparing search index...

    Interface ListItemCount

    Names the document schema type a live count covers. The count query itself is authored by the Studio, so an item can only ever ask for the number of documents of one schema type.

    interface ListItemCount {
        type: string;
    }
    Index

    Properties

    Properties

    type: string

    Name of the document schema type to count