summaryrefslogtreecommitdiff
path: root/app/graphql/types/notes/position_type_enum.rb
blob: 157b0b4b8845168d057a6bf0cf3a0cd81972130e (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: "Text file."
      value 'image', description: "An image."
    end
  end
end