mirror of
https://github.com/immich-app/immich.git
synced 2025-12-29 01:11:52 +03:00
* fix: update the profile picture in the navigation-bar * chore: clean up --------- Co-authored-by: Jason Rasmussen <jason@rasm.me>
14 lines
379 B
TypeScript
14 lines
379 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { UploadFieldName } from 'src/dtos/asset-media.dto';
|
|
|
|
export class CreateProfileImageDto {
|
|
@ApiProperty({ type: 'string', format: 'binary' })
|
|
[UploadFieldName.PROFILE_DATA]!: Express.Multer.File;
|
|
}
|
|
|
|
export class CreateProfileImageResponseDto {
|
|
userId!: string;
|
|
profileChangedAt!: Date;
|
|
profileImagePath!: string;
|
|
}
|