Files
AIclinicalresearch/backend/src/common/health/index.ts
HaHafeng 88cc049fb3 feat(asl): Complete Day 5 - Fulltext Screening Backend API Development
- Implement 5 core API endpoints (create task, get progress, get results, update decision, export Excel)
- Add FulltextScreeningController with Zod validation (652 lines)
- Implement ExcelExporter service with 4-sheet report generation (352 lines)
- Register routes under /api/v1/asl/fulltext-screening
- Create 31 REST Client test cases
- Add automated integration test script
- Fix PDF extraction fallback mechanism in LLM12FieldsService
- Update API design documentation to v3.0
- Update development plan to v1.2
- Create Day 5 development record
- Clean up temporary test files
2025-11-23 10:52:07 +08:00

38 lines
651 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 健康检查统一导出
*
* 提供SAE健康检查端点用于存活和就绪探测。
*
* @module health
*
* @example
* ```typescript
* import { registerHealthRoutes } from '@/common/health'
* import Fastify from 'fastify'
*
* const app = Fastify()
*
* // 注册健康检查路由
* await registerHealthRoutes(app)
*
* // SAE配置示例
* // - Liveness Probe: GET /health/liveness (每10秒检查一次)
* // - Readiness Probe: GET /health/readiness (每5秒检查一次)
* ```
*/
export { registerHealthRoutes } from './healthCheck.js'
export type { HealthCheckResponse } from './healthCheck.js'