| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- import { JobProgress } from '../types/job-progress';
- import { RedisJobOptions } from '../types/job-options';
- import { ParentKeys } from './parent';
- export interface JobJson {
- id: string;
- name: string;
- data: string;
- opts: RedisJobOptions;
- progress: JobProgress;
- attemptsMade: number;
- attemptsStarted: number;
- finishedOn?: number;
- processedOn?: number;
- timestamp: number;
- failedReason: string;
- stacktrace: string;
- returnvalue: string;
- parent?: ParentKeys;
- parentKey?: string;
- repeatJobKey?: string;
- nextRepeatableJobKey?: string;
- debounceId?: string;
- deduplicationId?: string;
- processedBy?: string;
- stalledCounter: number;
- }
- export interface JobJsonRaw {
- id: string;
- name: string;
- data: string;
- delay: string;
- opts: string;
- progress: string;
- attemptsMade?: string;
- finishedOn?: string;
- processedOn?: string;
- priority: string;
- timestamp: string;
- failedReason: string;
- stacktrace?: string;
- returnvalue: string;
- parentKey?: string;
- parent?: string;
- deid?: string;
- rjk?: string;
- nrjid?: string;
- atm?: string;
- defa?: string;
- stc?: string;
- ats?: string;
- pb?: string;
- }
|