mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-05 23:54:25 +00:00
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
This commit is contained in:
@@ -9,6 +9,5 @@ export const defaultTypeDefinition: FileTypeDefinition = {
|
||||
commentsConfig: {
|
||||
hasTimestamp: false,
|
||||
hasAnnotations: false,
|
||||
hasAiBots: false,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -11,6 +11,5 @@ export const imageTypeDefinition: FileTypeDefinition = {
|
||||
commentsConfig: {
|
||||
hasTimestamp: false,
|
||||
hasAnnotations: true,
|
||||
hasAiBots: true,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ export const pdfTypeDefinition: FileTypeDefinition = {
|
||||
commentsConfig: {
|
||||
hasTimestamp: true,
|
||||
hasAnnotations: true,
|
||||
hasAiBots: true,
|
||||
formatTimestamp: (second: number) => `P${Math.round(second)}`,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@ export interface FileTypeDefinition {
|
||||
commentsConfig?: {
|
||||
hasTimestamp?: boolean
|
||||
hasAnnotations?: boolean
|
||||
hasAiBots?: boolean
|
||||
formatTimestamp?: (second: number) => string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,5 @@ export const videoTypeDefinition: FileTypeDefinition = {
|
||||
commentsConfig: {
|
||||
hasTimestamp: true,
|
||||
hasAnnotations: true,
|
||||
hasAiBots: true,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user