Files
medreport_mrb2b/packages/features/auth/src/schemas/password-sign-up.schema.ts
Danel Kungla cdf1491e53 refactor(auth): remove personal code from sign-up flow and update related components
feat(i18n): update translations for company account creation and get started
2025-08-21 21:32:03 +03:00

12 lines
312 B
TypeScript

import { z } from 'zod';
import { RefinedPasswordSchema, refineRepeatPassword } from './password.schema';
export const PasswordSignUpSchema = z
.object({
email: z.string().email(),
password: RefinedPasswordSchema,
repeatPassword: RefinedPasswordSchema,
})
.superRefine(refineRepeatPassword);