You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

groqd-playground

Package Overview
Dependencies
Maintainers
16
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groqd-playground

Groqd Playground is a plugin for Sanity Studio for testing [groqd](https://formidable.com/open-source/groqd/) queries, featuring:

0.0.18
Source
npm
Version published
Maintainers
16
Created
Source

Groqd Playground

Groqd Playground is a plugin for Sanity Studio for testing groqd queries, featuring:

  • a TypeScript editor experience with syntax/type highlighting;
  • parsed response and error messages for when responses fail to pass Zod validation;
  • dataset/api version switchers.

Screenshot of Groqd Playground in action

To setup, just yarn add groqd-playground and then add the groqdPlaygroundTool plugin to your sanity config:

import { defineConfig } from "sanity";
import { groqdPlaygroundTool } from "groqd-playground";

export default defineConfig({
	/* ... */
  plugins: [groqdPlaygroundTool()],
});

See the docs for more information!

Keywords

sanity

FAQs

Package last updated on 08 Nov 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