Files
EpicNext-Cms/src/types/next-auth.d.ts
T
SimoandCursor 968ca15c27
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m33s
feat: jwt cache, redis health, help-ticket admin, and write rate limits
Cut Auth.js DB load with cached jwtVersion checks, surface Redis in /api/health and deploy warnings, add admin help-center ticket reply UI, rate-limit API tickets/reactions/referral claims, and revoke PATs on sign-out-everywhere.

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

17 lines
310 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;
jwtCheckedAt?: number;
invalid?: boolean;
}
}