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

12 lines
333 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import { ASTVisitor } from '../../language/visitor';
import { SDLValidationContext } from '../ValidationContext';
/**
* Unique field definition names
*
* A GraphQL complex type is only valid if all its fields are uniquely named.
*/
export function UniqueFieldDefinitionNamesRule(
context: SDLValidationContext,
): ASTVisitor;