summaryrefslogtreecommitdiff
path: root/app/graphql/types/snippets/type_enum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/snippets/type_enum.rb')
-rw-r--r--app/graphql/types/snippets/type_enum.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/graphql/types/snippets/type_enum.rb b/app/graphql/types/snippets/type_enum.rb
new file mode 100644
index 00000000000..243f05359db
--- /dev/null
+++ b/app/graphql/types/snippets/type_enum.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module Types
+ module Snippets
+ class TypeEnum < BaseEnum
+ value 'personal', value: 'personal'
+ value 'project', value: 'project'
+ end
+ end
+end