Added auth!

This commit is contained in:
Sean Morley
2024-04-03 00:51:12 +00:00
parent 3fd6d021f7
commit 372db59211
18 changed files with 1887 additions and 20 deletions

11
src/app.d.ts vendored
View File

@@ -1,12 +1,9 @@
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
interface Locals {
user: import("lucia").User | null;
session: import("lucia").Session | null;
}
}
}