specifiedRules.d.ts 443 B

1234567891011121314
  1. import { ValidationRule, SDLValidationRule } 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 const specifiedRules: ReadonlyArray<ValidationRule>;
  9. /**
  10. * @internal
  11. */
  12. export const specifiedSDLRules: ReadonlyArray<SDLValidationRule>;