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
@@ -88,9 +88,15 @@ const CHANNEL_ORDER: ChannelKey[] = [
|
||||
|
||||
type ChannelUrlInputs = Record<ChannelKey, string>;
|
||||
|
||||
const EMPTY_URLS: ChannelUrlInputs = {
|
||||
homepage: '', youtube: '', instagram: '', facebook: '',
|
||||
naverPlace: '', naverBlog: '', gangnamUnni: '',
|
||||
/** 메인페이지 URL 입력 초기값 — 뷰성형외과 예시 데이터로 사전 채움 */
|
||||
const DEFAULT_URLS: ChannelUrlInputs = {
|
||||
homepage: 'www.viewclinic.com',
|
||||
youtube: 'https://www.youtube.com/channel/UCQqqH3Klj2HQSHNNSVug-CQ',
|
||||
facebook: 'https://www.facebook.com/viewps1/',
|
||||
instagram: 'https://www.instagram.com/viewplastic/',
|
||||
gangnamUnni: 'https://www.gangnamunni.com/hospitals/189',
|
||||
naverPlace: '',
|
||||
naverBlog: '',
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -109,7 +115,7 @@ function validateField(value: string, expected: ChannelKey): 'empty' | 'valid' |
|
||||
}
|
||||
|
||||
export default function MultiChannelInput({ variant = 'hero', onAnalyze }: MultiChannelInputProps) {
|
||||
const [urls, setUrls] = useState<ChannelUrlInputs>(EMPTY_URLS);
|
||||
const [urls, setUrls] = useState<ChannelUrlInputs>(DEFAULT_URLS);
|
||||
|
||||
// 통합 분류 결과 — 7개 필드 값을 join해 classifyUrls에 한 번에 통과시켜 manualChannels 구성.
|
||||
const aggregated = useMemo(() => {
|
||||
|
||||
Reference in new issue
Block a user