aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/server/middleware/auth.test.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-03 06:05:33 +0900
committernsfisis <nsfisis@gmail.com>2025-12-04 23:26:34 +0900
commitdbcfe8a98e46e15fe951e5e98c68fd6ac8bde1b3 (patch)
tree5780b2d0b0f32735477ff8f1f3308720d059ce67 /src/server/middleware/auth.test.ts
parent20f159abf06599bc8902a445be21d4c085d82ede (diff)
downloadkioku-dbcfe8a98e46e15fe951e5e98c68fd6ac8bde1b3.tar.gz
kioku-dbcfe8a98e46e15fe951e5e98c68fd6ac8bde1b3.tar.zst
kioku-dbcfe8a98e46e15fe951e5e98c68fd6ac8bde1b3.zip
refactor(auth): introduce repository pattern for database access
Add repository types and implementations to abstract database operations, improving testability and separation of concerns. The auth routes now use dependency injection with UserRepository and RefreshTokenRepository interfaces, making tests simpler by mocking interfaces instead of Drizzle query builders. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'src/server/middleware/auth.test.ts')
0 files changed, 0 insertions, 0 deletions