feat(supporters): 승인 UI·입력 반영·워커 — §7-5 ClinicInputsPanel + supporter_builds/inputs 마이그레이션 + apply_inputs, §12-2 상단 고지·개설자 승인·색인 빌드 필터, §7-6 워커 E2E(뷰성형외과 URL → 5편 → 게이트 0오류)
- 게이트: DISCLOSURE_TOP_MISSING, APPROVED_*, UNAPPROVED_IN_INDEXABLE_BUILD, PRESS_VOICE 규칙화, 픽스처 추가 (16/16) - 생성기: --site 옵션, 병원 확인 답변(clinicAnswers) 근거 [A] - default_briefs.mjs 첫 배치 자동 기획, workers/supporters-build/run.mjs - 랜딩: SAMPLE REPORT 라벨 "실제 사례"로 (haewon 지시) - v2 §11-6·§11-7 기록, E2E 리포트 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
64a3bce9a3
commit
7e515b70ae
56 files changed
+2530
-41
No files matched your search
@@ -15,6 +15,11 @@ export const CATEGORY_LABELS: Record<string, string> = {
|
||||
|
||||
export { fact, authors, site };
|
||||
|
||||
/** 지원 관계 고지(글 첫 부분). site.sponsorNotice 가 비어 있으면 상단 고지를 렌더하지 않는다(v2 §12-2, haewon 승인 후 켠다). */
|
||||
export const SPONSOR_NOTICE: string = (site as AnyRec).sponsorNotice || '';
|
||||
/** 색인 허용 빌드에서는 개설자 게시 승인(approvedAt)이 있는 글만 낸다. 미리보기(noindex)는 전부. */
|
||||
export const isPublishable = (p: { data: { approvedAt?: string } }): boolean => !INDEXABLE || has(p.data.approvedAt);
|
||||
|
||||
/** 비어 있으면 PENDING. 화면 표시용. */
|
||||
export const v = (x: unknown, fallback: string = PENDING): string => (x === null || x === undefined || x === '' ? fallback : String(x));
|
||||
/** 비어 있지 않은 값만. 스키마·링크용. */
|
||||
|
||||
Reference in new issue
Block a user