Added User List table

This commit is contained in:
2026-01-20 22:21:06 +07:00
parent 1423d8af53
commit e02564b5cd
45 changed files with 1866 additions and 292 deletions

15
src/types/db.d.ts vendored
View File

@@ -1,7 +1,14 @@
import { Audit, User } from '@prisma/client';
import { Prisma } from '@/generated/prisma/client';
declare global {
type AuditLog = Audit & {
user: User;
};
type AuditWithUser = Prisma.AuditGetPayload<{
include: {
user: {
select: {
id: true;
name: true;
};
};
};
}>;
}