cal.pub0.org/packages/trpc/server/routers/viewer/auth/changePassword.schema.ts

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>;