B2B-88: add starter kit structure and elements
This commit is contained in:
10
packages/features/auth/src/schemas/password-reset.schema.ts
Normal file
10
packages/features/auth/src/schemas/password-reset.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { RefinedPasswordSchema, refineRepeatPassword } from './password.schema';
|
||||
|
||||
export const PasswordResetSchema = z
|
||||
.object({
|
||||
password: RefinedPasswordSchema,
|
||||
repeatPassword: RefinedPasswordSchema,
|
||||
})
|
||||
.superRefine(refineRepeatPassword);
|
||||
Reference in New Issue
Block a user