export interface User {
  id: string;
  email: string;
  userName: string;
  passwordHash?: string;
  createdAt?: Date;
  updatedAt?: Date;
}

export interface CreateUserDTO {
  email: string;
  userName: string;
  password: string;
}

export interface LoginDTO {
  identifier: string;
  password: string;
}

export interface AuthResponse {
  user: Omit<User, "passwordHash">;
  accessToken: string;
  refreshToken?: string;
}
