Skip to main content

Type Alias: PatchOperation

PatchOperation: { key: string; op: "put"; value: ReadonlyJSONValue; } | { key: string; op: "del"; } | { op: "clear"; }

This type describes the patch field in a PullResponse and it is used to describe how to update the Replicache key-value store.