mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-04 19:21:51 +00:00
24 lines
485 B
TypeScript
24 lines
485 B
TypeScript
import { DefaultSession } from "next-auth";
|
|
|
|
declare module "next-auth" {
|
|
interface User extends NextAuthUser {
|
|
name: string;
|
|
email: string;
|
|
company?: string;
|
|
dateJoined: string;
|
|
}
|
|
|
|
interface Session extends DefaultSession {
|
|
user: {
|
|
name: string;
|
|
email: string;
|
|
companyName?: string;
|
|
dateJoined: string;
|
|
} & DefaultSession["user"];
|
|
userId: string;
|
|
tenantId: string;
|
|
accessToken: string;
|
|
refreshToken: string;
|
|
}
|
|
}
|