groqd-playground
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

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()],
});

Package Sidebar

Install

npm i groqd-playground

Weekly Downloads

1,953

Version

0.0.19

License

MIT

Unpacked Size

171 kB

Total Files

12

Last publish

Collaborators

  • scottianstewart
  • keithluchtel
  • ceceppa
  • robwalkerco
  • sarahformidable
  • scott-rippey
  • michaelmerrill
  • sarmeyer
  • mariano-formidable
  • ryan.roemer
  • formidable-owner
  • formidablelabs
  • carbonrobot
  • masiddee
  • gksander