Initial commit
This commit is contained in:
commit
b344a74a72
45 changed files with 1232 additions and 0 deletions
12
pages/PageContext.ts
Normal file
12
pages/PageContext.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import type { User } from "lucia";
|
||||
|
||||
// https://vike.dev/pageContext#typescript
|
||||
declare global {
|
||||
namespace Vike {
|
||||
interface PageContext {
|
||||
auth: User;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
Loading…
Add table
Add a link
Reference in a new issue