cal.pub0.org/packages/trpc/server/routers/viewer/workflows/verifyPhoneNumber.schema.ts

10 lines
258 B
TypeScript

import { z } from "zod";
export const ZVerifyPhoneNumberInputSchema = z.object({
phoneNumber: z.string(),
code: z.string(),
teamId: z.number().optional(),
});
export type TVerifyPhoneNumberInputSchema = z.infer<typeof ZVerifyPhoneNumberInputSchema>;