groqd-playground
Version:
Groqd Playground is a plugin for Sanity Studio for testing [groqd](https://formidable.com/open-source/groqd/) queries, featuring:
17 lines (13 loc) • 401 B
TypeScript
import * as sanity from 'sanity';
import { ComponentType } from 'react';
type PlaygroundToolConfig = Partial<PlaygroundConfig> & {
name?: string;
title?: string;
icon?: ComponentType;
};
type PlaygroundConfig = {
defaultApiVersion: string;
defaultDataset: string;
};
declare const groqdPlaygroundTool: sanity.Plugin<void | PlaygroundToolConfig>;
export { groqdPlaygroundTool };