Merge branch 'fix/digest-task-otp' into 'develop'
[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 "pleroma_internal"
22 ]
23 )
24
25 const(static_only_files,
26 do:
27 ~w(index.html robots.txt static static-fe finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc)
28 )
29 end