Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
763B

  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. defmodule Pleroma.Constants do
  5. use Const
  6. const(as_public, do: "https://www.w3.org/ns/activitystreams#Public")
  7. const(object_internal_fields,
  8. do: [
  9. "reactions",
  10. "reaction_count",
  11. "likes",
  12. "like_count",
  13. "announcements",
  14. "announcement_count",
  15. "emoji",
  16. "context_id",
  17. "deleted_activity_id",
  18. "pleroma_internal",
  19. "generator"
  20. ]
  21. )
  22. const(static_only_files,
  23. do:
  24. ~w(index.html robots.txt static static-fe finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc embed.js embed.css)
  25. )
  26. end