* migrate trpc routers in app package to trpc package * delete * delete * delete * fix * fix * fix * format * format * fix * fix * fix * fix * remove unused file * fix * fix * wip
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>;
|