summaryrefslogtreecommitdiff
path: root/alarm/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts')
-rw-r--r--alarm/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/alarm/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts b/alarm/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts
new file mode 100644
index 0000000..c66d65f
--- /dev/null
+++ b/alarm/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts
@@ -0,0 +1,12 @@
+import { ASTVisitor } from '../../language/visitor';
+import { ASTValidationContext } from '../ValidationContext';
+
+/**
+ * Unique input field names
+ *
+ * A GraphQL input object value is only valid if all supplied fields are
+ * uniquely named.
+ */
+export function UniqueInputFieldNamesRule(
+ context: ASTValidationContext,
+): ASTVisitor;