Welcome to mirror list, hosted at ThFree Co, Russian Federation.

type_enum.rb « tree « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6560d91e9e573b77d2b87df4a402c76bfa1cf817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Types
  module Tree
    class TypeEnum < BaseEnum
      graphql_name 'EntryType'
      description 'Type of a tree entry'

      value 'tree', value: :tree
      value 'blob', value: :blob
      value 'commit', value: :commit
    end
  end
end