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-09-17 21:14:47 +00:00
|
|
|
present_using Deployments::DeploymentPresenter
|
|
|
|
|
|
|
|
field :tags,
|
|
|
|
[Types::DeploymentTagType],
|
|
|
|
description: 'Git tags that contain this deployment.',
|
|
|
|
calls_gitaly: true
|
2022-08-22 18:10:26 +00:00
|
|
|
end
|
|
|
|
end
|