fix(asset): resolve DTO schema and test typecheck errors for proxyType

This commit is contained in:
yiling
2026-07-20 10:46:20 +08:00
parent f158d04686
commit fea153e94f
4 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -181,7 +181,8 @@ describe('ChatService', () => {
name: 'doc.jpg',
type: 'file',
mediaType: 'image/jpeg',
media: { proxyType: 'image' },
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- partial MediaInfo mock for testing
media: { proxyType: 'image' } as any,
status: 'processed',
projectId: project.id,
parentId: childFolder.id,