21 lines
574 B
TypeScript
21 lines
574 B
TypeScript
import type { ASTVisitor } from '../../language/visitor';
|
|
import type {
|
|
SDLValidationContext,
|
|
ValidationContext,
|
|
} 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 declare function ProvidedRequiredArgumentsRule(
|
|
context: ValidationContext,
|
|
): ASTVisitor;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function ProvidedRequiredArgumentsOnDirectivesRule(
|
|
context: ValidationContext | SDLValidationContext,
|
|
): ASTVisitor;
|