mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 04:44:28 +00:00
feat(webui): support custom timestamp formatting for PDF viewer comments (P9)
This commit is contained in:
@@ -10,5 +10,6 @@ export const pdfTypeDefinition: FileTypeDefinition = {
|
||||
hasTimestamp: true,
|
||||
hasAnnotations: true,
|
||||
hasAiBots: true,
|
||||
formatTimestamp: (second: number) => `P${Math.round(second)}`,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -49,5 +49,6 @@ export interface FileTypeDefinition {
|
||||
hasTimestamp?: boolean
|
||||
hasAnnotations?: boolean
|
||||
hasAiBots?: boolean
|
||||
formatTimestamp?: (second: number) => string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user