Skip to main content
Module

x/live/pages.ts>generateEditorData

The edge-native DXP: build and evolve an editable ultra-fast site powered by deno, fresh and tailwind. Optimized for "time-to-go-live".
Very Popular
Go to Latest
variable generateEditorData
import { generateEditorData } from "https://deno.land/x/live@0.7.2-beta.1/pages.ts";

Based on data from the backend and the page's manifest, generates all the necessary information for the CMS

TODO: After we approve this, move this function elsewhere

type

<Data = unknown>(
req: Request,
options: PageOptions,
) => Promise<EditorData>