cal.pub0.org/packages/trpc/server/routers/viewer/availability/schedule/getScheduleByUserId.schema.ts

8 lines
194 B
TypeScript

import { z } from "zod";
export const ZGetByUserIdInputSchema = z.object({
userId: z.optional(z.number()),
});
export type TGetByUserIdInputSchema = z.infer<typeof ZGetByUserIdInputSchema>;