mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01: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';
|
import { ApiProperty } from '@nestjs/swagger';
|
||||||
|
|
||||||
export class JobCounts {
|
export class JobCounts {
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
active!: number;
|
active!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
completed!: number;
|
completed!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
failed!: number;
|
failed!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
delayed!: number;
|
delayed!: number;
|
||||||
|
@ApiProperty({ type: 'integer' })
|
||||||
waiting!: number;
|
waiting!: number;
|
||||||
}
|
}
|
||||||
export class AllJobStatusResponseDto {
|
export class AllJobStatusResponseDto {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue