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

/**
 * Unique enum value names
 *
 * A GraphQL enum type is only valid if all its values are uniquely named.
 */
export function UniqueEnumValueNamesRule(
  context: SDLValidationContext,
): ASTVisitor;