feat: 백엔드 신스키마 (PlanOutput / 신규 analysis 라우트) 반영 + 화면·환경 적응
- orval SDK 재생성: generated/analyses → generated/analysis, planResponse* → planOutput 외 신규 모델 40여 개 - transformReport / useAnalysisPipeline 신스키마 적응 - plan/report 페이지·컴포넌트(다운로드 메뉴, ChannelOverview, ChannelStrategy, GuestPlanPage, UserPlanPage, GuestReportPage, UserReportPage, ReportBody, MultiChannelInput) 적응 - /dev/clinics 페이지 갱신 - orval.config / api.ts / package.json 환경설정 갱신 - .env.example: API 키 값 placeholder 로 비움 (이전에 실제 키가 들어있었음) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
93674e4856
commit
a294637644
65 files changed
+890
-213
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import type { ComponentType } from 'react';
|
||||
import type { ComponentType, CSSProperties } from 'react';
|
||||
import { motion } from 'motion/react';
|
||||
import { Youtube, Instagram, Globe, Star, Facebook, Search } from 'lucide-react';
|
||||
import { SectionWrapper } from './ui/SectionWrapper';
|
||||
@@ -10,7 +10,7 @@ interface ChannelOverviewProps {
|
||||
channels: ChannelScore[];
|
||||
}
|
||||
|
||||
const iconMap: Record<string, ComponentType<{ size?: number; className?: string }>> = {
|
||||
const iconMap: Record<string, ComponentType<{ size?: number; className?: string; style?: CSSProperties }>> = {
|
||||
youtube: Youtube,
|
||||
instagram: Instagram,
|
||||
facebook: Facebook,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* PDF: 브라우저 네이티브 인쇄(window.print) → "PDF로 저장"
|
||||
* CSV: 리포트의 표 데이터를 다중 섹션 CSV 단일 파일로 다운로드
|
||||
*/
|
||||
import { Download, FileText, FileSpreadsheet, ChevronDown, Loader2 } from 'lucide-react';
|
||||
import { FileText, FileSpreadsheet, ChevronDown, Loader2 } from 'lucide-react';
|
||||
import {
|
||||
DropdownMenu,
|
||||
DropdownMenuTrigger,
|
||||
@@ -44,7 +44,6 @@ export function DownloadMenuButton({ filename, report, className }: DownloadMenu
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Download size={12} />
|
||||
다운로드
|
||||
<ChevronDown size={12} className="opacity-70" />
|
||||
</>
|
||||
|
||||
@@ -80,7 +80,7 @@ export default function ReportBody({ data }: ReportBodyProps) {
|
||||
</SectionErrorBoundary>
|
||||
|
||||
<SectionErrorBoundary>
|
||||
{hasValue(data.instagramAudit) && data.instagramAudit.handle ? (
|
||||
{hasValue(data.instagramAudit) && nonEmpty(data.instagramAudit.accounts) ? (
|
||||
<InstagramAudit data={data.instagramAudit} />
|
||||
) : (
|
||||
<EmptySection id="instagram-audit" title="Instagram Analysis" subtitle="인스타그램 분석" />
|
||||
@@ -88,7 +88,7 @@ export default function ReportBody({ data }: ReportBodyProps) {
|
||||
</SectionErrorBoundary>
|
||||
|
||||
<SectionErrorBoundary>
|
||||
{hasValue(data.facebookAudit) && (data.facebookAudit.handle || data.facebookAudit.followers > 0) ? (
|
||||
{hasValue(data.facebookAudit) && nonEmpty(data.facebookAudit.pages) ? (
|
||||
<FacebookAudit data={data.facebookAudit} />
|
||||
) : (
|
||||
<EmptySection id="facebook-audit" title="Facebook Analysis" subtitle="페이스북 페이지 분석" />
|
||||
|
||||
Reference in new issue
Block a user