SHA256
Очистить репозиторий перед переносом продукта
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { TELEGRAM_EMOJI_GROUPS } from './js/components/telegram-emoji-catalog.js?diagnostic=202607151545';
|
||||
import { TWEMOJI_GROUPS } from './js/components/twemoji-catalog.js?diagnostic=202607151545';
|
||||
|
||||
const items = TELEGRAM_EMOJI_GROUPS.flatMap((group) =>
|
||||
const items = TWEMOJI_GROUPS.flatMap((group) =>
|
||||
group.items.map((item) => ({ ...item, category: group.id })),
|
||||
);
|
||||
|
||||
@@ -21,7 +21,7 @@ const missing = items
|
||||
.map((item) => ({ file: item.file, missing: ['emoji', 'file', 'name', 'category', 'previewUrl', 'animatedUrl'].filter((field) => !item[field]) }));
|
||||
|
||||
console.log(JSON.stringify({
|
||||
categories: TELEGRAM_EMOJI_GROUPS.map((group) => ({ id: group.id, label: group.label, count: group.items.length })),
|
||||
categories: TWEMOJI_GROUPS.map((group) => ({ id: group.id, label: group.label, count: group.items.length })),
|
||||
total: items.length,
|
||||
uniqueUnicode: new Set(items.map((item) => item.emoji)).size,
|
||||
uniqueUrl: new Set(items.map((item) => item.file)).size,
|
||||
|
||||
Reference in New Issue
Block a user