15 lines
430 B
TypeScript
15 lines
430 B
TypeScript
import { ASTVisitor } from '../../language/visitor';
|
|
import { ASTValidationContext } from '../ValidationContext';
|
|
|
|
export function duplicateDirectiveMessage(directiveName: string): string;
|
|
|
|
/**
|
|
* Unique directive names per location
|
|
*
|
|
* A GraphQL document is only valid if all directives at a given location
|
|
* are uniquely named.
|
|
*/
|
|
export function UniqueDirectivesPerLocation(
|
|
context: ASTValidationContext,
|
|
): ASTVisitor;
|