2022-08-22 18:10:26 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
class DeploymentDetailsType < DeploymentType
|
|
|
|
graphql_name 'DeploymentDetails'
|
|
|
|
description 'The details of the deployment'
|
|
|
|
authorize :read_deployment
|
2022-10-20 06:09:59 +00:00
|
|
|
present_using ::Deployments::DeploymentPresenter
|
2022-09-17 21:14:47 +00:00
|
|
|
|
|
|
|
field :tags,
|
|
|
|
[Types::DeploymentTagType],
|
|
|
|
description: 'Git tags that contain this deployment.',
|
|
|
|
calls_gitaly: true
|
2022-08-22 18:10:26 +00:00
|
|
|
end
|
|
|
|
end
|
2022-10-20 06:09:59 +00:00
|
|
|
|
|
|
|
Types::DeploymentDetailsType.prepend_mod_with('Types::DeploymentDetailsType')
|