You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
652 B
24 lines
652 B
4 months ago
|
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;
|