1 | import { GraphQLSchema, GraphQLError } from 'graphql';
|
2 | import { DocumentFile } from 'graphql-codegen-core';
|
3 | export interface LoadDocumentError {
|
4 | readonly filePath: string;
|
5 | readonly errors: ReadonlyArray<GraphQLError>;
|
6 | }
|
7 | export declare const validateGraphQlDocuments: (schema: GraphQLSchema, documentFiles: DocumentFile[]) => ReadonlyArray<LoadDocumentError>;
|
8 | export declare function checkValidationErrors(loadDocumentErrors: ReadonlyArray<LoadDocumentError>): void | never;
|