Files
estimation-flow/src/lib/types.ts
T

21 lines
368 B
TypeScript
Raw Normal View History

2025-07-17 11:12:35 +00:00
export interface User {
id: number;
email: string;
password?: string; // Should be handled securely, not sent to client
name: string;
}
// Augment the default NextAuth session and user types
declare module 'next-auth' {
interface Session {
user: {
id: string;
} & DefaultSession['user'];
}
interface User {
id: string;
}
}