chore(web-ui): regen api types — document-generation endpoints (#214) #387
Reference in New Issue
Block a user
Delete Branch "worktree-regen-api-types-214"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
מה ולמה
Production מגישה כעת 2 endpoints חדשים להפקת-מסמכים (נפרסו עם #214/#386) שלא היו ב-
web-ui/src/lib/api/types.ts. הרצתיnpm run api:types(מושך את ה-OpenAPI מ-PROD:https://legal-ai.nautilus.marcusgroup.org/openapi.json) כדי ליישר את ה-generated client למשטח הפרוס.הרגנרציה הוסיפה 3 paths (תוספות בלבד, פלט-גנרטור — לא ערוך-יד):
POST /api/cases/{case_number}/generate/party-claims-summary(#214)POST /api/cases/{case_number}/generate/interim-draft(#214)/api/status-model(drift שהצטבר מאז הרגנרציה האחרונה)Invariants — הצהרה (חובה)
openapi-typescriptבלבד; לא נגעתי ידנית בקובץ המגונרט.צ'קליסט — פרוטוקול כתיבת-קוד
docs/spec/00-constitution.md+ ספ-התחום הרלוונטי (X6) לפני הכתיבהdocs/spec/gap-audit.md— לא נגעתי ב-GAP/FU ממופהnpx tsc --noEmitcleanאימות
npm run api:types(מ-web-ui/) — משך OpenAPI מ-PROD, כתב מחדש אתsrc/lib/api/types.ts.git diff— +148 שורות, תוספות בלבד (0 הסרות), 3 paths חדשים.npx tsc --noEmit— עובר נקי (exit 0). הרצתי tsc בלבד (לאnext build) כי symlink של node_modules ב-worktree שובר Turbopack.🤖 Generated with Claude Code