2019-11-18 09:38:56 -08:00
|
|
|
# Pleroma: A lightweight social networking server
|
2020-03-03 14:44:49 -08:00
|
|
|
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
2019-11-18 09:38:56 -08:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
import EctoEnum
|
|
|
|
|
2020-03-30 23:21:42 -07:00
|
|
|
defenum(Pleroma.UserRelationship.Type,
|
2019-11-20 04:46:11 -08:00
|
|
|
block: 1,
|
|
|
|
mute: 2,
|
|
|
|
reblog_mute: 3,
|
|
|
|
notification_mute: 4,
|
|
|
|
inverse_subscription: 5
|
|
|
|
)
|
2020-03-28 08:49:03 -07:00
|
|
|
|
2020-03-30 23:21:42 -07:00
|
|
|
defenum(Pleroma.FollowingRelationship.State,
|
2020-03-28 08:49:03 -07:00
|
|
|
follow_pending: 1,
|
|
|
|
follow_accept: 2,
|
|
|
|
follow_reject: 3
|
|
|
|
)
|