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: 7acb83a2a8a82766d345589dc77bef45b3952361 (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', description: 'Directory tree type.', value: :tree
      value 'blob', description: 'File tree type.', value: :blob
      value 'commit', description: 'Commit tree type.', value: :commit
    end
  end
end