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

9 lines
187 B
TypeScript

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