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

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

module Types
  module Packages
    class PackageTagType < BaseObject
      graphql_name 'PackageTag'
      description 'Represents a package tag'
      authorize :read_package

      field :id, GraphQL::Types::ID, null: false, description: 'ID of the tag.'
      field :name, GraphQL::Types::String, null: false, description: 'Name of the tag.'
      field :created_at, Types::TimeType, null: false, description: 'Created date.'
      field :updated_at, Types::TimeType, null: false, description: 'Updated date.'
    end
  end
end