github-pages-deploy-action/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts

13 lines
361 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* Executable definitions
*
* A GraphQL document is only valid for execution if all definitions are either
* operation or fragment definitions.
*/
export function ExecutableDefinitionsRule(
context: ASTValidationContext,
): ASTVisitor;