Render the forum shell, resources and contacts on the server

This commit is contained in:
dtonon 2026-08-17 13:25:44 +01:00
parent a7b5d8f223
commit 40e0be35d9
16 changed files with 259 additions and 30 deletions

8
src/app.d.ts vendored
View file

@ -1,10 +1,16 @@
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
import type { ForumShell, Profiles } from "$lib/forum/snapshot";
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// Server-rendered snapshots; null in the browser and in client-only builds
interface PageData {
shell?: ForumShell | null;
profiles?: Profiles | null;
}
// interface PageState {}
// interface Platform {}
}