// import type { ShiftKey, ShiftPayload, ShiftSelectOption } from "../types/shift.types";

// export const toShiftPayload = (shift: any): ShiftPayload => ({ 
//     start_time: String(shift.start_time),
//     end_time:   String(shift.end_time),
//     type:       String(shift.type).toUpperCase() as ShiftKey,
//     is_remote:  !!shift.is_remote,
//     ...(shift.comment ? { comment: String(shift.comment) } : {}), 
// });

// export const buildShiftOptions = (
//     keys: readonly string[],
//     t:(k: string) => string
// ): ShiftSelectOption[] => 
//     keys.map((key) => ({
//         value: key as any,
//         label: t(`timesheet.shift.types.${key}`),
//     }));