2021-01-03 14:25:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
module Ci
|
|
|
|
# rubocop: disable Graphql/AuthorizeTypes
|
|
|
|
class RunnerPlatformType < BaseObject
|
|
|
|
graphql_name 'RunnerPlatform'
|
|
|
|
|
|
|
|
field :architectures, Types::Ci::RunnerArchitectureType.connection_type, null: true,
|
2021-03-11 19:13:27 +05:30
|
|
|
description: 'Runner architectures supported for the platform.'
|
2022-05-07 20:08:51 +05:30
|
|
|
field :human_readable_name, GraphQL::Types::String, null: false,
|
|
|
|
description: 'Human readable name of the runner platform.'
|
|
|
|
field :name, GraphQL::Types::String, null: false,
|
|
|
|
description: 'Name slug of the runner platform.'
|
2021-01-03 14:25:43 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|