MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getPageImage

Function getPageImage

apps/public/src/lib/source.ts:42–49  ·  view source on GitHub ↗
(page: InferPageType<typeof source>)

Source from the content-addressed store, hash-verified

40});
41
42export function getPageImage(page: InferPageType<typeof source>) {
43 const segments = [...page.slugs, 'image.png'];
44
45 return {
46 segments,
47 url: `/og/docs/${segments.join('/')}`,
48 };
49}
50
51export async function getLLMText(page: InferPageType<typeof source>) {
52 const processed = await page.data.getText('processed');

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected