feat(db): Drizzle DAL with withUser/asAdmin GUC wrapper (Phase 2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 15:50:57 +08:00
co-authored by Claude Sonnet 4.6
parent e5fd2436fa
commit a95273b182
9 changed files with 1640 additions and 2 deletions
+4
View File
@@ -15,11 +15,13 @@
"@anthropic-ai/sdk": "^0.111.0",
"@supabase/ssr": "^0.12.0",
"@supabase/supabase-js": "^2.110.2",
"drizzle-orm": "^0.45.2",
"file-type": "^22.0.1",
"idb": "^8.0.3",
"next": "^15.5.20",
"openai": "^6.46.0",
"pdf-lib": "^1.17.1",
"pg": "^8.22.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"resend": "^6.17.2"
@@ -29,10 +31,12 @@
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^20",
"@types/pg": "^8.20.0",
"@types/qrcode": "^1.5.6",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitejs/plugin-react": "^6.0.3",
"drizzle-kit": "^0.31.10",
"eslint": "^9",
"eslint-config-next": "16.2.10",
"jsdom": "^29.1.1",