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

9 lines
209 B
TypeScript

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