added data table, formatter

revert context on __root beforeLoad
refactor project structure
refactor role badge
dynamic nav menu
This commit is contained in:
2026-01-14 09:35:46 +07:00
parent a44fa70500
commit edb4ebe11c
45 changed files with 1519 additions and 149 deletions

7
src/types/db.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
import { Audit, User } from '@prisma/client';
declare global {
type AuditLog = Audit & {
user: User;
};
}