mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
Added explicit type for job count
This commit is contained in:
parent
46994c3355
commit
471a60dcb0
4 changed files with 6 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -1,10 +1,15 @@
|
|||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class JobCounts {
|
||||
@ApiProperty({ type: 'integer' })
|
||||
active!: number;
|
||||
@ApiProperty({ type: 'integer' })
|
||||
completed!: number;
|
||||
@ApiProperty({ type: 'integer' })
|
||||
failed!: number;
|
||||
@ApiProperty({ type: 'integer' })
|
||||
delayed!: number;
|
||||
@ApiProperty({ type: 'integer' })
|
||||
waiting!: number;
|
||||
}
|
||||
export class AllJobStatusResponseDto {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue