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: 170f28103eb432fe954c51ea5d96bc67a45fde8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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

    authorize :read_user

    present_using UserPresenter
  end
end