mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* experiment: cold start perf * fix: update failing test * chore: add database indexes * chore: use json protocol and add query batching back * Update [status].tsx * Update [trpc].ts * Delete getSlimSession.ts * Update createContext.ts * remove trpc caller * correctly import Prisma * lazy ethRouter * replace crypto with md5 * import fixes * public event endpoint refactor * Update yarn.lock * Update yarn.lock * Using yarn.lock from main --------- Co-authored-by: Omar López <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Efraín Rochín <[email protected]> Co-authored-by: Keith Williams <[email protected]>
14 lines
349 B
TypeScript
14 lines
349 B
TypeScript
import { z } from "zod";
|
|
|
|
import { stringOrNumber } from "@calcom/prisma/zod-utils";
|
|
|
|
export const ZUserInputSchema = z.object({
|
|
username: z.string(),
|
|
dateFrom: z.string(),
|
|
dateTo: z.string(),
|
|
eventTypeId: stringOrNumber.optional(),
|
|
withSource: z.boolean().optional(),
|
|
});
|
|
|
|
export type TUserInputSchema = z.infer<typeof ZUserInputSchema>;
|