mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-30 22:48:13 +09:00
e53284dc20
* remove top level awaits * add es2017 target * refactor: use setup and ref sugar
14 lines
519 B
TypeScript
14 lines
519 B
TypeScript
export const unicodeEmojiCategories = ['face', 'people', 'animals_and_nature', 'food_and_drink', 'activity', 'travel_and_places', 'objects', 'symbols', 'flags'] as const;
|
|
|
|
export type UnicodeEmojiDef = {
|
|
name: string;
|
|
keywords: string[];
|
|
char: string;
|
|
category: typeof unicodeEmojiCategories[number];
|
|
}
|
|
|
|
// initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb
|
|
import _emojilist from '../emojilist.json';
|
|
|
|
export const emojilist = _emojilist as UnicodeEmojiDef[];
|