feat: better user switching code
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s

This commit is contained in:
2025-09-15 12:47:28 -04:00
parent 98876f23b8
commit 0fc62d25c3
6 changed files with 53 additions and 53 deletions

View File

@@ -1,11 +1,13 @@
// auth.d.ts
declare module "#auth-utils" {
interface User {
id: number;
email: string;
}
interface UserSession {
loggedInAt: string;
switchedBy?: number;
}
interface SecureSessionData {