UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

11 lines (10 loc) 334 B
import type { ASTVisitor } from '../../language/visitor'; import type { SDLValidationContext } from '../ValidationContext'; /** * Unique operation types * * A GraphQL document is only valid if it has only one type per operation. */ export declare function UniqueOperationTypesRule( context: SDLValidationContext, ): ASTVisitor;