Sanity Library Reference Docs
    Preparing search index...
    • A workflow-scope subject-KIND entry value, keyed by a bare doc id in the bench's default resource — what a definition declaring the first-class subject kind expects at start (applicability and document pickers key on that kind). type defaults to 'document'; pass the subject's schema type when a filter or projection reads it. For a plain doc.ref input, use docRefField.

      Parameters

      • documentId: string
      • Optionalopts: { name?: string; type?: string }

      Returns InitialFieldValue