Sanity Library Reference Docs
    Preparing search index...

    Type Alias DocumentLocationResolverObject<K>

    Document location resolver object

    object for selecting document fields

    function that accepts a document with the selected fields and returns an optional document location state

    Type Parameters

    • K extends string = string