This commit is contained in:
Mayel de Borniol 2023-09-24 16:11:53 +01:00
parent d0f41e5e68
commit 8d74f6cb9b
2 changed files with 10 additions and 7 deletions

View file

@ -444,7 +444,14 @@ pointer_mixins =
:settings,
:follow_count,
:boost_count,
:like_count
:like_count,
:tags,
:media,
:controlled,
:activities,
:care_closure,
:direct_replies,
:feed_publishes
])
config :pointers, Pointer,
@ -467,10 +474,6 @@ config :pointers, Pointer,
has_one(:geolocation, unquote(Geolocation), foreign_key: :id)
# mixins
unquote_splicing(pointer_mixins)
# multimixins
unquote_splicing(common.([:controlled, :tags, :media]))
# has_many
unquote_splicing(common.([:activities, :care_closure, :direct_replies, :feed_publishes]))
end)
config :pointers, Table, []
@ -650,7 +653,7 @@ config :bonfire_data_identity, User,
@follow_ulid "70110WTHE1EADER1EADER1EADE"
# mixins
unquote_splicing(
common.([:actor, :character, :created, :peered, :profile, :settings, :sensitive])
common.([:actor, :character, :created, :peered, :profile, :settings, :sensitive, :tags])
)
has_one(:self, unquote(Self), foreign_key: :id)

View file

@ -77,4 +77,4 @@ paper_trail = "https://github.com/bonfire-networks/paper_trail#with-pointers"
# sentry = "https://github.com/getsentry/sentry-elixir"
bonfire_editor_milkdown = "https://github.com/bonfire-networks/bonfire_editor_milkdown"
bonfire_gatherings = "https://github.com/bonfire-networks/bonfire_gatherings"
# bonfire_gatherings = "https://github.com/bonfire-networks/bonfire_gatherings"