Files
calendar/packages/trpc/server/routers/viewer/teams/roundRobin/getRoundRobinHostsToReasign.schema.ts
sean-brydonandGitHub 55671db5fd fix: virtualised member list for reassign (#17386)
* wip virtual list for reassignemnt

* order in alpha and prio order

* loading state

* add flex shrink so status symbol doesnt move

* add gap to each item to make hovering not feel squished

* a11y indexing tab group

* useInViewObserver hook and move to lib

* use correct intersection target

* fix type errors

* remove type
2024-10-29 17:47:43 +00:00

13 lines
421 B
TypeScript

import { z } from "zod";
// New schema for fetching hosts
export const ZGetRoundRobinHostsInputSchema = z.object({
bookingId: z.number(),
exclude: z.literal("fixedHosts"),
cursor: z.number().optional(), // For pagination
limit: z.number().min(1).max(100).optional(),
searchTerm: z.string().optional(),
});
export type TGetRoundRobinHostsToReassignInputSchema = z.infer<typeof ZGetRoundRobinHostsInputSchema>;