syncova-policies/types/next-auth.d.ts
Weapie 265ca8ac38
All checks were successful
Container-Image bauen und veröffentlichen / build-and-push (push) Successful in 5m15s
Improve accessibility and access controls; verify production and database recovery
2026-09-14 11:44:41 +02:00

22 lines
339 B
TypeScript

import { DefaultSession } from "next-auth"
declare module "next-auth" {
interface Session {
issuedAt?: number
user: {
id: string
role: string
} & DefaultSession["user"]
}
interface User {
role: string
}
}
declare module "next-auth/jwt" {
interface JWT {
issuedAt?: number
role: string
}
}