2020-06-02 15:08:24 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
class UserStateEnum < BaseEnum
|
|
|
|
graphql_name 'UserState'
|
|
|
|
description 'Possible states of a user'
|
|
|
|
|
2021-08-31 15:10:29 +00:00
|
|
|
value 'active', 'User is active and is able to use the system.', value: 'active'
|
|
|
|
value 'blocked', 'User has been blocked and is prevented from using the system.', value: 'blocked'
|
|
|
|
value 'deactivated', 'User is no longer active and is unable to use the system.', value: 'deactivated'
|
2020-06-02 15:08:24 +00:00
|
|
|
end
|
|
|
|
end
|