mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 04:57:12 +00:00
* feat(webui): use project members for asset comment mentions * refactor(project): remove legacy unused bots endpoint and props
16 lines
414 B
TypeScript
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,
|
|
},
|
|
}
|