Sha256: 902997f91b09620835afd88e292eb217fbd55d01706b82b9a014ff408f357559

Contents?: true

Size: 469 Bytes

Versions: 26

Compression:

Stored size: 469 Bytes

Contents

import type { ASTVisitor } from '../../language/visitor';
import type {
  SDLValidationContext,
  ValidationContext,
} from '../ValidationContext';
/**
 * Known directives
 *
 * A GraphQL document is only valid if all `@directives` are known by the
 * schema and legally positioned.
 *
 * See https://spec.graphql.org/draft/#sec-Directives-Are-Defined
 */
export declare function KnownDirectivesRule(
  context: ValidationContext | SDLValidationContext,
): ASTVisitor;

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.6 lib/clapton/javascripts/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
clapton-0.0.5 lib/clapton/javascripts/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
clapton-0.0.4 lib/clapton/javascripts/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
clapton-0.0.3 lib/clapton/javascripts/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
clapton-0.0.2 lib/clapton/javascripts/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
clapton-0.0.1 lib/clapton/javascripts/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts