Add reaction deck

This commit is contained in:
KMY 2023-05-26 15:15:48 +09:00
parent db5c358f4f
commit f1625fe101
24 changed files with 404 additions and 13 deletions

View file

@ -85,6 +85,10 @@ class REST::InstanceSerializer < ActiveModel::Serializer
max_reactions_per_account: EmojiReaction::EMOJI_REACTION_PER_ACCOUNT_LIMIT,
},
reaction_deck: {
max_items: 16,
},
reactions: {
max_reactions: EmojiReaction::EMOJI_REACTION_PER_ACCOUNT_LIMIT,
},
@ -110,6 +114,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
:kmyblue_searchability,
:searchability,
:kmyblue_markdown,
:kmyblue_reaction_deck,
]
capabilities << :profile_search unless Chewy.enabled?