gatsby-source-sanity
Version:
Gatsby source plugin for building websites using Sanity.io as a backend.
9 lines (8 loc) • 300 B
TypeScript
import { PluginConfig } from '../gatsby-node';
import { GatsbyReporter } from '../types/gatsby';
interface AstRewriterContext {
reporter: GatsbyReporter;
config: PluginConfig;
}
export declare const rewriteGraphQLSchema: (schemaSdl: string, context: AstRewriterContext) => string;
export {};