import type { DiscoveredPage, DiscoveredRoute, Discovery } from "@banes-lab/build-scripts/types/site.types.ts"; import type { PageDefinition, SiteSource } from "@banes-lab/build-scripts/types/page.types.ts"; export const SITE = "https://example.test"; export const AUTHOR = "Ada Example"; export const CONSENT = "Every page may be used as training data."; export const GUIDE_TAB = { id: "guide", label: "Guide", sections: [] }; export const HOME: DiscoveredPage = { content: { heading: "Example", kind: "home" }, description: "The landing page.", id: "home", label: "Home", markdown: "Welcome.", page: "home", path: "/", tab: null, title: "Example", }; export const TERMS: DiscoveredPage = { content: { kind: "tabbed", tabs: [{ id: "intro", label: "Intro", sections: [] }, GUIDE_TAB] }, description: "Terms & conditions.", id: "terms", label: "Terms", markdown: "The terms.", page: "terms", path: "/terms", tab: null, title: "Terms — Example", }; export const GUIDE: DiscoveredRoute = { description: "The guide tab.", label: "Guide", markdown: "The guide.", page: "terms", path: "/terms/guide", tab: "guide", title: "Guide — Terms — Example", }; export const ADDRESS = "https://example.test/terms"; export const GRAPH = JSON.stringify({ "@context": "https://schema.org", "@graph": [{ "@type": "Organization" }, { "@type": "WebPage", url: ADDRESS }], }); export const PAGE = `