Merge branch 'admin-fix-duplicated-endpoints' into 'develop'
[akkoma] / lib / pleroma / ecto_enums.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 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 suggestion_dismiss: 6
14 )
15
16 defenum(Pleroma.FollowingRelationship.State,
17 follow_pending: 1,
18 follow_accept: 2,
19 follow_reject: 3
20 )
21
22 defenum(Pleroma.DataMigration.State,
23 pending: 1,
24 running: 2,
25 complete: 3,
26 failed: 4,
27 manual: 5
28 )