diff --git a/lps-admin/src/api/types.ts b/lps-admin/src/api/types.ts index dc04af5..df55156 100644 --- a/lps-admin/src/api/types.ts +++ b/lps-admin/src/api/types.ts @@ -81,13 +81,15 @@ export interface ProductListRes { items: ProductItem[]; } +/** 몰별 최저가 스냅샷 원소(price_history.by_mall) — summarize_by_mall 출력과 정합. */ export interface MallEntry { - mall?: string; source?: string; + mall_name?: string; price?: number; shipping_fee?: number | null; shipping_type?: string | null; - url?: string; + name?: string; + detail_url?: string; } export interface PricePoint { diff --git a/lps-admin/src/components/Layout.tsx b/lps-admin/src/components/Layout.tsx index ae335ee..97cf906 100644 --- a/lps-admin/src/components/Layout.tsx +++ b/lps-admin/src/components/Layout.tsx @@ -18,9 +18,9 @@ export default function Layout() { const health = useQuery({ queryKey: ["healthz"], queryFn: healthz, refetchInterval: 10_000 }); const up = health.data === true; return ( -
+
{/* 모바일( +