@moontra/moonui-pro
Version:
Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components
21 lines (19 loc) • 409 B
TypeScript
import { DefaultSession } from "next-auth";
declare module "next-auth" {
interface User {
id: string;
email?: string | null;
name?: string | null;
image?: string | null;
role?: string;
subscription?: {
status: string;
plan?: string;
currentPeriodEnd?: string;
expiresAt?: string;
};
}
interface Session extends DefaultSession {
user: User;
}
}