graphql

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