- web/: Vue 3 + Vite + UnoCSS + Pinia, dark tactical theme (amber/#0d1117) - AppNav, ListingCard, SearchView with filters/sort, composables (useSnipeMode, useKonamiCode, useMotion), Pinia search store - Steal shimmer, auction countdown, Snipe Mode easter egg all native in Vue - docker/web/: nginx + multi-stage Dockerfile (node build → nginx serve) - compose.yml: api (8510) + web (8509) services - Dockerfile CMD updated to uvicorn for upcoming FastAPI layer - Clean build: 0 TS errors, 380 modules
32 lines
No EOL
1 KiB
TypeScript
32 lines
No EOL
1 KiB
TypeScript
import { IconifyJSON } from "@iconify/types";
|
|
/** Parsed icon */
|
|
interface PreparedEmojiIcon {
|
|
/** Icon name */
|
|
icon: string;
|
|
/** Emoji sequence as string */
|
|
sequence: string;
|
|
}
|
|
/**
|
|
* Parse
|
|
*/
|
|
interface PreparedEmojiResult {
|
|
/** List of icons */
|
|
icons: PreparedEmojiIcon[];
|
|
/** Regular expression */
|
|
regex: string;
|
|
}
|
|
/**
|
|
* Prepare emoji for icons list
|
|
*
|
|
* Test data should be fetched from 'https://unicode.org/Public/emoji/17.0/emoji-test.txt'
|
|
* It is used to detect missing emojis and optimise regular expression
|
|
*/
|
|
declare function prepareEmojiForIconsList(icons: Record<string, string>, rawTestData?: string): PreparedEmojiResult;
|
|
/**
|
|
* Prepare emoji for an icon set
|
|
*
|
|
* Test data should be fetched from 'https://unicode.org/Public/emoji/15.1/emoji-test.txt'
|
|
* It is used to detect missing emojis and optimise regular expression
|
|
*/
|
|
declare function prepareEmojiForIconSet(iconSet: IconifyJSON, rawTestData?: string): PreparedEmojiResult;
|
|
export { PreparedEmojiIcon, PreparedEmojiResult, prepareEmojiForIconSet, prepareEmojiForIconsList }; |