[Glitch] Emoji: Update emoji categories with featured emoji
Port c5c8100d02290a366e1d1c8114a5c393ed0e207d to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
f21f8df4cc
commit
ac926baa74
@ -1,8 +1,9 @@
|
|||||||
// See app/serializers/rest/account_serializer.rb
|
// See app/serializers/rest/custom_emoji_serializer.rb
|
||||||
export interface ApiCustomEmojiJSON {
|
export interface ApiCustomEmojiJSON {
|
||||||
shortcode: string;
|
shortcode: string;
|
||||||
static_url: string;
|
static_url: string;
|
||||||
url: string;
|
url: string;
|
||||||
category?: string;
|
category?: string;
|
||||||
|
featured?: boolean;
|
||||||
visible_in_picker: boolean;
|
visible_in_picker: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,7 @@ export const CustomEmojiFactory = ImmutableRecord<CustomEmojiShape>({
|
|||||||
static_url: '',
|
static_url: '',
|
||||||
url: '',
|
url: '',
|
||||||
category: '',
|
category: '',
|
||||||
|
featured: false,
|
||||||
visible_in_picker: false,
|
visible_in_picker: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user