import { Member as PrismaMember, MemberRole } from "@prisma/client";

export { MemberRole };

export interface Member extends PrismaMember {
  name?: string | null;
  email: string;
  imageUrl?: string | null;
}

export interface MemberWithUser extends PrismaMember {
  user: {
    id: string;
    name: string | null;
    email: string;
    image: string | null;
  };
}
