summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/validation/rules/KnownFragmentNamesRule.d.ts
blob: 7b594fd912de6a1213e9fc54eaf16ba39f09babc (plain)
1
2
3
4
5
6
7
8
9
10
import { ASTVisitor } from '../../language/visitor';
import { ValidationContext } from '../ValidationContext';

/**
 * Known fragment names
 *
 * A GraphQL document is only valid if all `...Fragment` fragment spreads refer
 * to fragments defined in the same document.
 */
export function KnownFragmentNamesRule(context: ValidationContext): ASTVisitor;