Render discussion listings and the room overview on the server
This commit is contained in:
parent
c23428f904
commit
2041f6b899
10 changed files with 175 additions and 11 deletions
9
src/app.d.ts
vendored
9
src/app.d.ts
vendored
|
|
@ -1,6 +1,11 @@
|
|||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
// for information about these interfaces
|
||||
import type { ForumShell, Profiles } from "$lib/forum/snapshot";
|
||||
import type {
|
||||
ForumShell,
|
||||
OverviewSnapshot,
|
||||
Profiles,
|
||||
ThreadsSnapshot,
|
||||
} from "$lib/forum/snapshot";
|
||||
import type { ThreadDetail } from "$lib/forum/thread";
|
||||
|
||||
declare global {
|
||||
|
|
@ -12,6 +17,8 @@ declare global {
|
|||
shell?: ForumShell | null;
|
||||
profiles?: Profiles | null;
|
||||
thread?: ThreadDetail | null;
|
||||
threads?: ThreadsSnapshot | null;
|
||||
overview?: OverviewSnapshot | null;
|
||||
}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue