Something went wrong. Try again.
A free, open-source, self-hosted place to write a novel.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829import type { auth } from '#lib/server/auth.ts';
type Session = typeof auth.$Infer.Session;
declare global { /** Injected by `vite.config.ts` from `package.json` and `APP_COMMIT`. */ const __BUILD_INFO__: { readonly version: string; readonly commit: string };
namespace App { interface Locals { user: (Session['user'] & { role?: string | null }) | undefined; session: Session['session'] | undefined; }
interface Error { message: string; status?: number; } }}
/* Vite serves a `?raw` import as the file's text; the writer's guide page uses it. */declare module '*?raw' { const content: string; export default content;}
export {};