github-pages-deploy-action/node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts
2020-03-06 22:45:40 -05:00

12 lines
323 B
TypeScript

import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* Unique operation names
*
* A GraphQL document is only valid if all defined operations have unique names.
*/
export function UniqueOperationNamesRule(
context: ASTValidationContext,
): ASTVisitor;