File size: 338 Bytes
d4b85c0
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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;