source: global.d.ts@ e09fe6f

main
Last change on this file since e09fe6f was c30935a, checked in by Tome <gjorgievtome@…>, 7 months ago

fix config

  • Property mode set to 100644
File size: 587 bytes
Line 
1import { Session } from "@auth/core/types";
2import type { Database } from "./database/drizzle/db";
3
4declare module "telefunc" {
5 namespace Telefunc {
6 interface Context {
7 db: Database;
8 session: Session | null;
9 request: Request;
10 }
11 }
12}
13
14declare global {
15 namespace Vike {
16 interface PageContextServer {
17 db: Database;
18 }
19 }
20}
21
22declare global {
23 namespace Vike {
24 interface PageContext {
25 session?: Session | null;
26 }
27 }
28}
29
30// biome-ignore lint/complexity/noUselessEmptyExport: ensure that the file is considered as a module
31export {};
Note: See TracBrowser for help on using the repository browser.