Files
shumai/packages/webui/components/viewers/image/index.tsx
T
Yiling-J dd82daf65c feat(webui): use project members for asset comment mentions (#315)
* feat(webui): use project members for asset comment mentions

* refactor(project): remove legacy unused bots endpoint and props
2026-08-16 16:44:50 +08:00

16 lines
414 B
TypeScript

import { FileTypeDefinition } from '../types'
import ImageViewer from './image-viewer'
import { CompareImagePane } from './compare-image-pane'
export const imageTypeDefinition: FileTypeDefinition = {
id: 'image',
name: 'Image',
match: (file) => file.proxyType === 'image',
viewer: ImageViewer,
comparePane: CompareImagePane,
commentsConfig: {
hasTimestamp: false,
hasAnnotations: true,
},
}