mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* fix: wrong dates on OOO due to summer time * update styles * fix test * fix edit button
18 lines
469 B
TypeScript
18 lines
469 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZOutOfOfficeInputSchema = z.object({
|
|
uuid: z.string().nullish(),
|
|
forUserId: z.number().nullish(),
|
|
dateRange: z.object({
|
|
startDate: z.date(),
|
|
endDate: z.date(),
|
|
}),
|
|
startDateOffset: z.number(),
|
|
endDateOffset: z.number(),
|
|
toTeamUserId: z.number().nullable(),
|
|
reasonId: z.number(),
|
|
notes: z.string().nullable().optional(),
|
|
});
|
|
|
|
export type TOutOfOfficeInputSchema = z.infer<typeof ZOutOfOfficeInputSchema>;
|