gitlab-org--gitlab-foss/app/graphql/types/tree/tree_entry_type.rb

16 lines
323 B
Ruby
Raw Normal View History

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