13 lines
412 B
TypeScript
13 lines
412 B
TypeScript
import type { ASTVisitor } from '../../language/visitor';
|
|
import type { ASTValidationContext } from '../ValidationContext';
|
|
/**
|
|
* Unique operation names
|
|
*
|
|
* A GraphQL document is only valid if all defined operations have unique names.
|
|
*
|
|
* See https://spec.graphql.org/draft/#sec-Operation-Name-Uniqueness
|
|
*/
|
|
export declare function UniqueOperationNamesRule(
|
|
context: ASTValidationContext,
|
|
): ASTVisitor;
|