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

10 lines
246 B
TypeScript

import { z } from "zod";
export const ZRemoveMemberInputSchema = z.object({
teamId: z.number(),
memberId: z.number(),
isOrg: z.boolean().default(false),
});
export type TRemoveMemberInputSchema = z.infer<typeof ZRemoveMemberInputSchema>;