mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 17:23:21 +03:00
* Added EXIF extracting in the backend * Added EXIF displaying on `image_viewer_page.dart` * Added Icon for backup option not enable
49 lines
669 B
TypeScript
49 lines
669 B
TypeScript
import { IsNotEmpty, IsOptional } from 'class-validator';
|
|
|
|
export class CreateExifDto {
|
|
@IsNotEmpty()
|
|
assetId: string;
|
|
|
|
@IsOptional()
|
|
make: string;
|
|
|
|
@IsOptional()
|
|
model: string;
|
|
|
|
@IsOptional()
|
|
imageName: string;
|
|
|
|
@IsOptional()
|
|
exifImageWidth: number;
|
|
|
|
@IsOptional()
|
|
exifImageHeight: number;
|
|
|
|
@IsOptional()
|
|
fileSizeInByte: number;
|
|
|
|
@IsOptional()
|
|
orientation: string;
|
|
|
|
@IsOptional()
|
|
dateTimeOriginal: Date;
|
|
|
|
@IsOptional()
|
|
modifiedDate: Date;
|
|
|
|
@IsOptional()
|
|
lensModel: string;
|
|
|
|
@IsOptional()
|
|
fNumber: number;
|
|
|
|
@IsOptional()
|
|
focalLenght: number;
|
|
|
|
@IsOptional()
|
|
iso: number;
|
|
|
|
@IsOptional()
|
|
exposureTime: number;
|
|
}
|