2019-05-22 11:43:35 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
module Types
|
|
|
|
module Tree
|
|
|
|
class TreeEntryType < BaseObject
|
|
|
|
implements Types::Tree::EntryType
|
|
|
|
|
2019-06-04 13:38:18 +00:00
|
|
|
present_using TreeEntryPresenter
|
|
|
|
|
2019-05-22 11:43:35 +00:00
|
|
|
graphql_name 'TreeEntry'
|
|
|
|
description 'Represents a directory'
|
2019-06-04 13:38:18 +00:00
|
|
|
|
|
|
|
field :web_url, GraphQL::STRING_TYPE, null: true
|
2019-05-22 11:43:35 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|