summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/validation/specifiedRules.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/validation/specifiedRules.d.ts')
-rw-r--r--school/node_modules/graphql/validation/specifiedRules.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/school/node_modules/graphql/validation/specifiedRules.d.ts b/school/node_modules/graphql/validation/specifiedRules.d.ts
new file mode 100644
index 0000000..ffb5570
--- /dev/null
+++ b/school/node_modules/graphql/validation/specifiedRules.d.ts
@@ -0,0 +1,14 @@
+import { ValidationRule, SDLValidationRule } from './ValidationContext';
+
+/**
+ * This set includes all validation rules defined by the GraphQL spec.
+ *
+ * The order of the rules in this list has been adjusted to lead to the
+ * most clear output when encountering multiple validation errors.
+ */
+export const specifiedRules: ReadonlyArray<ValidationRule>;
+
+/**
+ * @internal
+ */
+export const specifiedSDLRules: ReadonlyArray<SDLValidationRule>;