cal.pub0.org/packages/trpc/server/routers/viewer/teams/get.schema.ts

8 lines
158 B
TypeScript

import { z } from "zod";
export const ZGetInputSchema = z.object({
teamId: z.number(),
});
export type TGetInputSchema = z.infer<typeof ZGetInputSchema>;