github-pages-deploy-action/node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts

12 lines
323 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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;