MCPcopy Create free account
hub / github.com/arctic-cli/interface / getPageImage

Function getPageImage

packages/web/lib/source.ts:12–19  ·  view source on GitHub ↗
(page: InferPageType<typeof source>)

Source from the content-addressed store, hash-verified

10});
11
12export 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
21export async function getLLMText(page: InferPageType<typeof source>) {
22 const processed = await (page.data as any).getText('processed');

Callers 2

generateMetadataFunction · 0.90
generateStaticParamsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected