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
RevLine 
[8ee4553]1import { Session } from "@auth/core/types";
[fdd776b]2import type { db } from "./database/drizzle/db";
[8ee4553]3
4declare module "telefunc" {
5 namespace Telefunc {
6 interface Context {
[fdd776b]7 db: ReturnType<typeof db>;
[8ee4553]8 }
9 }
10}
11
12declare global {
13 namespace Vike {
14 interface PageContextServer {
[fdd776b]15 db: ReturnType<typeof db>;
[8ee4553]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.