debian-mirror-gitlab/app/graphql/types/user_status_type.rb
2020-10-24 23:57:45 +05:30

16 lines
463 B
Ruby

# 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