first commit
This commit is contained in:
13
calcom/packages/app-store/routing-forms/trpc/forms.schema.ts
Normal file
13
calcom/packages/app-store/routing-forms/trpc/forms.schema.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
"use client";
|
||||
|
||||
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>;
|
||||
Reference in New Issue
Block a user