generated from pascalmartineau/wp-skeleton
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s
20 lines
283 B
TypeScript
20 lines
283 B
TypeScript
// auth.d.ts
|
|
declare module "#auth-utils" {
|
|
interface User {
|
|
id: number;
|
|
email: string;
|
|
}
|
|
|
|
interface UserSession {
|
|
loggedInAt: string;
|
|
switchedBy?: number;
|
|
}
|
|
|
|
interface SecureSessionData {
|
|
authToken: string;
|
|
refreshToken: string;
|
|
}
|
|
}
|
|
|
|
export { };
|