cal.pub0.org/packages/trpc/server/routers/viewer/bookings/requestReschedule.schema.ts

9 lines
246 B
TypeScript

import { z } from "zod";
export const ZRequestRescheduleInputSchema = z.object({
bookingId: z.string(),
rescheduleReason: z.string().optional(),
});
export type TRequestRescheduleInputSchema = z.infer<typeof ZRequestRescheduleInputSchema>;