source: global.d.ts@ 8ee4553

main
Last change on this file since 8ee4553 was 8ee4553, checked in by Bati <no-reply@…>, 7 months ago

scaffold Vike app with Bati

  • Property mode set to 100644
File size: 570 bytes
Line 
1import { Session } from "@auth/core/types";
2import type { dbSqlite } from "./database/drizzle/db";
3
4declare module "telefunc" {
5 namespace Telefunc {
6 interface Context {
7 db: ReturnType<typeof dbSqlite>;
8 }
9 }
10}
11
12declare global {
13 namespace Vike {
14 interface PageContextServer {
15 db: ReturnType<typeof dbSqlite>;
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.