Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | import type express from 'express' import type multer from 'multer' import { registerAIEditRoutes } from './ai-edit' import { registerAIEditorTrackingRoutes } from './ai-editor-tracking' import { registerConfigRoutes } from './config' import { registerImageComparisonRoutes } from './image-comparison' import { registerInfoCollectionRoutes } from './info-collection' import { registerLogsRoutes } from './logs' import { registerProjectRoutes } from './project' import { registerRequirementAnalysisRoutes } from './requirement-analysis' import { registerHealthAndSSE } from './sse' import { registerSSEDiagnostics } from './sse-diagnostics' import { registerTaskRoutes } from './tasks' import { registerTemplateSelectionRoutes } from './template-selection' import { registerTestAutomationRoutes } from './test-automation' import { registerTodoManagementRoutes } from './todo-management' import { registerUserInfoRoutes } from './user-info' import { registerWorkspaceRoutes } from './workspace' import { registerWorkspaceAnalysisRoutes } from './workspace-analysis' export function registerAllRoutes(ctx: { app: express.Express, upload: multer.Multer, actualPort: number }) { const { app, upload, actualPort } = ctx registerHealthAndSSE(app) registerProjectRoutes(app, actualPort) registerConfigRoutes(app, actualPort) registerWorkspaceRoutes(app) registerAIEditRoutes(app, upload) registerWorkspaceAnalysisRoutes(app) registerAIEditorTrackingRoutes(app) registerInfoCollectionRoutes(app) registerImageComparisonRoutes(app, actualPort) registerTestAutomationRoutes(app, actualPort) registerTodoManagementRoutes(app) registerTemplateSelectionRoutes(app) registerRequirementAnalysisRoutes(app) registerTaskRoutes(app) registerLogsRoutes(app) registerSSEDiagnostics(app) registerUserInfoRoutes(app) } |