summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts')
-rw-r--r--school/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/school/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts b/school/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts
new file mode 100644
index 0000000..8c0f828
--- /dev/null
+++ b/school/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts
@@ -0,0 +1,17 @@
+import { ValidationContext, SDLValidationContext } from '../ValidationContext';
+import { ASTVisitor } from '../../language/visitor';
+
+/**
+ * Known argument names
+ *
+ * A GraphQL field is only valid if all supplied arguments are defined by
+ * that field.
+ */
+export function KnownArgumentNamesRule(context: ValidationContext): ASTVisitor;
+
+/**
+ * @internal
+ */
+export function KnownArgumentNamesOnDirectivesRule(
+ context: ValidationContext | SDLValidationContext,
+): ASTVisitor;