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

9 lines
194 B
TypeScript

import { z } from "zod";
export const ZAddBulkTeams = z.object({
userIds: z.array(z.number()),
teamIds: z.array(z.number()),
});
export type TAddBulkTeams = z.infer<typeof ZAddBulkTeams>;