github-pages-deploy-action/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts
2020-03-06 22:45:40 -05:00

12 lines
321 B
TypeScript

import { ASTVisitor } from '../../language/visitor';
import { SDLValidationContext } from '../ValidationContext';
/**
* Lone Schema definition
*
* A GraphQL document is only valid if it contains only one schema definition.
*/
export function LoneSchemaDefinitionRule(
context: SDLValidationContext,
): ASTVisitor;