2019-11-18 17:38:56 +00:00
|
|
|
# Pleroma: A lightweight social networking server
|
2022-02-26 06:11:42 +00:00
|
|
|
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
|
2019-11-18 17:38:56 +00:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
import EctoEnum
|
|
|
|
|
2020-03-31 06:21:42 +00:00
|
|
|
defenum(Pleroma.UserRelationship.Type,
|
2019-11-20 12:46:11 +00:00
|
|
|
block: 1,
|
|
|
|
mute: 2,
|
|
|
|
reblog_mute: 3,
|
|
|
|
notification_mute: 4,
|
2021-11-29 11:43:29 +00:00
|
|
|
inverse_subscription: 5,
|
2021-12-28 17:07:19 +00:00
|
|
|
suggestion_dismiss: 6,
|
|
|
|
endorsement: 7
|
2019-11-20 12:46:11 +00:00
|
|
|
)
|
2020-03-28 15:49:03 +00:00
|
|
|
|
2020-03-31 06:21:42 +00:00
|
|
|
defenum(Pleroma.FollowingRelationship.State,
|
2020-03-28 15:49:03 +00:00
|
|
|
follow_pending: 1,
|
|
|
|
follow_accept: 2,
|
|
|
|
follow_reject: 3
|
|
|
|
)
|
2021-01-13 19:07:38 +00:00
|
|
|
|
|
|
|
defenum(Pleroma.DataMigration.State,
|
|
|
|
pending: 1,
|
|
|
|
running: 2,
|
|
|
|
complete: 3,
|
|
|
|
failed: 4,
|
|
|
|
manual: 5
|
|
|
|
)
|
2022-12-16 07:56:32 +00:00
|
|
|
|
|
|
|
defenum(Pleroma.User.Backup.State,
|
|
|
|
pending: 1,
|
|
|
|
running: 2,
|
|
|
|
complete: 3,
|
|
|
|
failed: 4,
|
|
|
|
invalid: 5
|
|
|
|
)
|