source: global.d.ts@ ad211d1

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

fix config

  • Property mode set to 100644
File size: 587 bytes
RevLine 
[8ee4553]1import { Session } from "@auth/core/types";
[c30935a]2import type { Database } from "./database/drizzle/db";
[8ee4553]3
4declare module "telefunc" {
5 namespace Telefunc {
6 interface Context {
[c30935a]7 db: Database;
8 session: Session | null;
9 request: Request;
[8ee4553]10 }
11 }
12}
13
14declare global {
15 namespace Vike {
16 interface PageContextServer {
[c30935a]17 db: Database;
[8ee4553]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.