summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts')
-rw-r--r--alarm/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/alarm/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts b/alarm/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts
new file mode 100644
index 0000000..9709256
--- /dev/null
+++ b/alarm/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts
@@ -0,0 +1,12 @@
+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;