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
-2
View File
@@ -31,7 +31,6 @@ export const sampleVideoAsset: AssetInfo = {
fileCount: 1,
type: 'file',
status: 'ready',
mediaType: 'video',
proxyType: 'video',
createdAt: '2024-01-01T00:00:00.000Z',
updatedAt: '2024-01-01T00:00:00.000Z',
@@ -151,7 +150,6 @@ export const sampleAudioAsset: AssetInfo = {
...sampleVideoAsset,
id: 'e2e-sample-audio-asset',
name: 'sample-audio.mp4',
mediaType: 'audio/mp4',
proxyType: 'audio',
media: {
proxyType: 'audio',