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.
17 lines
516 B
17 lines
516 B
4 months ago
|
import type { ASTVisitor } from '../../language/visitor';
|
||
|
import type {
|
||
|
SDLValidationContext,
|
||
|
ValidationContext,
|
||
|
} from '../ValidationContext';
|
||
|
/**
|
||
|
* Unique directive names per location
|
||
|
*
|
||
|
* A GraphQL document is only valid if all non-repeatable directives at
|
||
|
* a given location are uniquely named.
|
||
|
*
|
||
|
* See https://spec.graphql.org/draft/#sec-Directives-Are-Unique-Per-Location
|
||
|
*/
|
||
|
export declare function UniqueDirectivesPerLocationRule(
|
||
|
context: ValidationContext | SDLValidationContext,
|
||
|
): ASTVisitor;
|