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/helpers.d.ts

10 lines
804 B
TypeScript

import { Types } from './types';
import { DocumentNode, GraphQLSchema, GraphQLOutputType } from 'graphql';
export declare function isOutputConfigArray(type: any): type is Types.OutputConfig[];
export declare function isConfiguredOutput(type: any): type is Types.ConfiguredOutput;
export declare function normalizeOutputParam(config: Types.OutputConfig | Types.ConfiguredOutput): Types.ConfiguredOutput;
export declare function normalizeInstanceOrArray<T>(type: T | T[]): T[];
export declare function normalizeConfig(config: Types.OutputConfig | Types.OutputConfig[]): Types.ConfiguredPlugin[];
export declare function hasNullableTypeRecursively(type: GraphQLOutputType): boolean;
export declare function isUsingTypes(document: DocumentNode, externalFragments: string[], schema?: GraphQLSchema): boolean;