Sanity Library Reference Docs
    Preparing search index...

    Type Alias CreateOrReplaceMutation<Doc>

    Represents a mutation that can create or replace a document in the Sanity Content Lake given its ID.

    type CreateOrReplaceMutation<Doc extends SanityDocument> = {
        document: Doc;
        type: "createOrReplace";
    }

    Type Parameters

    Index

    Properties

    Properties

    document: Doc
    type: "createOrReplace"