# frozen_string_literal: true

module EE
  module Types
    module Ci
      module RunnerType
        extend ActiveSupport::Concern

        prepended do
          field :public_projects_minutes_cost_factor, GraphQL::FLOAT_TYPE, null: true,
                description: 'Public projects\' "minutes cost factor" associated with the runner (GitLab.com only).'
          field :private_projects_minutes_cost_factor, GraphQL::FLOAT_TYPE, null: true,
                description: 'Private projects\' "minutes cost factor" associated with the runner (GitLab.com only).'
        end
      end
    end
  end
end
