- Unify API: lib/api.ts uses /api/v1, inbox uses /api/inbox (rewrites) - Remove localhost refs: openapi, inbox page - Add rewrites: /api/inbox|tmc -> inbox-server, /api/v1 -> FastAPI - Add stub routes: knowledge/insights, recommendations, search, log-error - Transfer from PAPA: prompts (inspection, tmc), scripts, supabase, data/tmc-requests - Fix inbox-server: ORDER BY created_at, package.json - Remove redundant app/api/inbox/files route (rewrites handle it) - knowledge/ in gitignore (large PDFs) Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1.3 KiB
Python
39 lines
1.3 KiB
Python
from .health import router as health_router
|
|
from .organizations import router as organizations_router
|
|
from .aircraft import router as aircraft_router
|
|
from .cert_applications import router as cert_applications_router
|
|
from .attachments import router as attachments_router
|
|
from .notifications import router as notifications_router
|
|
from .ingest import router as ingest_router
|
|
from .airworthiness import router as airworthiness_router
|
|
from .modifications import router as modifications_router
|
|
from .users import router as users_router
|
|
from .legal import router as legal_router
|
|
from .risk_alerts import router as risk_alerts_router
|
|
from .checklists import router as checklists_router
|
|
from .checklist_audits import router as checklist_audits_router
|
|
from .inbox import router as inbox_router
|
|
from .tasks import router as tasks_router
|
|
from .audit import router as audit_router
|
|
|
|
__all__ = [
|
|
"health_router",
|
|
"organizations_router",
|
|
"aircraft_router",
|
|
"cert_applications_router",
|
|
"attachments_router",
|
|
"notifications_router",
|
|
"ingest_router",
|
|
"airworthiness_router",
|
|
"modifications_router",
|
|
"users_router",
|
|
"legal_router",
|
|
"risk_alerts_router",
|
|
"checklists_router",
|
|
"checklist_audits_router",
|
|
"inbox_router",
|
|
"tasks_router",
|
|
"audit_router",
|
|
]
|
|
|