Class: UserDto
Data Transfer Object for user information.
This DTO is based on the Zod schema defined in userSelectSchema and represents the user data that is returned from API endpoints. It contains the validated and sanitized user information that is safe to send to clients.
The schema is defined in the database schema file and this class provides the NestJS integration through nestjs-zod.
Extends
any
Constructors
new UserDto()
new UserDto():
UserDto
Returns
Inherited from
createZodDto(userSelectSchema).constructor