An open API service indexing awesome lists of open source software.

https://github.com/hdoro/sanity-plugin-data-tools

Tools for manipulating datasets inside your Sanity.io studio.
https://github.com/hdoro/sanity-plugin-data-tools

Last synced: 3 months ago
JSON representation

Tools for manipulating datasets inside your Sanity.io studio.

Awesome Lists containing this project

README

        

# sanity-plugin-data-tools

Tools for manipulating datasets inside your studio.

🚨 NOT YET READY! Feel free to contribute, though :)

## TODO

- dataset dropdown
- Change document type utility
- Diffing
- react-diff-viewer: https://www.npmjs.com/package/react-diff-viewer
- diff2html: https://www.npmjs.com/package/diff2html
- Better UI
- Utilities to add:
- Remove documents of _types not currently in the schema
- Change object type name
- For Every document of <> rename to <> to ~~new value~~
- Option to keep old value
- Change field name in all documents of type
- Add value to all documents that match a criteria

## Installation

```
sanity install data-tools
```

## License

Apache License 2.0 © Henrique Doro
See LICENSE

Link for playground 👇
https://www.sanity.io/ui/arcade?mode=jsx&jsx=eJy9l1Fv2zgMx9%2F7KQgDh9yArF7bewriAGm24joM22FpsIfhMCgWE2t1JEOSm%2BaCfPejLDuxnOSA4db1KbZISvzxT8odTpS0TEjUUDDOhVwm2%2BsdrAW3WbK92o0uAIb3MicLYLlYyiRKUVrUEZiCpeisnQ1ZfWBzzCGzq%2FxO6SQqrciF3USjmf8xgGFcmdTmU8wxtSA4RcyUMvh671EZkIkqrFByNMmYXCJwlZYr2hu%2B2U2BZhjXyx3rWZErxvfWBhZareD99NPHrkccw93sYfb53eD0hgwWAnPeM37HcxuOOYcnlpcIVhGjvLW1WsCx5zD2qVdoY892dOEe7nJ8hhXTSyEfVJFsbxq0E6b5oT43O1iQZVMeT9Oy9LEpyR%2F797TygM8WjPgHK8c1imVmk2iuch4drABOQz6EiV2c02Gvdu1AX7DnGJRFLlJmsUVjLWwGNkMwVf7IW174LIyl7Py%2BwCSH1J%2BIHISuXxNg5y9x3XKVbIWwUSV4GV2eP3OIkWRulUSSHytddQIc5%2FMDGBuYMklKpdzQyJ51VVdrf2CXA9sn3TOBp8%2FCcVClPd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