Sanity Library Reference Docs
    Preparing search index...

    Type Alias PatchMutation<Patches>

    Represents a patch mutation that can change a value for a document in the Sanity Content Lake.

    type PatchMutation<Patches extends NodePatchList = NodePatchList> = {
        id: string;
        options?: PatchOptions;
        patches: Patches;
        type: "patch";
    }

    Type Parameters

    Index

    Properties

    Properties

    id: string
    options?: PatchOptions
    patches: Patches
    type: "patch"