migrate auth v2 code

This commit is contained in:
JCEEE
2026-08-16 10:11:39 +01:00
parent 3dd94b8a7c
commit c73ced7894
45 changed files with 1965 additions and 1519 deletions
+4 -12
View File
@@ -1,20 +1,12 @@
import { PocketBase } from 'pocketbase';
import type { Session } from './lib/types';
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
import type { SessionUser } from './lib/server/types';
declare global {
namespace App {
// interface Error {}
interface Locals {
pb: PocketBase;
session?: Session | null;
user: SessionUser | null;
pbToken: string | null;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};
export {};