cal.pub0.org/packages/trpc/server/routers/loggedInViewer/submitFeedback.schema.ts

9 lines
214 B
TypeScript

import { z } from "zod";
export const ZSubmitFeedbackInputSchema = z.object({
rating: z.string(),
comment: z.string(),
});
export type TSubmitFeedbackInputSchema = z.infer<typeof ZSubmitFeedbackInputSchema>;