cal.pub0.org/packages/trpc/server/routers/publicViewer/event.schema.ts

10 lines
226 B
TypeScript
Raw Normal View History

import z from "zod";
export const ZEventInputSchema = z.object({
username: z.string(),
eventSlug: z.string(),
isTeamEvent: z.boolean().optional(),
});
export type TEventInputSchema = z.infer<typeof ZEventInputSchema>;