1.0.2 • Published 2 years ago

sanity-plugin-recycle-bin v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

sanity-plugin-recycle-bin

Adds a Recycle Bin to your Sanity Studio so you can restore your deleted Sanity documents

Installation

sanity install recycle-bin

Configuration

You need to setup this webhook for this plugin to work.

  1. Replace PROJECTID and DATASET with your own values.
  2. Create a token with read+write access to the relevant dataset on https://manage.sanity.io.
  3. Add an HTTP header to the Webhook with name "Authorization" and value "Bearer TOKEN", where TOKEN is replaced with the token you created.
  4. Enable the webook for the relevant dataset.

License

MIT © Rune Botten See LICENSE