2
0
Files
2024-08-09 00:39:27 +02:00

14 lines
349 B
TypeScript

import { z } from "zod";
import { stringOrNumber } from "@calcom/prisma/zod-utils";
export const ZUserInputSchema = z.object({
username: z.string(),
dateFrom: z.string(),
dateTo: z.string(),
eventTypeId: stringOrNumber.optional(),
withSource: z.boolean().optional(),
});
export type TUserInputSchema = z.infer<typeof ZUserInputSchema>;