mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
Specific specific type for enum value for openapi generator to work correctly
This commit is contained in:
parent
a2882a4908
commit
9bfacaa39a
2 changed files with 2 additions and 2 deletions
|
|
@ -15,5 +15,5 @@ export class GetAssetThumbnailDto {
|
|||
required: false,
|
||||
enumName: 'ThumbnailFormat',
|
||||
})
|
||||
format = GetAssetThumbnailFormatEnum.WEBP;
|
||||
format: GetAssetThumbnailFormatEnum = GetAssetThumbnailFormatEnum.WEBP;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ export class GetJobDto {
|
|||
enum: JobId,
|
||||
enumName: 'JobId',
|
||||
})
|
||||
jobId!: string;
|
||||
jobId!: JobId;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue