base con autenticacion, registro, modulo encuestas

This commit is contained in:
2025-06-16 12:02:22 -04:00
commit 475e0754df
411 changed files with 26265 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';
export class ChangePasswordDto {
@ApiProperty()
@IsString({
message: 'Identifier must be a string',
})
username: string;
@ApiProperty()
@IsString({
message: 'Password must be a string',
})
password: string;
@ApiProperty()
@IsString({
message: 'New password must be a string',
})
newPassword: string;
}