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

10 lines
278 B
TypeScript

import { z } from "zod";
export const ZGetMembersInput = z.object({
teamIdToExclude: z.number().optional(),
accepted: z.boolean().optional(),
distinctUser: z.boolean().optional().default(false),
});
export type TGetMembersInputSchema = z.infer<typeof ZGetMembersInput>;