UNPKG

@gql2ts/util

Version:
13 lines (12 loc) 514 B
import { GraphQLArgument, GraphQLField, GraphQLInputField, GraphQLEnumValue } from 'graphql'; export interface IJSDocTag { tag: string; value: string | object; } export interface IFieldDocumentation { description?: string; tags: IJSDocTag[]; } export declare type BuildDocumentation = (field: GraphQLField<any, any> | GraphQLInputField | GraphQLEnumValue | GraphQLArgument) => IFieldDocumentation; export declare const getDocTags: null; export declare const buildDocumentation: BuildDocumentation;