refactor: flatten monorepo into standalone project

This commit is contained in:
2026-04-01 19:43:21 +08:00
parent 036afb8d20
commit cd7b65fda4
68 changed files with 339 additions and 2273 deletions
@@ -0,0 +1,11 @@
import { os } from '@/server/api/server'
import { getDB } from '@/server/db'
export const db = os.middleware(async ({ context, next }) => {
return next({
context: {
...context,
db: getDB(),
},
})
})