2023-01-13 05:40:33 +01:00
|
|
|
export const unicodeEmojiCategories = [
|
|
|
|
"face",
|
|
|
|
"people",
|
|
|
|
"animals_and_nature",
|
|
|
|
"food_and_drink",
|
|
|
|
"activity",
|
|
|
|
"travel_and_places",
|
|
|
|
"objects",
|
|
|
|
"symbols",
|
|
|
|
"flags",
|
|
|
|
] as const;
|
2022-01-18 15:06:16 +01:00
|
|
|
|
|
|
|
export type UnicodeEmojiDef = {
|
2019-09-21 14:31:38 +02:00
|
|
|
name: string;
|
|
|
|
keywords: string[];
|
|
|
|
char: string;
|
2022-01-18 15:06:16 +01:00
|
|
|
category: typeof unicodeEmojiCategories[number];
|
2023-01-13 05:40:33 +01:00
|
|
|
};
|
2022-01-18 15:06:16 +01:00
|
|
|
|
|
|
|
// initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb
|
2023-01-13 05:40:33 +01:00
|
|
|
import _emojilist from "../emojilist.json";
|
2022-07-13 14:17:19 +02:00
|
|
|
|
2022-07-13 14:39:16 +02:00
|
|
|
export const emojilist = _emojilist as UnicodeEmojiDef[];
|