Sanity Library Reference Docs
    Preparing search index...
    • Classify a watched ref against the dataset a store is mounted on. Only a dataset:-scheme ref addressing exactly that project + dataset is observable through the mounted store; everything else — another dataset, another project, or a canvas: / media-library: / dashboard: resource — must be observed through a store that can address it, or rejected loudly. Never silently read a foreign ref from the mounted store: a same-_id doc there would be fed as if it were the foreign doc.

      Returns RefRoute