UNPKG

574 BTypeScriptView Raw
1import type { ASTVisitor } from '../../language/visitor';
2import type {
3 SDLValidationContext,
4 ValidationContext,
5} from '../ValidationContext';
6/**
7 * Provided required arguments
8 *
9 * A field or directive is only valid if all required (non-null without a
10 * default value) field arguments have been provided.
11 */
12export declare function ProvidedRequiredArgumentsRule(
13 context: ValidationContext,
14): ASTVisitor;
15/**
16 * @internal
17 */
18export declare function ProvidedRequiredArgumentsOnDirectivesRule(
19 context: ValidationContext | SDLValidationContext,
20): ASTVisitor;