Merge branch 'develop' into activation-meta
[akkoma] / lib / pleroma / ecto_enums.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 import EctoEnum
6
7 defenum(Pleroma.UserRelationship.Type,
8 block: 1,
9 mute: 2,
10 reblog_mute: 3,
11 notification_mute: 4,
12 inverse_subscription: 5
13 )
14
15 defenum(Pleroma.FollowingRelationship.State,
16 follow_pending: 1,
17 follow_accept: 2,
18 follow_reject: 3
19 )