import NextAuth, { DefaultSession } from 'next-auth';

export type AuthenticatedUser = {
  id: string;
} & DefaultSession['user'];

declare module 'next-auth' {
  interface Session {
    user: AuthenticatedUser
  }
}