* feat: ability to assign people to round robin from org members * fix: include schedulingtype in filter * fix: type check * rename to EventTypesList * rename to teams, change icon to link, early return if no events or teamId * filter scheduling type array, change filter name * rename to bulkAddMembersToTeams and bulkAddMembersToEventTypes * filter refactor * remove bulk * filter remove null return * Revert "filter remove null return" This reverts commit 8ae6296dac24e5081b5896bb9dfe0c000c0f7faf. * show checked if user already host in event type * check boxes if user is part of the team * remove hosts on unchecking boxes * fix isSelected condition * remove selected members from teams --------- Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com>
10 lines
266 B
TypeScript
10 lines
266 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZRemoveMemberInputSchema = z.object({
|
|
teamIds: z.array(z.number()),
|
|
memberIds: z.array(z.number()),
|
|
isOrg: z.boolean().default(false),
|
|
});
|
|
|
|
export type TRemoveMemberInputSchema = z.infer<typeof ZRemoveMemberInputSchema>;
|