debian-mirror-gitlab/app/graphql/types/tree/tree_entry_type.rb
2019-09-04 21:01:54 +05:30

15 lines
323 B
Ruby

# frozen_string_literal: true
module Types
module Tree
class TreeEntryType < BaseObject
implements Types::Tree::EntryType
present_using TreeEntryPresenter
graphql_name 'TreeEntry'
description 'Represents a directory'
field :web_url, GraphQL::STRING_TYPE, null: true
end
end
end