1 | import { SanityDocument } from '../types/sanity';
|
2 | import { TypeMap } from './remoteGraphQLSchema';
|
3 | import { GatsbyNodeIdCreator, GatsbyContentDigester, GatsbyNode, GatsbyNodeCreator, GatsbyParentChildLinker } from '../types/gatsby';
|
4 | export declare const RESTRICTED_NODE_FIELDS: string[];
|
5 | export interface ProcessingOptions {
|
6 | typeMap: TypeMap;
|
7 | createNode: GatsbyNodeCreator;
|
8 | createNodeId: GatsbyNodeIdCreator;
|
9 | createContentDigest: GatsbyContentDigester;
|
10 | createParentChildLink: GatsbyParentChildLinker;
|
11 | overlayDrafts: boolean;
|
12 | skipCreate?: boolean;
|
13 | }
|
14 | export declare function processDocument(doc: SanityDocument, options: ProcessingOptions): GatsbyNode;
|
15 | export declare function getTypeName(type: string): string;
|
16 | export declare function getConflictFreeFieldName(fieldName: string): string;
|