specifiedRules.d.ts 462 B

123456789101112
  1. import type { SDLValidationRule, ValidationRule } from './ValidationContext';
  2. /**
  3. * This set includes all validation rules defined by the GraphQL spec.
  4. *
  5. * The order of the rules in this list has been adjusted to lead to the
  6. * most clear output when encountering multiple validation errors.
  7. */
  8. export declare const specifiedRules: ReadonlyArray<ValidationRule>;
  9. /**
  10. * @internal
  11. */
  12. export declare const specifiedSDLRules: ReadonlyArray<SDLValidationRule>;