

scheduleInterview.mutate({
employeeId,
startTime: dayjs(dateTime).toDate(),
});export const ScheduleInterviewSchema = z.object({
employeeId: z.string().nonempty(),
startTime: z.date(),
}); transformer: superjson,
{
"0": {
"json": {
"employeeId": "clm8uz2zd0000mc2hucjj3czl",
"startTime": "2023-09-07T15:22:00.000Z"
},
"meta": {
"values": {
"startTime": [
"Date"
]
}
}
}
}