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

20 lines
545 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import { ASTVisitor } from '../../language/visitor';
import { ValidationContext, SDLValidationContext } from '../ValidationContext';
/**
* Provided required arguments
*
* A field or directive is only valid if all required (non-null without a
* default value) field arguments have been provided.
*/
export function ProvidedRequiredArgumentsRule(
context: ValidationContext,
): ASTVisitor;
/**
* @internal
*/
export function ProvidedRequiredArgumentsOnDirectivesRule(
context: ValidationContext | SDLValidationContext,
): ASTVisitor;