Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/delete...
[akkoma] / lib / pleroma / constants.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Constants do
6 use Const
7
8 const(as_public, do: "https://www.w3.org/ns/activitystreams#Public")
9
10 const(object_internal_fields,
11 do: [
12 "reactions",
13 "reaction_count",
14 "likes",
15 "like_count",
16 "announcements",
17 "announcement_count",
18 "emoji",
19 "context_id",
20 "deleted_activity_id"
21 ]
22 )
23
24 const(static_only_files,
25 do:
26 ~w(index.html robots.txt static static-fe finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc)
27 )
28 end