cal.pub0.org/packages/trpc/server/routers/viewer/organizations/createTeams.schema.ts

9 lines
199 B
TypeScript

import { z } from "zod";
export const ZCreateTeamsSchema = z.object({
teamNames: z.string().array(),
orgId: z.number(),
});
export type TCreateTeamsSchema = z.infer<typeof ZCreateTeamsSchema>;