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

9 lines
210 B
TypeScript

import { z } from "zod";
export const ZDeleteMeInputSchema = z.object({
password: z.string(),
totpCode: z.string().optional(),
});
export type TDeleteMeInputSchema = z.infer<typeof ZDeleteMeInputSchema>;