// import { Prisma } from "prisma/generated/postgres/client";
// import { LeaveRequestViewDto } from "src/time-and-attendance/leave-requests/dtos/leave-request-view.dto";
// import { mapArchiveRowToView } from "src/time-and-attendance/leave-requests/mappers/leave-requests-archive.mapper";
// import { mapRowToView } from "src/time-and-attendance/leave-requests/mappers/leave-requests.mapper";
// import { LeaveRequestArchiveRow } from "src/time-and-attendance/leave-requests/utils/leave-requests-archive.select";
// import { leaveRequestsSelect } from "src/time-and-attendance/utils/selects.utils";

// export type LeaveRequestRow = Prisma.LeaveRequestsGetPayload<{ select: typeof leaveRequestsSelect}>;

// /** Active (table leave_requests) : proxy to base mapper */
// export function mapRowToViewWithDays(row: LeaveRequestRow): LeaveRequestViewDto {
//   return mapRowToView(row);
// }

// /** Archive (table leave_requests_archive) : proxy to base mapper */
// export function mapArchiveRowToViewWithDays(
//   row: LeaveRequestArchiveRow,
//   email: string,
//   employee_full_name?: string,
// ): LeaveRequestViewDto {
//   return mapArchiveRowToView(row, email, employee_full_name!);
// }