mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
16 lines
352 B
TypeScript
16 lines
352 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsNotEmpty, IsString, MinLength } from 'class-validator';
|
|
|
|
export class ChangePasswordDto {
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
@ApiProperty({ example: 'password' })
|
|
password!: string;
|
|
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
@MinLength(8)
|
|
@ApiProperty({ example: 'password' })
|
|
newPassword!: string;
|
|
}
|