Socket
Socket
Sign inDemoInstall

@sanity/vision

Package Overview
Dependencies
Maintainers
39
Versions
1340
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/vision

React-based data management tool for Sanity projects


Version published
Weekly downloads
88K
decreased by-6.64%
Maintainers
39
Weekly downloads
 
Created
Source

sanity-vision

Vision is a plugin for Sanity Studio for testing GROQ queries. It features:

  • GROQ syntax highlighting so that the query is easier to read.
  • Parsed response that's more convenient to navigate and explore.
  • Switch between datasets
  • Listening for real-time updates

screenshot

Installation

sanity install @sanity/vision

Configuring

It is possible to override the default configuration by setting up a config file.

Create a file named vision.json and place it at config/@sanity/vision.json relative to your root studio folder.

Currently we only support overriding the default API version.

Here's an example vision.json file:

{
  "defaultApiVersion": "v2021-10-21"
}
  • defaultApiVersion Valid options is v1, vX, v2021-03-25 or v2021-10-21

Keywords

FAQs

Package last updated on 25 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc