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

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

module Types
  module Notes
    class PositionTypeEnum < BaseEnum
      graphql_name 'DiffPositionType'
      description 'Type of file the position refers to'

      value 'text', description: "A text file."
      value 'image', description: "An image."
    end
  end
end