summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/variable_sort_enum.rb
blob: 3a60899ab5dd5cdb43bf708e5b56fdcdd9f17aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Types
  module Ci
    class VariableSortEnum < BaseEnum
      graphql_name 'CiVariableSort'
      description 'Values for sorting variables'

      value 'KEY_ASC', 'Sorted by key in ascending order.', value: :key_asc
      value 'KEY_DESC', 'Sorted by key in descending order.', value: :key_desc
    end
  end
end