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

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