Spaces:
Running
Running
File size: 652 Bytes
d4b85c0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import type { ASTVisitor } from '../../language/visitor';
import type {
SDLValidationContext,
ValidationContext,
} from '../ValidationContext';
/**
* Known argument names
*
* A GraphQL field is only valid if all supplied arguments are defined by
* that field.
*
* See https://spec.graphql.org/draft/#sec-Argument-Names
* See https://spec.graphql.org/draft/#sec-Directives-Are-In-Valid-Locations
*/
export declare function KnownArgumentNamesRule(
context: ValidationContext,
): ASTVisitor;
/**
* @internal
*/
export declare function KnownArgumentNamesOnDirectivesRule(
context: ValidationContext | SDLValidationContext,
): ASTVisitor;
|