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

module Types
  module Ci
    class ApplicationSettingType < BaseObject
      graphql_name 'CiApplicationSettings'

      authorize :read_application_setting

      field :keep_latest_artifact, GraphQL::BOOLEAN_TYPE, null: true,
        description: 'Whether to keep the latest jobs artifacts.'
    end
  end
end