(page: InferPageType<typeof source>)
| 10 | }); |
| 11 | |
| 12 | export function getPageImage(page: InferPageType<typeof source>) { |
| 13 | const segments = [...page.slugs, 'image.png']; |
| 14 | |
| 15 | return { |
| 16 | segments, |
| 17 | url: `/og/docs/${segments.join('/')}`, |
| 18 | }; |
| 19 | } |
| 20 | |
| 21 | export async function getLLMText(page: InferPageType<typeof source>) { |
| 22 | const processed = await (page.data as any).getText('processed'); |
no outgoing calls
no test coverage detected