mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Implement authentication
This commit is contained in:
parent
cdcd71cf2a
commit
3e4551ea7a
23 changed files with 656 additions and 406 deletions
7
src/env.d.ts
vendored
7
src/env.d.ts
vendored
|
|
@ -1 +1,8 @@
|
|||
/// <reference path="../.astro/types.d.ts" />
|
||||
declare namespace App {
|
||||
// Note: 'import {} from ""' syntax does not work in .d.ts files.
|
||||
interface Locals {
|
||||
session: import('./src/utils/session').Session | null
|
||||
user: import('./src/utils/session').User | null
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue