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

tree_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: 1eb6c43972e643e850b003ad1caadf3733ce2f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
module Types
  module Tree
    class TreeType < BaseObject
      graphql_name 'Tree'

      field :trees, Types::Tree::TreeEntryType.connection_type, null: false
      field :submodules, Types::Tree::SubmoduleType.connection_type, null: false
      field :blobs, Types::Tree::BlobType.connection_type, null: false
    end
  end
end