mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 04:29:24 +00:00
17 lines
435 B
TypeScript
17 lines
435 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,
|
|
hasAiBots: true,
|
|
},
|
|
}
|