feat(transcode): add PDF proxy support for TXT and CSV files

This commit is contained in:
yiling
2026-07-19 21:19:43 +08:00
parent 817889e501
commit 081dbf6d39
21 changed files with 558 additions and 24 deletions
+2 -2
View File
@@ -236,7 +236,7 @@ describe('UploadService', () => {
})
const asset = await prisma.asset.create({
data: {
name: 'file.txt',
name: 'file.json',
type: AssetType.file,
project: { connect: { id: projectId } },
parent: { connect: { id: parentId } },
@@ -247,7 +247,7 @@ describe('UploadService', () => {
create: { key: 'test-key' },
},
},
mediaType: 'text/plain',
mediaType: 'application/json',
},
})