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

/**
 * Unique directive names
 *
 * A GraphQL document is only valid if all defined directives have unique names.
 */
export function UniqueDirectiveNamesRule(
  context: SDLValidationContext,
): ASTVisitor;