generated from pascalmartineau/wp-skeleton
feat: better user switching code
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s
This commit is contained in:
2
wp-content/themes/ccat/shared/auth.d.ts
vendored
2
wp-content/themes/ccat/shared/auth.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user