Sanity Library Reference Docs
    Preparing search index...

    Type Alias DocumentVariantType

    DocumentVariantType: "draft" | "version" | "published"

    Indicates the type of document variant, either draft, version or published. Draft documents are prefixed with drafts.. Version documents are prefixed with versions.<versionName> The rest are considered published documents.