2
0
Files
cal/calcom/packages/trpc/server/routers/viewer/auth/changePassword.schema.ts
2024-08-09 00:39:27 +02:00

9 lines
223 B
TypeScript

import { z } from "zod";
export const ZChangePasswordInputSchema = z.object({
oldPassword: z.string(),
newPassword: z.string(),
});
export type TChangePasswordInputSchema = z.infer<typeof ZChangePasswordInputSchema>;