12 lines
301 B
TypeScript
12 lines
301 B
TypeScript
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>;
|