cal.pub0.org/packages/trpc/server/routers/viewer/teams/getMemberAvailability.schem...

12 lines
306 B
TypeScript

import { z } from "zod";
export const ZGetMemberAvailabilityInputSchema = z.object({
teamId: z.number(),
memberId: z.number(),
timezone: z.string(),
dateFrom: z.string(),
dateTo: z.string(),
});
export type TGetMemberAvailabilityInputSchema = z.infer<typeof ZGetMemberAvailabilityInputSchema>;