Commit b2c1f07
fix(docs): make OpenRouter duration snippet self-contained for kiira doc type-check
The new kiira doc-typecheck (#805) type-checks fenced TS samples. The OpenRouter
snapDuration snippet referenced generateVideo/openRouterVideo/sliderSeconds
without imports or a declaration; add them so the snippet type-checks standalone.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 38b8fe9 commit b2c1f07
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
816 | 819 | | |
817 | 820 | | |
818 | 821 | | |
819 | 822 | | |
820 | 823 | | |
821 | 824 | | |
| 825 | + | |
822 | 826 | | |
823 | 827 | | |
824 | 828 | | |
825 | | - | |
| 829 | + | |
826 | 830 | | |
827 | 831 | | |
828 | 832 | | |
| |||
0 commit comments