summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts
blob: 8c0f828994dc0b488c7ce8e023a6a2d21c7f0fa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { ValidationContext, SDLValidationContext } from '../ValidationContext';
import { ASTVisitor } from '../../language/visitor';

/**
 * Known argument names
 *
 * A GraphQL field is only valid if all supplied arguments are defined by
 * that field.
 */
export function KnownArgumentNamesRule(context: ValidationContext): ASTVisitor;

/**
 * @internal
 */
export function KnownArgumentNamesOnDirectivesRule(
  context: ValidationContext | SDLValidationContext,
): ASTVisitor;