logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

ecto_enums.ex (674B)


  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. import EctoEnum
  5. defenum(Pleroma.UserRelationship.Type,
  6. block: 1,
  7. mute: 2,
  8. reblog_mute: 3,
  9. notification_mute: 4,
  10. inverse_subscription: 5,
  11. suggestion_dismiss: 6,
  12. endorsement: 7
  13. )
  14. defenum(Pleroma.FollowingRelationship.State,
  15. follow_pending: 1,
  16. follow_accept: 2,
  17. follow_reject: 3
  18. )
  19. defenum(Pleroma.DataMigration.State,
  20. pending: 1,
  21. running: 2,
  22. complete: 3,
  23. failed: 4,
  24. manual: 5
  25. )
  26. defenum(Pleroma.User.Backup.State,
  27. pending: 1,
  28. running: 2,
  29. complete: 3,
  30. failed: 4,
  31. invalid: 5
  32. )