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]>
16 lines
285 B
TypeScript
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;
|
|
}
|
|
}
|