candle-annotator/src/app/api
Marko Djordjevic 3e242c3359 Migrate middleware.ts to proxy.ts for Next.js 16 and fix build errors
Next.js 16 renamed middleware to proxy. Merged session-based auth and
API key auth into a single proxy.ts. Also fixed: auth route handler
exports, missing card component, Button asChild type errors, signIn
return type, Drizzle eq() type narrowing, and useSearchParams suspense
boundary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 21:52:38 +01:00
..
annotation-types Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00
annotations Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00
auth Migrate middleware.ts to proxy.ts for Next.js 16 and fix build errors 2026-02-20 21:52:38 +01:00
candles Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00
charts Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00
export Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00
health fix: replace error.message with generic "Internal server error" in all API catch blocks 2026-02-18 11:16:02 +01:00
model Add X-User-ID header to all FastAPI ML service proxy routes 2026-02-20 13:12:25 +01:00
patterns Add X-User-ID header to all FastAPI ML service proxy routes 2026-02-20 13:12:25 +01:00
predict Add X-User-ID header to all FastAPI ML service proxy routes 2026-02-20 13:12:25 +01:00
span-annotations Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00
span-label-types Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00
training Add X-User-ID header to all FastAPI ML service proxy routes 2026-02-20 13:12:25 +01:00
upload Scope all Drizzle queries by user_id from authenticated session 2026-02-20 13:08:09 +01:00