pleroma/lib/pleroma/constants.ex

24 lines
523 B
Elixir
Raw Normal View History

# Pleroma: A lightweight social networking server
2020-03-03 14:44:49 -08:00
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Constants do
use Const
const(as_public, do: "https://www.w3.org/ns/activitystreams#Public")
const(object_internal_fields,
do: [
"reactions",
2019-09-30 06:13:05 -07:00
"reaction_count",
"likes",
"like_count",
"announcements",
"announcement_count",
"emoji",
"context_id",
"deleted_activity_id"
]
)
end