mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
Added explicit type for job count
This commit is contained in:
parent
46994c3355
commit
471a60dcb0
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 New Issue
Block a user