UNPKG

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