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

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    class RunnerArchitectureType < BaseObject
      graphql_name 'RunnerArchitecture'

      field :name, GraphQL::Types::String, null: false,
        description: 'Name of the runner platform architecture.'
      field :download_location, GraphQL::Types::String, null: false,
        description: 'Download location for the runner for the platform architecture.'
    end
  end
end