This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/@graphql-codegen/plugin-helpers/utils.d.ts

7 lines
503 B
TypeScript

import { GraphQLOutputType, GraphQLNamedType, GraphQLNonNull, GraphQLList } from 'graphql';
import { Types } from './types';
export declare function mergeOutputs(content: Types.PluginOutput | Array<Types.PluginOutput>): string;
export declare function isWrapperType(t: GraphQLOutputType): t is GraphQLNonNull<any> | GraphQLList<any>;
export declare function getBaseType(type: GraphQLOutputType): GraphQLNamedType;
export declare function removeNonNullWrapper(type: GraphQLOutputType): GraphQLNamedType;