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