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

20 lines
545 B
TypeScript

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;