summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts
blob: aa2d06ad364138caba3d4a39602ea0507d9885aa (plain)
1
2
3
4
5
6
7
8
9
10
11
import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';

/**
 * Unique operation names
 *
 * A GraphQL document is only valid if all defined operations have unique names.
 */
export function UniqueOperationNamesRule(
  context: ASTValidationContext,
): ASTVisitor;