Files
shumai/packages/webui/routes/print/comments/$assetId.tsx
T
Yiling-J 5a1655e4ef feat(comments): add printable comments page with frame thumbnails and markup overlays (#550)
* 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
2026-11-25 19:53:39 +08:00

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
}
},
})