Welcome to mirror list, hosted at ThFree Co, Russian Federation.

container_repository_referrer_type.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9d4d150b954c26ecde2c01672540cbd3c937563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Types
  class ContainerRepositoryReferrerType < BaseObject
    graphql_name 'ContainerRepositoryReferrer'

    description 'A referrer for a container repository tag'

    authorize :read_container_image

    expose_permissions Types::PermissionTypes::ContainerRepositoryTag

    field :artifact_type, GraphQL::Types::String, description: 'Artifact type of the referrer.'
    field :digest, GraphQL::Types::String, description: 'Digest of the referrer.'
  end
end