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

tree_entry_type.rb « tree « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 23ec2ef0ec2dc350387f2ecc25146605037ee190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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