admin / Synapse-Sonar
publicAttack Surface Simulation
Synapse-Sonar / synapse-sonar / types / next-auth.d.ts
398 B · main
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | import { Role } from "@prisma/client"; import "next-auth"; declare module "next-auth" { interface Session { user: { id: string; username: string; email?: string | null; name?: string | null; tenantId: string; role: Role; }; } } declare module "next-auth/jwt" { interface JWT { tenantId?: string; role?: Role; username?: string; } } |