mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
feat(i18n): implement localization using LinguiJS
This commit is contained in:
@@ -4,7 +4,7 @@ import { z } from "nestjs-zod/z";
|
||||
import { userSchema } from "../user";
|
||||
|
||||
export const registerSchema = userSchema
|
||||
.pick({ name: true, email: true, username: true, language: true })
|
||||
.pick({ name: true, email: true, username: true, locale: true })
|
||||
.extend({ password: z.password().min(6) });
|
||||
|
||||
export class RegisterDto extends createZodDto(registerSchema) {}
|
||||
|
||||
Reference in New Issue
Block a user