mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* 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
13 lines
421 B
TypeScript
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>;
|