import { QuartzComponent, QuartzComponentConstructor } from "./types" export type GameCultGraphSpaShellOptions = { stylesheetHref: string moduleSrc: string rootClassName?: string config?: { title?: string architectureDescription?: string layoutMode?: | "layered" | "stress" | "force" | "combined-force" | { architecture?: "layered" | "stress" | "force" | "combined-force" dataflow?: "layered" | "stress" | "force" | "combined-force" } allowedSlugPrefixes?: string[] blockedSlugPrefixes?: string[] blockedPathSegments?: string[] sectionOrder?: string[] } } export default ((options?: Partial) => { const shellOptions: GameCultGraphSpaShellOptions = { stylesheetHref: "/static/epiphany-graph/assets/viewer.css", moduleSrc: "/static/epiphany-graph/assets/viewer.js", rootClassName: "gamecult-epiphany-graph-root", ...options, } const GameCultGraphSpaShell: QuartzComponent = () => ( <>
) return GameCultGraphSpaShell }) satisfies QuartzComponentConstructor | undefined>