UNPKG

@ace-fetch/graphql

Version:

Fetch Provider.

7 lines (6 loc) 381 B
import { DocumentType } from '../constants'; import type { DocumentNode } from 'graphql'; import type { IDocumentDefinition } from '../types'; export declare function operationName(type: DocumentType): string; export declare function parser(document: DocumentNode): IDocumentDefinition; export declare function verifyDocumentType(document: DocumentNode, type: DocumentType): void;