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

18 lines
480 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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;