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

9 lines
230 B
TypeScript

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