12345678910111213141516 |
- export interface AppSession {
- userId?: string;
- }
- export interface PageData {
- host: string;
- path: string;
- params: Record<string, unknown>;
- query: Record<string, unknown>;
- }
- export interface PreloadContext {
- fetch: (url: string, opts?: any) => any;
- redirect: (statusCode: number, location: string) => unknown;
- error: (status: number, error: Error | string) => unknown;
- }
|