Add application codebase: PDF annotation for e-Court

Next.js 14 + Drizzle/PostgreSQL + SSE realtime sync — highlight,
freehand, comment, bookmark + ฟีเจอร์ต่อยอด F1–F19 (edit/move, undo/redo,
shapes, redaction, export PDF/CSV, reply, resolve, search, summary,
textbox, stamp, version history)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-09-10 14:29:40 +07:00
parent 6fd0c3174f
commit eddcec28c7
60 changed files with 15055 additions and 0 deletions

16
vitest.config.ts Normal file
View file

@ -0,0 +1,16 @@
import path from "node:path";
import { defineConfig } from "vitest/config";
// Unit test เฉพาะ pure utils (ไม่มี DOM/DB — ดูรายละเอียดขอบเขตใน tests/utils/)
// alias "@" ให้ตรงกับ paths ใน tsconfig.json
export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname),
},
},
test: {
environment: "node",
include: ["tests/**/*.test.ts"],
},
});