first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const ZResponseInputSchema = z.object({
|
||||
formId: z.string(),
|
||||
formFillerId: z.string(),
|
||||
response: z.record(
|
||||
z.object({
|
||||
label: z.string(),
|
||||
value: z.union([z.string(), z.number(), z.array(z.string())]),
|
||||
})
|
||||
),
|
||||
});
|
||||
|
||||
export type TResponseInputSchema = z.infer<typeof ZResponseInputSchema>;
|
||||
Reference in New Issue
Block a user