gatsby-source-sanity
Version:
Gatsby source plugin for building websites using Sanity.io as a backend.
9 lines (8 loc) • 378 B
TypeScript
import { DocumentNode } from 'gatsby/graphql';
import { PluginConfig } from '../gatsby-node';
import { GatsbyNode } from '../types/gatsby';
import { TypeMap } from './remoteGraphQLSchema';
export declare type ExampleValues = {
[key: string]: GatsbyNode;
};
export declare const getExampleValues: (ast: DocumentNode, config: PluginConfig, typeMap: TypeMap) => ExampleValues;