summaryrefslogtreecommitdiff
path: root/app/graphql/types/dependency_proxy/blob_type.rb
blob: f5a78fbb3ba9cf381ff8191d8310fd57db1fc906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Types
  class DependencyProxy::BlobType < BaseObject
    graphql_name 'DependencyProxyBlob'

    description 'Dependency proxy blob'

    authorize :read_dependency_proxy

    field :created_at, Types::TimeType, null: false, description: 'Date of creation.'
    field :updated_at, Types::TimeType, null: false, description: 'Date of most recent update.'
    field :file_name, GraphQL::Types::String, null: false, description: 'Name of the blob.'
    field :size, GraphQL::Types::String, null: false, description: 'Size of the blob file.'
  end
end