14 lines
345 B
Ruby
14 lines
345 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Types
|
|
module Ci
|
|
class ApplicationSettingType < BaseObject
|
|
graphql_name 'CiApplicationSettings'
|
|
|
|
authorize :read_application_setting
|
|
|
|
field :keep_latest_artifact, GraphQL::Types::Boolean, null: true,
|
|
description: 'Whether to keep the latest jobs artifacts.'
|
|
end
|
|
end
|
|
end
|