Sanity Library Reference Docs
    Preparing search index...

    Type Alias NodePatch<P, O>

    A NodePatch represents a single operation that can be applied at a node at a specific path in a Sanity document.

    type NodePatch<P extends Path = Path, O extends Operation = Operation> = {
        op: O;
        path: P;
    }

    Type Parameters

    Index

    Properties

    Properties

    op: O
    path: P