summaryrefslogtreecommitdiff
path: root/app/graphql/types/tree/entry_type.rb
blob: d8e8642ddb8dbf32a3423fa50df2144292408791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true
module Types
  module Tree
    module EntryType
      include Types::BaseInterface

      field :id, GraphQL::ID_TYPE, null: false
      field :name, GraphQL::STRING_TYPE, null: false
      field :type, Tree::TypeEnum, null: false
      field :path, GraphQL::STRING_TYPE, null: false
      field :flat_path, GraphQL::STRING_TYPE, null: false
    end
  end
end