import type { RecordOf } from 'immutable'; import { Record } from 'immutable'; import type { ApiCustomEmojiJSON } from 'mastodon/api_types/custom_emoji'; type CustomEmojiShape = Required; // no changes from server shape export type CustomEmoji = RecordOf; export const CustomEmojiFactory = Record({ shortcode: '', static_url: '', url: '', category: '', visible_in_picker: false, width: 32, height: 32, sensitive: false, aliases: [], license: '', });