1 | import { Types } from '@graphql-codegen/plugin-helpers';
|
2 | import { DocumentNode, GraphQLSchema } from 'graphql';
|
3 | export declare function isObjectMap(obj: any): obj is Types.PluginConfig<any>;
|
4 | export declare function prioritize<T>(...values: T[]): T;
|
5 | export declare function pickFlag<TConfig, TKey extends keyof TConfig>(flag: TKey, config: TConfig): TConfig[TKey] | undefined;
|
6 | export declare function shouldValidateDuplicateDocuments(skipDocumentsValidationOption: Types.GenerateOptions['skipDocumentsValidation']): boolean;
|
7 | export declare function shouldValidateDocumentsAgainstSchema(skipDocumentsValidationOption: Types.GenerateOptions['skipDocumentsValidation']): boolean;
|
8 | export declare function getSkipDocumentsValidationOption(options: Types.GenerateOptions): Types.SkipDocumentsValidationOptions;
|
9 | export declare function hasFederationSpec(schemaOrAST: GraphQLSchema | DocumentNode): boolean;
|
10 | export declare function extractHashFromSchema(schema: GraphQLSchema): string | null;
|