[Glitch] Emoji: Update emoji categories with featured emoji

Port c5c8100d02 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo authored and Claire committed 2025-12-04 20:20:06 +01:00
1 parent f21f8df4cc
commit ac926baa74
2 files changed
+3 -1

No files matched your search

@@ -1,8 +1,9 @@
// See app/serializers/rest/account_serializer.rb
// See app/serializers/rest/custom_emoji_serializer.rb
export interface ApiCustomEmojiJSON {
shortcode: string;
static_url: string;
url: string;
category?: string;
featured?: boolean;
visible_in_picker: boolean;
}
@@ -11,6 +11,7 @@ export const CustomEmojiFactory = ImmutableRecord<CustomEmojiShape>({
static_url: '',
url: '',
category: '',
featured: false,
visible_in_picker: false,
});