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

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

module Types
  # rubocop: disable Graphql/AuthorizeTypes
  class UserStatusType < BaseObject
    graphql_name 'UserStatus'

    markdown_field :message_html, null: true,
      description: 'HTML of the user status message'
    field :message, GraphQL::STRING_TYPE, null: true,
      description: 'User status message'
    field :emoji, GraphQL::STRING_TYPE, null: true,
      description: 'String representation of emoji'
  end
end