- 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
30 lines
No EOL
998 B
TypeScript
30 lines
No EOL
998 B
TypeScript
/**
|
|
* Icon name
|
|
*/
|
|
interface IconifyIconName {
|
|
readonly provider: string;
|
|
readonly prefix: string;
|
|
readonly name: string;
|
|
}
|
|
/**
|
|
* Icon source: icon object without name
|
|
*/
|
|
type IconifyIconSource = Omit<IconifyIconName, 'name'>;
|
|
/**
|
|
* Expression to test part of icon name.
|
|
*
|
|
* Used when loading icons from Iconify API due to project naming convension.
|
|
* Ignored when using custom icon sets - convension does not apply.
|
|
*/
|
|
declare const matchIconName: RegExp;
|
|
/**
|
|
* Convert string icon name to IconifyIconName object.
|
|
*/
|
|
declare const stringToIcon: (value: string, validate?: boolean, allowSimpleName?: boolean, provider?: string) => IconifyIconName | null;
|
|
/**
|
|
* Check if icon is valid.
|
|
*
|
|
* This function is not part of stringToIcon because validation is not needed for most code.
|
|
*/
|
|
declare const validateIconName: (icon: IconifyIconName | null, allowSimpleName?: boolean) => boolean;
|
|
export { IconifyIconName, IconifyIconSource, matchIconName, stringToIcon, validateIconName }; |