1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-06 11:56:46 +01:00

Specific specific type for enum value for openapi generator to work correctly

This commit is contained in:
Alex Tran 2022-10-07 14:30:15 -05:00
parent a2882a4908
commit 9bfacaa39a
No known key found for this signature in database
GPG key ID: E4954BC787B85C8A
2 changed files with 2 additions and 2 deletions

View file

@ -15,5 +15,5 @@ export class GetAssetThumbnailDto {
required: false, required: false,
enumName: 'ThumbnailFormat', enumName: 'ThumbnailFormat',
}) })
format = GetAssetThumbnailFormatEnum.WEBP; format: GetAssetThumbnailFormatEnum = GetAssetThumbnailFormatEnum.WEBP;
} }

View file

@ -18,5 +18,5 @@ export class GetJobDto {
enum: JobId, enum: JobId,
enumName: 'JobId', enumName: 'JobId',
}) })
jobId!: string; jobId!: JobId;
} }