import { generateEditorData } from "https://deno.land/x/live@0.3.29/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
(req: Request, pageId: string | null) => Promise<EditorData>