total rebase
[anni] / lib / pleroma / ecto_enums.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 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   endorsement: 7
15 )
16
17 defenum(Pleroma.FollowingRelationship.State,
18   follow_pending: 1,
19   follow_accept: 2,
20   follow_reject: 3
21 )
22
23 defenum(Pleroma.DataMigration.State,
24   pending: 1,
25   running: 2,
26   complete: 3,
27   failed: 4,
28   manual: 5
29 )
30
31 defenum(Pleroma.User.Backup.State,
32   pending: 1,
33   running: 2,
34   complete: 3,
35   failed: 4,
36   invalid: 5
37 )