source: global.d.ts@ fdd776b

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

Add schema

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