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

10 lines
258 B
TypeScript

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