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

18 lines
480 B
TypeScript

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;