Emoji: Update emoji categories with featured emoji (#37084)

This commit is contained in:
Echo
2025-12-02 11:30:08 +01:00
committed by GitHub
parent 2e5744e8c6
commit c5c8100d02
8 changed files with 36 additions and 6 deletions

View File

@@ -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;
}

View File

@@ -11,6 +11,7 @@ export const CustomEmojiFactory = ImmutableRecord<CustomEmojiShape>({
static_url: '',
url: '',
category: '',
featured: false,
visible_in_picker: false,
});