- 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
22 lines
741 B
TypeScript
22 lines
741 B
TypeScript
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
// global JSX namespace registration
|
|
// somehow we have to copy=pase the jsx-runtime types here to make TypeScript happy
|
|
import type { NativeElements, ReservedProps, VNode } from '@vue/runtime-dom'
|
|
|
|
declare global {
|
|
namespace JSX {
|
|
export interface Element extends VNode {}
|
|
export interface ElementClass {
|
|
$props: {}
|
|
}
|
|
export interface ElementAttributesProperty {
|
|
$props: {}
|
|
}
|
|
export interface IntrinsicElements extends NativeElements {
|
|
// allow arbitrary elements
|
|
// @ts-ignore suppress ts:2374 = Duplicate string index signature.
|
|
[name: string]: any
|
|
}
|
|
export interface IntrinsicAttributes extends ReservedProps {}
|
|
}
|
|
}
|