ghostfolio/libs/common/src/lib/interfaces/admin-jobs.interface.ts
Thomas Kaul 557e3a0676
Feature/migrate historical market data gathering to queue design pattern (#991)
* Migrate historical market data gathering to queue

* Filter and delete jobs

* Detect duplicate jobs

* Update changelog
2022-06-11 13:40:15 +02:00

17 lines
262 B
TypeScript

import { Job, JobStatus } from 'bull';
export interface AdminJobs {
jobs: (Pick<
Job<any>,
| 'attemptsMade'
| 'data'
| 'finishedOn'
| 'id'
| 'name'
| 'stacktrace'
| 'timestamp'
> & {
state: JobStatus | 'stuck';
})[];
}