summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts')
-rw-r--r--includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts b/includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts
new file mode 100644
index 0000000..6154158
--- /dev/null
+++ b/includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts
@@ -0,0 +1,11 @@
+import { ASTVisitor } from '../../language/visitor';
+import { ASTValidationContext } from '../ValidationContext';
+
+/**
+ * Unique fragment names
+ *
+ * A GraphQL document is only valid if all defined fragments have unique names.
+ */
+export function UniqueFragmentNamesRule(
+ context: ASTValidationContext,
+): ASTVisitor;