feat(api): remove mediaType and mimeType from DTO responses and DB MediaInfo interface

This commit is contained in:
yiling
2026-07-20 14:37:17 +08:00
parent 5d4020dc2d
commit 3afe0fc3c3
19 changed files with 37 additions and 48 deletions
@@ -401,7 +401,6 @@ export class NotificationService {
info.asset = {
id: a.id,
name: a.name,
mediaType: a.mediaType || undefined,
proxyType: (a.media as PrismaJson.MediaInfo | null)?.proxyType || undefined,
preview: previewUrl || undefined,
thumbnailUrl: thumbnailUrl || undefined,