-export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
+export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed'
export type JobType = 'activitypub-http-unicast' |
'activitypub-http-broadcast' |
'activitypub-http-fetcher' |
'activitypub-follow' |
'video-file-import' |
- 'video-file' |
- 'email'
+ 'video-transcoding' |
+ 'email' |
+ 'video-import' |
+ 'videos-views' |
+ 'activitypub-refresher'
export interface Job {
id: number
data: any,
error: any,
createdAt: Date
- updatedAt: Date
+ finishedOn: Date
+ processedOn: Date
}