How to use the @sanity/client.Patch function in @sanity/client

To help you get started, we’ve selected a few @sanity/client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sanity-io / sanity / packages / @sanity / desk-tool / examples / testbed / mock / sanityClient.js View on Github external
patch(id, operations) {
    return new Patch(id, operations, this)
  },
  listen() {

@sanity/client

Client for retrieving, creating and patching data from Sanity.io

MIT
Latest version published 19 days ago

Package Health Score

89 / 100
Full package analysis