18 lines
480 B
TypeScript
18 lines
480 B
TypeScript
import { ValidationContext, SDLValidationContext } from '../ValidationContext';
|
|
import { ASTVisitor } from '../../language/visitor';
|
|
|
|
/**
|
|
* Known argument names
|
|
*
|
|
* A GraphQL field is only valid if all supplied arguments are defined by
|
|
* that field.
|
|
*/
|
|
export function KnownArgumentNamesRule(context: ValidationContext): ASTVisitor;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
export function KnownArgumentNamesOnDirectivesRule(
|
|
context: ValidationContext | SDLValidationContext,
|
|
): ASTVisitor;
|