UNPKG

gatsby-source-sanity

Version:

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

8 lines (7 loc) 326 B
import { NodePluginArgs } from 'gatsby'; interface ResolveReferencesOptions { maxDepth: number; overlayDrafts: boolean; } export declare function resolveReferences(obj: any, context: Pick<NodePluginArgs, 'createNodeId' | 'getNode'>, options?: Partial<ResolveReferencesOptions>, currentDepth?: number): any; export {};