UNPKG

732 BTypeScriptView Raw
1import { MaxIntrospectionDepthRule } from './rules/MaxIntrospectionDepthRule';
2import type { SDLValidationRule, ValidationRule } from './ValidationContext';
3/**
4 * Technically these aren't part of the spec but they are strongly encouraged
5 * validation rules.
6 */
7export declare const recommendedRules: readonly typeof MaxIntrospectionDepthRule[];
8/**
9 * This set includes all validation rules defined by the GraphQL spec.
10 *
11 * The order of the rules in this list has been adjusted to lead to the
12 * most clear output when encountering multiple validation errors.
13 */
14export declare const specifiedRules: ReadonlyArray<ValidationRule>;
15/**
16 * @internal
17 */
18export declare const specifiedSDLRules: ReadonlyArray<SDLValidationRule>;