UNPKG

gatsby-source-sanity

Version:

Gatsby source plugin for building websites using Sanity.io as a backend.

12 lines (11 loc) 451 B
import { GatsbyNode, GatsbyNodeIdCreator } from '../types/gatsby'; interface MinimalGatsbyContext { createNodeId: GatsbyNodeIdCreator; getNode: (id: string) => GatsbyNode | undefined; } interface ResolveReferencesOptions { maxDepth: number; overlayDrafts: boolean; } export declare function resolveReferences(obj: any, context: MinimalGatsbyContext, options?: Partial<ResolveReferencesOptions>, currentDepth?: number): any; export {};