mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 14:04:50 +00:00
* feat(comments): add printable comments page with frame thumbnails and markup overlays * fix(comments): guarantee frame-accurate ffmpeg seeking for printable comment thumbnails * fix(comments): address printable comments review findings
12 lines
341 B
TypeScript
12 lines
341 B
TypeScript
import { createFileRoute } from '@tanstack/react-router'
|
|
|
|
export const Route = createFileRoute('/print/comments/$assetId')({
|
|
validateSearch: (search: Record<string, unknown>) => {
|
|
return {
|
|
shareId: typeof search.shareId === 'string' && search.shareId ? search.shareId : undefined,
|
|
} as {
|
|
shareId?: string
|
|
}
|
|
},
|
|
})
|