UNPKG

323 BTypeScriptView Raw
1import { ASTVisitor } from '../../language/visitor';
2import { ASTValidationContext } from '../ValidationContext';
3
4/**
5 * Unique operation names
6 *
7 * A GraphQL document is only valid if all defined operations have unique names.
8 */
9export function UniqueOperationNamesRule(
10 context: ASTValidationContext,
11): ASTVisitor;