Sanity Library Reference Docs
    Preparing search index...

    Interface CreateVersionAction

    Creates a new version of an existing document, attached to the release as given by document._id

    interface CreateVersionAction {
        actionType: "sanity.action.document.version.create";
        document: IdentifiedSanityDocumentStub;
        publishedId: string;
    }
    Index

    Properties

    actionType: "sanity.action.document.version.create"
    publishedId: string