Omnibus v1.1.0-beta.045
·
5 commits
to main
since this release
v1.1.0-beta.045 - fix(koreader): move authenticateKoreader out of the route file
🧹 Tech debt (pre-existing on main; surfaced by the build during the back-port)
- Next.js App Router route files may only export HTTP method handlers + segment config; koreader/users/auth/route.ts also exported the authenticateKoreader helper, which trips Next's generated route-type validator (tsc TS2344) — masked only by next.config's typescript.ignoreBuildErrors
- Moved authenticateKoreader to src/lib/koreader-auth.ts; the route imports it and now exports only GET
✅ Verification
- next build clean (regenerates .next/types); tsc --noEmit clean against the regenerated validator; vitest unaffected