UNPKG

318 BTypeScriptView Raw
1import { ASTVisitor } from '../../language/visitor';
2import { SDLValidationContext } from '../ValidationContext';
3
4/**
5 * Unique enum value names
6 *
7 * A GraphQL enum type is only valid if all its values are uniquely named.
8 */
9export function UniqueEnumValueNamesRule(
10 context: SDLValidationContext,
11): ASTVisitor;