mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
Update libs/dto/src/user/user.ts
This commit is contained in:
@ -15,7 +15,7 @@ export const usernameSchema = z
|
|||||||
|
|
||||||
export const userSchema = z.object({
|
export const userSchema = z.object({
|
||||||
id: idSchema,
|
id: idSchema,
|
||||||
name: z.string().min(2).max(255),
|
name: z.string().min(1).max(255),
|
||||||
picture: z.literal("").or(z.null()).or(z.string().url()),
|
picture: z.literal("").or(z.null()).or(z.string().url()),
|
||||||
username: usernameSchema,
|
username: usernameSchema,
|
||||||
email: z.string().email(),
|
email: z.string().email(),
|
||||||
|
|||||||
Reference in New Issue
Block a user