cal.pub0.org/packages/app-store/routing-forms/trpc/forms.schema.ts

12 lines
301 B
TypeScript
Raw Normal View History

import { z } from "zod";
import { filterQuerySchemaStrict } from "@calcom/features/filters/lib/getTeamsFiltersFromQuery";
export const ZFormsInputSchema = z
.object({
filters: filterQuerySchemaStrict.optional(),
})
.nullish();
export type TFormSchema = z.infer<typeof ZFormsInputSchema>;