diff options
Diffstat (limited to 'app/graphql/types/ref_type_enum.rb')
-rw-r--r-- | app/graphql/types/ref_type_enum.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/graphql/types/ref_type_enum.rb b/app/graphql/types/ref_type_enum.rb new file mode 100644 index 00000000000..f56d4cd512a --- /dev/null +++ b/app/graphql/types/ref_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Types + class RefTypeEnum < BaseEnum + graphql_name 'RefType' + description 'Type of ref' + + value 'HEADS', description: 'Ref type for branches.', value: 'heads' + value 'TAGS', description: 'Ref type for tags.', value: 'tags' + end +end |