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

12 lines
318 B
TypeScript

import { ASTVisitor } from '../../language/visitor';
import { SDLValidationContext } from '../ValidationContext';
/**
* Unique enum value names
*
* A GraphQL enum type is only valid if all its values are uniquely named.
*/
export function UniqueEnumValueNamesRule(
context: SDLValidationContext,
): ASTVisitor;