UNPKG

457 BTypeScriptView Raw
1import type { ASTVisitor } from '../../language/visitor';
2import type { SDLValidationContext } from '../ValidationContext';
3/**
4 * Unique argument definition names
5 *
6 * A GraphQL Object or Interface type is only valid if all its fields have uniquely named arguments.
7 * A GraphQL Directive is only valid if all its arguments are uniquely named.
8 */
9export declare function UniqueArgumentDefinitionNamesRule(
10 context: SDLValidationContext,
11): ASTVisitor;