mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
45 lines
645 B
TypeScript
45 lines
645 B
TypeScript
import { IsNotEmpty, IsOptional } from 'class-validator';
|
|
|
|
export class CreateExifDto {
|
|
@IsNotEmpty()
|
|
assetId!: string;
|
|
|
|
@IsOptional()
|
|
make?: string;
|
|
|
|
@IsOptional()
|
|
model?: 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;
|
|
}
|