summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/language/directiveLocation.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/language/directiveLocation.mjs')
-rw-r--r--school/node_modules/graphql/language/directiveLocation.mjs29
1 files changed, 29 insertions, 0 deletions
diff --git a/school/node_modules/graphql/language/directiveLocation.mjs b/school/node_modules/graphql/language/directiveLocation.mjs
new file mode 100644
index 0000000..82823b7
--- /dev/null
+++ b/school/node_modules/graphql/language/directiveLocation.mjs
@@ -0,0 +1,29 @@
+/**
+ * The set of allowed directive location values.
+ */
+export var DirectiveLocation = Object.freeze({
+ // Request Definitions
+ QUERY: 'QUERY',
+ MUTATION: 'MUTATION',
+ SUBSCRIPTION: 'SUBSCRIPTION',
+ FIELD: 'FIELD',
+ FRAGMENT_DEFINITION: 'FRAGMENT_DEFINITION',
+ FRAGMENT_SPREAD: 'FRAGMENT_SPREAD',
+ INLINE_FRAGMENT: 'INLINE_FRAGMENT',
+ VARIABLE_DEFINITION: 'VARIABLE_DEFINITION',
+ // Type System Definitions
+ SCHEMA: 'SCHEMA',
+ SCALAR: 'SCALAR',
+ OBJECT: 'OBJECT',
+ FIELD_DEFINITION: 'FIELD_DEFINITION',
+ ARGUMENT_DEFINITION: 'ARGUMENT_DEFINITION',
+ INTERFACE: 'INTERFACE',
+ UNION: 'UNION',
+ ENUM: 'ENUM',
+ ENUM_VALUE: 'ENUM_VALUE',
+ INPUT_OBJECT: 'INPUT_OBJECT',
+ INPUT_FIELD_DEFINITION: 'INPUT_FIELD_DEFINITION'
+});
+/**
+ * The enum type representing the directive location values.
+ */