summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts
blob: 6f356ed98de98197b5b1efca4706b99ab35ba9de (plain)
1
2
3
4
5
6
7
8
9
10
11
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;