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

user_type.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 87ca5fddf14c6340efc635f6837687a0e688df1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Types
  class UserType < ::Types::BaseObject
    graphql_name 'UserCore'
    description 'Core representation of a GitLab user.'

    connection_type_class Types::CountableConnectionType

    implements ::Types::UserInterface

    authorize :read_user

    present_using UserPresenter
  end
end