mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 06:24:30 +00:00
feat(transcode): add PDF proxy support for TXT and CSV files
This commit is contained in:
@@ -5,7 +5,7 @@ import { CompareImagePane } from './compare-image-pane'
|
||||
export const imageTypeDefinition: FileTypeDefinition = {
|
||||
id: 'image',
|
||||
name: 'Image',
|
||||
match: (file) => !!file.mediaType?.startsWith('image/'),
|
||||
match: (file) => file.proxyType === 'image',
|
||||
viewer: ImageViewer,
|
||||
comparePane: CompareImagePane,
|
||||
commentsConfig: {
|
||||
|
||||
Reference in New Issue
Block a user