OptionaldatasetOptionalliveIndicates whether this document uses liveEdit mode.
When true, the document does not use the draft/published model and edits are applied directly to the document.
OptionalperspectiveOptionalprojectOptional BetaresourceExplicit resource to use. On an individual operation this overrides any default;
on a SanityConfig it becomes the instance's default resource. Unlike
projectId/dataset, this can also be a media library or canvas resource.
Optionalresource
React SDK document handle. Adds
resourceNameto the coreDocumentHandle.Import from
@sanity/sdk-react(not@sanity/sdk) when writing option types for hooks — this version understandsresourceNameresolution.