refactor(dtos): define AuditAction enum in dtos package to decouple from db

This commit is contained in:
yiling
2026-08-01 15:28:23 +08:00
parent 2d61fae699
commit b0d8ecb589
18 changed files with 75 additions and 71 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { describe, it, expect } from 'vitest'
import { prisma, AuditAction } from '@shumai/db'
import { prisma } from '@shumai/db'
import { AuditAction } from '@shumai/dtos'
import { setupTestDbHooks } from '@shumai/db/test'
import { auditLogService } from './auditLog'