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

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

module Types
  class MergeRequestStateEventEnum < BaseEnum
    graphql_name 'MergeRequestNewState'
    description 'New state to apply to a merge request.'

    value 'OPEN',
      value: 'reopen',
      description: 'Open the merge request if it is closed.'

    value 'CLOSED',
      value: 'close',
      description: 'Close the merge request if it is open.'
  end
end