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
+1 -1
View File
@@ -1,6 +1,6 @@
import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest'
import { Hono } from 'hono'
import { AuditAction } from '@shumai/db'
import { AuditAction } from '@shumai/dtos'
import teamRoute from './team'
import { authMiddleware } from './middleware/auth'
import { teamService } from '@shumai/core/src/team/team'