Files
EpicNext-Cms/src/types/next-auth.d.ts
T
simoleo89andCursor 803e8f36c1 feat: shop buy, forum replies, tickets, messages, sessions, and UX hardening
Complete remaining product gaps: credit-based shop purchases, guild thread replies, help ticket detail/reply/close, offline message compose, sign-out-everywhere via JWT version, ads delete confirm, soft-fail feedback, rate limits, loading states, and single auth() in site layout.

Co-authored-by: Cursor <[email protected]>
2026-07-21 21:21:02 +02:00

16 lines
285 B
TypeScript

import type { DefaultSession } from "next-auth";
declare module "next-auth" {
interface Session {
user: { id: string; rank: number } & DefaultSession["user"];
}
}
declare module "next-auth/jwt" {
interface JWT {
rank?: number;
jwtVersion?: number;
invalid?: boolean;
}
}